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

Disassembly:
sub esp, 0x1b4
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c4]
push edi
cmp dword [esi + 0x58], 2
jl 0x464759
cmp dword [esi + 4], 0
jne 0x46441e
mov eax, 0xffffff76
jmp 0x46475e
mov ebx, dword [esp + 0x1d0]
test ebx, ebx
jl 0x464759
mov edi, dword [esp + 0x1cc]
jg 0x46443e
test edi, edi
jb 0x464759
cmp ebx, dword [esi + 0x14]
jg 0x464759
jl 0x464452
cmp edi, dword [esi + 0x10]
ja 0x464759
cmp dword [esi + 0x58], 3
jl 0x464480
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x38]
cmp ebx, dword [ecx + eax*8 + 4]
jl 0x464479
jg 0x46446b
cmp edi, dword [ecx + eax*8]
jb 0x464479
cmp ebx, dword [ecx + eax*8 + 0xc]
jl 0x464480
jg 0x464479
cmp edi, dword [ecx + eax*8 + 8]
jb 0x464480
push esi
call fcn.00462258
pop ecx
push dword [esi + 0x5c]
or dword [esi + 0x50], 0xffffffff
lea ebp, [esi + 0x78]
or dword [esi + 0x54], 0xffffffff
push ebp
call fcn.004759c0
lea eax, [esi + 0x1e0]
push eax
call fcn.00465f98
push ebx
push edi
push esi
call fcn.0046362c
add esp, 0x18
test eax, eax
lea eax, [esp + 0x5c]
je 0x4644d3
or dword [esi + 0x50], 0xffffffff
or dword [esi + 0x54], 0xffffffff
push eax
call fcn.00474f30
push esi
call fcn.00462258
pop ecx
pop ecx
mov eax, 0xffffff77
jmp 0x46475e
push dword [esi + 0x5c]
xor edi, edi
and dword [esp + 0x1c], edi
and dword [esp + 0x20], edi
and dword [esp + 0x18], edi
push eax
mov dword [esp + 0x18], edi
call fcn.00475290
lea eax, [esp + 0x64]
push eax
call fcn.00475930
add esp, 0xc
jmp 0x464501
mov edi, dword [esp + 0x10]
cmp dword [esi + 0x58], 3
jl 0x4645a8
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00475520
pop ecx
pop ecx
test eax, eax
jle 0x4645a8
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x48]
shl ecx, 5
add eax, ecx
cmp dword [eax + 0x1c], 0
je 0x46459e
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.00466026
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jns 0x464556
push 0
push ebp
call fcn.00475520
pop ecx
pop ecx
xor ebx, ebx
jmp 0x46457e
cmp dword [esp + 0x1c], 0
je 0x464570
cmp dword [esp + 0x14], 0
jne 0x464570
push 0
push ebp
call fcn.00475520
pop ecx
pop ecx
jmp 0x46457e
test edi, edi
je 0x46457e
lea eax, [ebx + edi]
sar eax, 2
add dword [esp + 0x18], eax
mov ecx, dword [esp + 0x4c]
mov eax, ecx
mov edi, dword [esp + 0x50]
and eax, edi
cmp eax, 0xffffffff
jne 0x4646c5
mov edi, ebx
mov dword [esp + 0x10], edi
jmp 0x464501
push 0
push ebp
call fcn.00475520
pop ecx
pop ecx
test edi, edi
jne 0x46473b
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push eax
push esi
call fcn.0046286d
mov ecx, edx
mov dword [esp + 0x30], eax
add esp, 0x10
mov dword [esp + 0x28], ecx
test ecx, ecx
jl 0x464729
jg 0x4645de
test eax, eax
jb 0x464729
cmp dword [esi + 0x58], 3
jl 0x46461b
lea eax, [esp + 0x2c]
push eax
call fcn.00474f00
pop ecx
cmp dword [esi + 0x5c], eax
je 0x464615
lea eax, [esp + 0x2c]
push eax
call fcn.00474dd0
pop ecx
test eax, eax
je 0x464615
push esi
call fcn.00462258
lea eax, [esp + 0x60]
push eax
call fcn.00474f30
pop ecx
pop ecx
cmp dword [esi + 0x58], 3
jge 0x464695
lea eax, [esp + 0x2c]
push eax
call fcn.00474f00
pop ecx
mov ecx, dword [esi + 0x34]
xor edi, edi
mov ebx, eax
test ecx, ecx
jle 0x464640
mov eax, dword [esi + 0x40]
cmp dword [eax], ebx
je 0x464640
inc edi
add eax, 4
cmp edi, ecx
jl 0x464634
cmp edi, ecx
je 0x4644fd
push ebx
push ebp
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], ebx
call fcn.004759c0
lea eax, [esp + 0x64]
push ebx
push eax
call fcn.004759c0
mov eax, dword [esi + 0x3c]
add esp, 0x10
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x58], 3
cmp ecx, dword [eax + edi*8 + 4]
jg 0x46468c
jl 0x464682
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + edi*8]
ja 0x46468c
mov dword [esp + 0x14], 1
jmp 0x464691
and dword [esp + 0x14], 0
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.00475560
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00475560
lea eax, [esp + 0x3c]
push eax
call fcn.00474e60
add esp, 0x14
mov dword [esp + 0x1c], eax
jmp 0x464501
mov ebx, dword [esi + 0x60]
mov eax, ebx
mov edx, dword [esi + 0x44]
shl eax, 4
sub ecx, dword [eax + edx]
sbb edi, dword [eax + edx + 4]
test edi, edi
jg 0x4646f2
jl 0x4646e1
test ecx, ecx
jae 0x4646f2
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
test ebx, ebx
jle 0x464706
add edx, 8
add ecx, dword [edx]
adc edi, dword [edx + 4]
lea edx, [edx + 0x10]
sub ebx, 1
jne 0x4646f9
mov eax, dword [esp + 0x18]
cdq
sub ecx, eax
mov dword [esi + 0x50], ecx
sbb edi, edx
mov dword [esi + 0x54], edi
test edi, edi
jg 0x464743
jl 0x46471f
test ecx, ecx
jae 0x464743
and dword [esi + 0x50], 0
and dword [esi + 0x54], 0
jmp 0x464743
push 0xffffffffffffffff
push esi
call fcn.00464382
pop ecx
pop ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
jmp 0x464743
or dword [esi + 0x50], 0xffffffff
or dword [esi + 0x54], 0xffffffff
lea eax, [esp + 0x5c]
push eax
call fcn.00474f30
xorps xmm0, xmm0
xor eax, eax
pop ecx
movups xmmword [esi + 0x68], xmm0
jmp 0x46475e
mov eax, 0xffffff7d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1b4
ret