Function at 0x422b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x522f10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea eax, [esp + 0x40]
lea ecx, [esp + 0x2c]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], 1
call fcn.00501956
mov ecx, eax
call fcn.00501969
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
inc edx
add ecx, 0x76c
mov dword [esp + 0x50], edx
mov edx, dword [ebp + 0x3c]
mov dword [esp + 0x54], ecx
mov ecx, dword [edx - 8]
cmp ecx, edi
mov dword [esp + 0x18], ecx
jle 0x422ebb
jmp 0x422b79
mov ecx, dword [esp + 0x18]
mov eax, dword [0x565124]
mov dword [esp + 0x14], eax
mov edx, dword [ebp + 0x3c]
mov byte [esp + 0x6c], 1
mov bl, byte [edi + edx]
movsx eax, bl
mov byte [esp + 0x28], bl
lea esi, [eax - 0x44]
cmp esi, 0x2f
ja case.0x422ba4.69
xor eax, eax
mov al, byte [esi + 0x422f74]
jmp dword [eax*4 + 0x422f6c]
cmp edi, ecx
jge 0x422c57
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
mov ecx, dword [edx - 8]
mov eax, dword [eax - 8]
cmp ecx, eax
jle 0x422c57
mov ecx, dword [ebp + 0x3c]
cmp byte [edi + ecx], bl
jne 0x422bf1
mov dl, byte [eax + edx]
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], dl
mov eax, dword [esp + 0x20]
push eax
call fcn.00509bee
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x422bb3
jmp 0x422c57
dec edi
jmp 0x422c57
mov eax, dword [esp + 0x78]
mov ecx, dword [eax - 8]
test ecx, ecx
jl 0x422f49
mov cl, byte [eax]
push 1
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x20]
mov edx, dword [esp + 0x28]
push edx
call fcn.0050238f
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x70], 2
call fcn.005023f5
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.004f0fee
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne bl
mov byte [esp + 0x6c], 1
call fcn.005097eb
test bl, bl
jne 0x422f49
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx - 8]
mov edx, dword [ecx - 8]
sub eax, edx
lea edx, [esp + 0x2c]
push eax
push edx
lea ecx, [esp + 0x80]
call fcn.005028a7
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x70], 3
call fcn.00509924
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 1
call fcn.005097eb
cmp esi, 0x2f
ja case.0x422ca7.6
xor eax, eax
mov al, byte [esi + 0x422fc0]
jmp dword [eax*4 + 0x422fa4]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00509560
call fcn.004220f0
add esp, 8
test al, al
je 0x422f49
mov eax, dword [esp + 0x10]
cmp eax, 1
jge 0x422cef
mov eax, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x4c], eax
jmp case.0x422ca7.6
cmp eax, 0x1f
jle 0x422cfd
mov eax, 0x1f
mov dword [esp + 0x10], eax
mov dword [esp + 0x4c], eax
jmp case.0x422ca7.6
lea eax, [esp + 0x10]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00509560
call fcn.004220f0
add esp, 8
test al, al
je 0x422f23
mov eax, dword [esp + 0x10]
cmp eax, 1
jge 0x422d47
mov eax, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x50], eax
jmp case.0x422ca7.6
cmp eax, 0xc
jle 0x422d55
mov eax, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x50], eax
jmp case.0x422ca7.6
lea eax, [esp + 0x10]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00509560
call fcn.004220f0
add esp, 8
test al, al
je 0x422f36
mov eax, dword [esp + 0x10]
cmp eax, 0x76c
jge 0x422da1
mov eax, 0x76c
mov dword [esp + 0x10], eax
mov dword [esp + 0x54], eax
jmp case.0x422ca7.6
cmp eax, 0x2706
jle 0x422db1
mov eax, 0x2706
mov dword [esp + 0x10], eax
mov dword [esp + 0x54], eax
jmp case.0x422ca7.6
lea eax, [esp + 0x10]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00509560
call fcn.004220f0
add esp, 8
test al, al
je 0x422f49
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x422df7
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], eax
jmp case.0x422ca7.6
cmp eax, 0x17
jle 0x422e05
mov eax, 0x17
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], eax
jmp case.0x422ca7.6
lea eax, [esp + 0x10]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00509560
call fcn.004220f0
add esp, 8
test al, al
je 0x422f23
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x422e48
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], eax
jmp case.0x422ca7.6
cmp eax, 0x3b
jle 0x422e56
mov eax, 0x3b
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], eax
jmp case.0x422ca7.6
lea eax, [esp + 0x10]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00509560
call fcn.004220f0
add esp, 8
test al, al
je 0x422f36
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x422e8e
xor eax, eax
jmp 0x422e98
cmp eax, 0x3b
jle 0x422e9c
mov eax, 0x3b
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0
call fcn.005097eb
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x422b75
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x60]
push ecx
push edx
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x54], 0
call fcn.004e980f
fld qword [esp + 0x34]
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x3c]
fstp qword [esi]
mov dword [esi + 8], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x6c], 0xffffffff
call fcn.005097eb
mov ecx, dword [esp + 0x64]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 8
fld qword [esp + 0x34]
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x3c]
fstp qword [esi]
mov dword [esi + 8], ecx
jmp 0x422f5a
fld qword [esp + 0x34]
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x3c]
fstp qword [esi]
mov dword [esi + 8], edx
jmp 0x422f5a
fld qword [esp + 0x34]
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x3c]
fstp qword [esi]
mov dword [esi + 8], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0
call fcn.005097eb
jmp 0x422efb