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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4defd8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x504f68]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, edx
mov ecx, dword [ebp + 8]
movsx eax, byte [ecx + 1]
mov esi, dword [ebp + 0xc]
movsx edx, byte [esi + 1]
cmp eax, 1
je 0x4620f4
cmp edx, 1
je 0x4623a7
push ebx
push edi
mov ecx, esi
call fcn.0045be00
fstp qword [esp + 0x24]
mov ecx, dword [ebp + 8]
push ebx
push edi
call fcn.0045be00
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jp 0x4620dc
mov eax, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 1
jne 0x4624ea
mov esi, dword [ebx]
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
push ebx
push edi
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x9c], 0
call fcn.0045d2a0
push ebx
push edi
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0045d2a0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x7c]
je 0x4622ba
lea esp, [esp]
mov esi, dword [ebx]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x2c]
push esi
push ecx
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x98], 1
call fcn.00459ce0
mov edi, dword [eax]
add esp, 8
mov eax, edi
call fcn.0045a670
test al, al
jne 0x46219c
mov dword [esp + 0x10], 0x7fc00000
fld dword [esp + 0x10]
jmp 0x4621a7
push 0
push edi
call fcn.004bad52
add esp, 8
mov eax, dword [esp + 0x68]
fstp qword [esp + 0x24]
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x6c]
je 0x46226d
mov esi, dword [ebx]
mov edi, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x34]
push esi
push eax
mov byte [esp + 0x98], 2
call fcn.00459ce0
mov eax, dword [eax]
add esp, 8
mov dword [esp + 0x20], eax
call fcn.0045a670
test al, al
jne 0x462207
mov dword [esp + 0x20], 0x7fc00000
fld dword [esp + 0x20]
jmp 0x462216
mov ecx, dword [esp + 0x20]
push 0
push ecx
call fcn.004bad52
add esp, 8
fcomp qword [esp + 0x24]
mov byte [esp + 0x90], 1
fnstsw ax
test ah, 1
mov eax, dword [esi]
je 0x462303
cmp eax, edi
je 0x46224b
mov edx, dword [eax]
push eax
mov dword [esp + 0x24], edx
call dword [fcn.0050d140]
mov eax, dword [esp + 0x24]
add esp, 4
cmp eax, edi
jne 0x462233
mov eax, dword [esp + 0x60]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
add eax, 8
mov dword [esi], edi
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x6c]
jne 0x4621bd
mov esi, dword [esp + 0x18]
mov byte [esp + 0x90], 0
mov eax, dword [esi]
cmp eax, dword [esp + 0x40]
je 0x462294
lea ecx, [ecx]
mov edi, dword [eax]
push eax
call dword [fcn.0050d140]
add esp, 4
mov eax, edi
cmp edi, dword [esp + 0x40]
jne 0x462280
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
add eax, 8
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x7c]
jne 0x462150
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [esi]
mov ebx, dword [esp + 0x50]
cmp eax, ebx
je 0x4622e2
nop
mov edi, dword [eax]
push eax
call dword [fcn.0050d140]
add esp, 4
mov eax, edi
cmp edi, ebx
jne 0x4622d0
mov eax, dword [esp + 0x54]
mov dword [esi + 4], eax
mov dword [esi], ebx
xor al, al
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, edi
je 0x462319
mov ebx, dword [eax]
push eax
call dword [fcn.0050d140]
add esp, 4
mov eax, ebx
cmp ebx, edi
jne 0x462307
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x18]
mov dword [esi], edi
mov byte [esp + 0x90], 0
mov edi, dword [esp + 0x40]
mov dword [esi + 4], eax
mov eax, dword [ebx]
cmp eax, edi
je 0x462352
jmp 0x462340
mov esi, dword [eax]
push eax
call dword [fcn.0050d140]
add esp, 4
mov eax, esi
cmp esi, edi
jne 0x462340
mov ecx, dword [esp + 0x44]
mov dword [ebx], edi
mov dword [ebx + 4], ecx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [ebx]
mov edi, dword [esp + 0x50]
cmp eax, edi
je 0x462386
mov esi, dword [eax]
push eax
call dword [fcn.0050d140]
add esp, 4
mov eax, esi
cmp esi, edi
jne 0x462374
mov edx, dword [esp + 0x54]
mov dword [ebx], edi
mov dword [ebx + 4], edx
mov al, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
push ebx
push edi
mov dword [esp + 0x98], 3
call fcn.0045be00
fstp qword [esp + 0x24]
push ebx
push edi
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0045d2a0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x7c]
je 0x462471
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x98], 4
call fcn.00459ce0
mov edi, dword [eax]
add esp, 8
mov eax, edi
call fcn.0045a670
test al, al
jne 0x462439
mov dword [esp + 0x20], 0x7fc00000
fld dword [esp + 0x20]
jmp 0x462444
push 0
push edi
call fcn.004bad52
add esp, 8
fcomp qword [esp + 0x24]
mov byte [esp + 0x90], 3
lea edi, [esp + 0x58]
fnstsw ax
test ah, 1
je 0x4624b9
call fcn.004599c0
mov eax, dword [esp + 0x14]
add eax, 8
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x7c]
jne 0x4623f1
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [esi]
mov ebx, dword [esp + 0x50]
cmp eax, ebx
je 0x462498
mov edi, dword [eax]
push eax
call dword [fcn.0050d140]
add esp, 4
mov eax, edi
cmp edi, ebx
jne 0x462486
mov eax, dword [esp + 0x54]
mov dword [esi + 4], eax
mov dword [esi], ebx
xor al, al
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004599c0
lea edi, [esp + 0x4c]
mov dword [esp + 0x90], 0xffffffff
call fcn.004599c0
mov al, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
mov edx, dword [eax]
mov dword [esp + 0x4c], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
push ebx
push edi
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x9c], 5
call fcn.0045d2a0
push ebx
push edi
mov ecx, esi
call fcn.0045be00
fstp qword [esp + 0x24]
mov esi, dword [esp + 0x40]
cmp esi, dword [esp + 0x44]
je 0x4625aa
nop
mov eax, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
push eax
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x98], 6
call fcn.00459ce0
mov edi, dword [eax]
add esp, 8
mov eax, edi
call fcn.0045a670
test al, al
jne 0x462576
mov dword [esp + 0x20], 0x7fc00000
fld dword [esp + 0x20]
jmp 0x462581
push 0
push edi
call fcn.004bad52
add esp, 8
fcomp qword [esp + 0x24]
mov byte [esp + 0x90], 5
lea edi, [esp + 0x58]
fnstsw ax
test ah, 0x41
jnp 0x4624b9
call fcn.004599c0
add esi, 8
cmp esi, dword [esp + 0x44]
jne 0x462530
lea edi, [esp + 0x4c]
mov dword [esp + 0x90], 0xffffffff
call fcn.004599c0
xor al, al
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret