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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
xor eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
xorps xmm0, xmm0
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0x30]
mov eax, dword [eax + 8]
push esi
push edi
mov dword [esp + 0x20], ebx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
cdq
mov esi, edx
mov dword [esp + 0x2c], ecx
mov edi, eax
movaps xmmword [esp + 0x50], xmm0
push esi
push edi
movaps xmmword [esp + 0x68], xmm0
movq qword [esp + 0x78], xmm0
call fcn.0045f9d0
add esp, 8
mov dword [esp + 0x54], eax
test eax, eax
jne 0x49672e
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x50], 7
jmp 0x496766
push esi
mov esi, dword [esp + 0x28]
push edi
push esi
push ebx
call fcn.0055d300
mov edi, dword [esp + 0x20]
mov ebx, eax
cdq
sub edi, eax
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x30]
sbb esi, edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], esi
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + 0xc]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x30], eax
mov eax, ebx
cdq
add eax, edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], eax
adc edx, esi
cmp dword [ecx + 0x18], 0
mov dword [esp + 0x44], edx
je 0x49686e
mov eax, dword [esp + 0x30]
mov edi, 1
cdq
mov ecx, eax
mov eax, edx
mov dword [esp + 0x2c], ecx
mov esi, ecx
mov ecx, eax
mov dword [esp + 0x28], eax
shrd esi, ecx, 7
shr ecx, 7
mov eax, esi
or eax, ecx
je 0x4967e0
shrd esi, ecx, 7
inc edi
shr ecx, 7
mov edx, esi
or edx, ecx
jne 0x4967d2
mov eax, edi
mov edi, dword [esp + 0x34]
cdq
mov esi, eax
mov ecx, edx
add esi, dword [esp + 0x2c]
mov eax, dword [edi + 0x10]
adc ecx, dword [esp + 0x28]
add esi, dword [esp + 0x40]
cdq
adc ecx, dword [esp + 0x44]
add eax, dword [esp + 0x20]
adc edx, dword [esp + 0x24]
cmp ecx, edx
jg 0x49686e
jl 0x496811
cmp esi, eax
ja 0x49686e
push dword [esp + 0x28]
lea ecx, [esp + 0x54]
push dword [esp + 0x30]
call fcn.00495ee0
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x58]
push dword [esp + 0x38]
mov edx, dword [edx + 0x20]
call fcn.00495d50
mov ecx, dword [edi + 4]
lea edx, [esp + 0x58]
add esp, 0xc
call fcn.004961b0
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x38], eax
test eax, eax
jne 0x49685e
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
jmp 0x496766
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x50]
test esi, esi
jne 0x4968ae
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4968ae
mov eax, dword [esp + 0x5c]
cmp ebx, eax
jle 0x4968ae
mov esi, dword [esp + 0x70]
cdq
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x1c]
mov edi, dword [esi]
add ecx, dword [esp + 0x5c]
push edx
push eax
mov eax, ebx
sub eax, dword [esp + 0x64]
push eax
push ecx
mov ecx, dword [edi + 0xc]
push esi
call ecx
add esp, 0x14
mov esi, eax
mov ecx, dword [esp + 0x34]
mov eax, ebx
mov ebx, dword [esp + 0x54]
cdq
add eax, dword [esp + 0x10]
mov dword [ecx + 0x38], eax
adc edx, dword [esp + 0x1c]
mov dword [ecx + 0x3c], edx
test ebx, ebx
je 0x496934
cmp dword [0x59ebc0], 0
je 0x49692a
mov eax, dword [0x5abfe0]
test eax, eax
je 0x4968e7
push eax
call dword [0x59ec10]
add esp, 4
push ebx
call dword [0x59ebec]
sub dword [0x5abdf8], eax
add esp, 4
dec dword [0x5abe1c]
push ebx
call dword [0x59ebe4]
mov eax, dword [0x5abfe0]
add esp, 4
test eax, eax
je 0x496934
push eax
call dword [0x59ec18]
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
cmove eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [0x59ebe4]
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
pop edi
cmove eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret