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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x28], edi
mov ebx, dword [edi + 0xc]
mov esi, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x38], ecx
movzx eax, byte [ebx + 0x10]
mov ebp, dword [esi]
imul edx, eax, 0x48
mov eax, dword [esi + 4]
add eax, 8
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x5c], ebx
add eax, edx
lea edx, [esp + 0x1c]
push edx
push dword [edi + 8]
mov edx, ecx
mov ecx, ebp
push eax
push dword [esp + 0x90]
push dword [esp + 0x90]
call fcn.0045e63c
mov esi, eax
add esp, 0x14
mov dword [esp + 0x60], esi
test esi, esi
jne 0x4602ab
push 7
pop eax
jmp 0x460589
xor eax, eax
mov dword [ebx + 0x24], 0x400
mov word [ebx + 0x12], ax
mov edx, ebx
mov word [ebx + 0x28], ax
mov byte [ebx + 0x1c], al
mov eax, dword [esi]
mov ecx, dword [ebp]
push eax
mov dword [esp + 0x34], eax
call fcn.0045e9f6
pop ecx
test eax, eax
je 0x4602dd
push 7
pop edi
jmp 0x46057d
mov ebp, dword [esp + 0x7c]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x80]
xor edx, edx
push esi
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
push eax
mov ecx, edi
call fcn.0045fde5
mov edi, eax
add esp, 0x1c
mov dword [esp + 0x2c], edi
test edi, edi
jne 0x46056a
mov edx, dword [esp + 0x78]
mov ecx, ebp
mov eax, edx
not ecx
not eax
mov dword [esp + 0x3c], ecx
and ecx, dword [ebx + 4]
mov dword [esp + 0x34], eax
and eax, dword [ebx]
mov dword [esp + 0x64], eax
or eax, ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], ecx
jne 0x460343
test eax, eax
je 0x46056a
xor ecx, ecx
xorps xmm0, xmm0
mov dword [esp + 0x24], ecx
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x50], xmm0
test eax, eax
je 0x4603b1
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x20]
push esi
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
push edx
xor edx, edx
inc edx
call fcn.0045fde5
mov ecx, dword [esp + 0x58]
mov edi, eax
mov eax, dword [esp + 0x50]
add esp, 0x1c
and eax, dword [ebx]
and ecx, dword [ebx + 4]
mov dword [esp + 0x50], eax
or eax, ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x58], ecx
jne 0x4603a3
xor ecx, ecx
inc ecx
mov dword [esp + 0x24], ecx
jmp 0x4603a7
mov ecx, dword [esp + 0x24]
test edi, edi
jne 0x46056a
jmp 0x4603c1
mov eax, dword [esp + 0x54]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x40], eax
or dword [esp + 0x10], 0xffffffff
or eax, 0xffffffff
cmp dword [esp + 0x30], 0
mov dword [esp + 0x20], eax
jle 0x460463
mov ebx, dword [esi + 4]
mov ecx, dword [esp + 0x30]
add ebx, 8
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x38]
mov ebp, edi
imul eax, dword [ebx], 0x30
mov esi, dword [edi + 0x14]
mov edi, dword [ebp + 0x14]
mov ebp, dword [esp + 0x20]
mov esi, dword [eax + esi + 0x20]
and esi, dword [esp + 0x34]
mov dword [esp + 0x10], esi
mov esi, dword [eax + edi + 0x24]
and esi, dword [esp + 0x3c]
cmp esi, dword [esp + 0x4c]
jb 0x46043f
mov eax, dword [esp + 0x10]
ja 0x46042f
cmp eax, dword [esp + 0x40]
jbe 0x46043f
cmp esi, edx
ja 0x46043f
jb 0x460439
cmp eax, ebp
jae 0x46043f
mov dword [esp + 0x20], eax
mov edx, esi
add ebx, 0xc
sub ecx, 1
jne 0x4603f6
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x7c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x40], eax
and eax, edx
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x78]
cmp eax, 0xffffffff
je 0x460503
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x64]
jne 0x460496
mov ebp, dword [esp + 0x68]
cmp dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x7c]
je 0x4604fb
cmp eax, dword [esp + 0x50]
jne 0x4604aa
mov ebx, dword [esp + 0x58]
cmp dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x5c]
je 0x4604fb
lea ecx, [esp + 0x14]
or eax, edx
push ecx
push dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push esi
or ecx, ebp
push ecx
mov ecx, dword [esp + 0x38]
push eax
push ebp
push edx
xor edx, edx
call fcn.0045fde5
mov edx, dword [esp + 0x94]
add esp, 0x1c
mov edi, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], edi
cmp dword [ebx], edx
jne 0x4604fb
cmp dword [ebx + 4], ebp
jne 0x4604fb
xor eax, eax
inc eax
cmp dword [esp + 0x14], 0
mov dword [esp + 0x24], eax
cmove ecx, eax
mov dword [esp + 0x18], ecx
test edi, edi
je 0x4603d5
test edi, edi
jne 0x46056a
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x24], edi
jne 0x460542
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
push dword [esp + 0x20]
push esi
push ebp
push edx
push ebp
push edx
xor edx, edx
call fcn.0045fde5
mov ecx, dword [esp + 0x34]
add esp, 0x1c
cmp dword [esp + 0x14], 0
mov edi, eax
push 1
pop edx
cmove ecx, edx
test edi, edi
jne 0x46056a
jmp 0x460545
xor edx, edx
inc edx
test ecx, ecx
jne 0x46056a
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x80]
push esi
push ebp
push eax
push ebp
push eax
call fcn.0045fde5
add esp, 0x1c
mov edi, eax
cmp dword [esi + 0x1c], 0
je 0x460579
push dword [esi + 0x18]
call fcn.00412a08
pop ecx
mov ebp, dword [esp + 0x6c]
mov ecx, dword [ebp]
mov edx, esi
call fcn.00412a50
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret