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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa4
xor eax, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x60], eax
xorps xmm0, xmm0
mov eax, dword [ecx + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x64], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 0x30]
push esi
mov eax, dword [eax + 8]
push edi
mov dword [esp + 0x30], ebx
movaps xmmword [esp + 0x80], xmm0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x68], eax
cdq
mov esi, edx
movaps xmmword [esp + 0x90], xmm0
mov edi, eax
movq qword [esp + 0xa0], xmm0
push esi
push edi
call fcn.0046b6b0
add esp, 8
mov dword [esp + 0x84], eax
test eax, eax
jne 0x4a2409
mov eax, dword [esp + 0xa0]
mov ebx, 7
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0x90]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x10], eax
jmp 0x4a245f
push esi
mov esi, dword [esp + 0x5c]
push edi
push dword [esp + 0x58]
push esi
call fcn.00570b80
mov edi, eax
mov dword [esp + 0x8c], eax
cdq
mov ecx, esi
mov esi, dword [esp + 0x50]
sub ecx, eax
mov eax, dword [esp + 0x68]
sbb esi, edx
mov dword [esp + 0xa0], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x90], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], esi
nop word [eax + eax]
mov edx, dword [esp + 0x70]
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, edi
cdq
add eax, dword [esp + 0x10]
mov dword [esp + 0x64], ecx
adc edx, esi
mov dword [esp + 0x74], eax
cmp dword [ecx + 0x18], 0
mov dword [esp + 0x78], edx
je 0x4a2692
mov eax, dword [esp + 0x64]
mov ecx, 1
mov eax, dword [eax + 0x14]
mov dword [esp + 0x68], eax
cdq
mov esi, eax
mov eax, edx
mov dword [esp + 0x60], esi
mov edx, esi
mov esi, eax
mov dword [esp + 0x5c], eax
shrd edx, esi, 7
shr esi, 7
mov eax, edx
or eax, esi
je 0x4a24f2
mov ebx, ecx
shrd edx, esi, 7
inc ebx
shr esi, 7
mov ecx, edx
or ecx, esi
jne 0x4a24d8
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
mov eax, ecx
cdq
mov esi, eax
mov ecx, edx
add esi, dword [esp + 0x60]
mov eax, dword [esp + 0x54]
adc ecx, dword [esp + 0x5c]
add esi, dword [esp + 0x74]
mov eax, dword [eax + 0x10]
adc ecx, dword [esp + 0x78]
cdq
add eax, dword [esp + 0x58]
adc edx, dword [esp + 0x50]
cmp ecx, edx
jg 0x4a2692
jl 0x4a252b
cmp esi, eax
ja 0x4a2692
push dword [esp + 0x5c]
lea ecx, [esp + 0x84]
push dword [esp + 0x64]
call fcn.004a1a10
mov eax, dword [esp + 0x6c]
add esp, 8
mov edi, dword [esp + 0x90]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x68]
mov ebx, eax
test eax, eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x30], eax
jle 0x4a2758
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x4a266e
mov eax, dword [esp + 0x78]
mov esi, edx
sub esi, edi
cmp ebx, esi
cmovle esi, ebx
sub eax, ebx
add eax, dword [esp + 0x68]
push esi
push eax
mov eax, dword [esp + 0x8c]
add eax, edi
push eax
call fcn.00548c50
mov edx, dword [esp + 0x94]
add edi, esi
add esp, 0xc
mov dword [esp + 0x90], edi
cmp edi, edx
jne 0x4a2660
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x30]
cdq
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x1c]
mov ecx, dword [ecx]
push edx
push eax
mov eax, dword [esp + 0x94]
sub edi, eax
add eax, dword [esp + 0x8c]
push edi
push eax
push dword [esp + 0x40]
mov eax, dword [ecx + 0xc]
call eax
mov ecx, eax
xor edi, edi
mov eax, dword [esp + 0x9c]
add esp, 0x14
cdq
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x1c]
adc eax, edx
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x9c], eax
jmp 0x4a2664
mov ecx, dword [esp + 0x20]
sub ebx, esi
test ebx, ebx
jg 0x4a2595
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x7c]
mov ecx, dword [eax + 4]
call fcn.004a1e60
mov dword [esp + 0x6c], eax
test eax, eax
je 0x4a2470
test ebx, ebx
jne 0x4a26d5
cmp dword [esp + 0x84], ebx
je 0x4a26d5
mov ecx, dword [esp + 0x8c]
cmp edi, ecx
jle 0x4a26d5
mov ebx, dword [esp + 0x30]
mov eax, ecx
cdq
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x1c]
mov esi, dword [ebx]
push edx
push eax
mov eax, edi
sub eax, ecx
add ecx, dword [esp + 0x8c]
push eax
push ecx
mov ecx, dword [esi + 0xc]
push ebx
call ecx
add esp, 0x14
mov ebx, eax
mov ecx, dword [esp + 0x54]
mov eax, edi
mov edi, dword [esp + 0x84]
cdq
add eax, dword [esp + 0x10]
mov dword [ecx + 0x38], eax
adc edx, dword [esp + 0x1c]
mov dword [ecx + 0x3c], edx
test edi, edi
je 0x4a2788
cmp dword [0x5b6c20], 0
je 0x4a277e
mov eax, dword [0x5c5aa8]
test eax, eax
je 0x4a2715
push eax
call dword [0x5b6c70]
add esp, 4
push edi
call dword [0x5b6c4c]
sub dword [0x5c58b0], eax
add esp, 4
dec dword [0x5c58d4]
push edi
call dword [0x5b6c44]
mov eax, dword [0x5c5aa8]
add esp, 4
test eax, eax
je 0x4a2788
push eax
call dword [0x5b6c78]
mov eax, dword [esp + 0x70]
add esp, 4
test eax, eax
cmove eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ebx
jmp 0x4a2676
push edi
call dword [0x5b6c44]
add esp, 4
mov eax, dword [esp + 0x6c]
test eax, eax
pop edi
pop esi
cmove eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret