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

Disassembly:
sub esp, 0x84
push ebx
push ebp
push esi
mov esi, dword [esp + 0x94]
mov eax, dword [esi + 0x58]
cmp eax, 2
push edi
mov ecx, 0xffffff7d
jl 0x4a7327
mov eax, dword [esi + 4]
test eax, eax
je 0x4a7327
mov eax, dword [esi + 0x34]
cmp eax, 0xffffffff
jle 0x4a7327
xor ebx, ebx
xor ebp, ebp
xor edi, edi
test eax, eax
jle 0x4a731d
push edi
push esi
call fcn.004a6e90
add esp, 8
add ebx, eax
mov eax, dword [esi + 0x34]
adc ebp, edx
inc edi
cmp edi, eax
jl 0x4a7307
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
jmp 0x4a7339
mov dword [esp + 0x1c], 0xffffffff
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov ebx, ecx
cmp dword [esi + 0x58], 2
jl 0x4a7a35
mov eax, dword [esi + 4]
test eax, eax
jne 0x4a735a
pop edi
pop esi
pop ebp
mov eax, 0xffffff76
pop ebx
add esp, 0x84
ret
mov edx, dword [esp + 0xa0]
test edx, edx
jl 0x4a7a35
mov eax, dword [esp + 0x9c]
jg 0x4a737a
test eax, eax
jb 0x4a7a35
cmp edx, ebp
jg 0x4a7a35
jl 0x4a738c
cmp eax, ebx
ja 0x4a7a35
mov ecx, dword [esi + 0x34]
dec ecx
mov dword [esp + 0x28], ecx
js 0x4a73ce
mov edi, dword [esi + 0x44]
mov eax, ecx
shl eax, 4
lea eax, [edi + eax + 8]
mov edi, dword [eax]
sub ebx, edi
mov edi, dword [eax + 4]
sbb ebp, edi
cmp edx, ebp
jg 0x4a73c2
jl 0x4a73ba
cmp dword [esp + 0x9c], ebx
jae 0x4a73c2
dec ecx
sub eax, 0x10
test ecx, ecx
jge 0x4a73a2
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebx
mov edx, dword [esi + 0x38]
lea eax, [edx + ecx*8]
mov edx, dword [eax + 8]
mov ebp, dword [eax]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 4]
shl ecx, 4
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x44]
mov ebx, dword [ecx + edx]
mov edi, dword [ecx + edx + 8]
add ecx, edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
add edi, ebx
adc ecx, edx
mov dword [esp + 0x50], ecx
mov ecx, ebx
mov dword [esp + 0x34], ebx
sub ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x38], edx
sbb edx, edi
mov edi, dword [esp + 0xa0]
add ecx, ebx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x24]
adc edx, edi
cmp eax, ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], eax
jg 0x4a7789
jl 0x4a7460
cmp ebp, dword [esp + 0x20]
jae 0x4a7789
mov edi, edi
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
sub ecx, ebx
sbb eax, ebp
test eax, eax
jg 0x4a7486
jl 0x4a7482
cmp ecx, 0x10000
jae 0x4a7486
mov edi, ebp
jmp 0x4a74e9
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
sub edx, edi
mov edi, dword [esp + 0x38]
push eax
push ecx
sbb ebx, edi
push ebx
push edx
call fcn.004bacf0
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
sub ecx, ebx
mov ebx, dword [esp + 0x50]
sbb ebx, edi
push ebx
push ecx
push edx
push eax
call fcn.004bd4a0
mov ecx, dword [esp + 0x10]
mov ebx, eax
add ebx, ecx
mov edi, edx
adc edi, ebp
sub ebx, 0x10000
sbb edi, 0
cmp edi, ebp
jg 0x4a74e9
jl 0x4a74dd
mov eax, ecx
cmp ebx, eax
ja 0x4a74e9
mov ebx, dword [esp + 0x10]
add ebx, 1
mov edi, ebp
adc edi, 0
mov ecx, dword [esi]
test ecx, ecx
je 0x4a7525
mov eax, dword [esi + 0x2c4]
test eax, eax
je 0x4a751e
push 0
push edi
push ebx
push ecx
call eax
add esp, 0x10
cmp eax, 0xffffffff
je 0x4a751e
lea edx, [esi + 0x18]
push edx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
call fcn.004ceaa0
add esp, 4
xor eax, eax
jmp 0x4a752a
mov eax, 0xffffff80
jmp 0x4a752a
mov eax, 0xffffff7f
cdq
mov ebp, eax
or eax, edx
jne 0x4a79fd
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esi + 0xc]
mov edx, dword [esp + 0x24]
sub ecx, eax
sbb edx, ebp
push edx
push ecx
lea eax, [esp + 0x6c]
push eax
call fcn.004a5d30
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffff80
mov dword [esp + 0x48], edx
jne 0x4a756c
mov eax, edx
cmp eax, 0xffffffff
je 0x4a79fd
mov eax, dword [esp + 0x48]
test eax, eax
jg 0x4a762a
jl 0x4a7582
test ebp, ebp
jae 0x4a762a
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 1
adc eax, 0
cmp edi, eax
jl 0x4a7789
jg 0x4a75a2
cmp ebx, ecx
jbe 0x4a7789
mov edx, ebx
or edx, edi
je 0x4a79fd
mov edx, dword [esp + 0x14]
add ebx, 0xffff0000
adc edi, 0xffffffff
cmp edi, edx
jg 0x4a75c9
jl 0x4a75c5
cmp ebx, dword [esp + 0x10]
ja 0x4a75c9
mov ebx, ecx
mov edi, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x4a7619
mov eax, dword [esi + 0x2c4]
test eax, eax
je 0x4a7608
push 0
push edi
push ebx
push ecx
call eax
add esp, 0x10
cmp eax, 0xffffffff
je 0x4a7608
lea eax, [esi + 0x18]
push eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
call fcn.004ceaa0
xor eax, eax
cdq
mov ebp, eax
mov ecx, ebp
add esp, 4
or ecx, edx
jmp 0x4a7736
mov eax, 0xffffff80
cdq
mov ebp, eax
mov ecx, ebp
or ecx, edx
jmp 0x4a7736
mov eax, 0xffffff7f
cdq
mov ebp, eax
mov ecx, ebp
or ecx, edx
jmp 0x4a7736
lea edx, [esp + 0x64]
push edx
call fcn.004ce350
mov ecx, dword [esi + 0x40]
mov edx, dword [esp + 0x2c]
add esp, 4
cmp eax, dword [ecx + edx*4]
jne 0x4a773c
lea eax, [esp + 0x64]
push eax
call fcn.004ce2c0
mov ecx, eax
and ecx, edx
add esp, 4
cmp ecx, 0xffffffff
je 0x4a773c
cmp edx, dword [esp + 0x30]
jg 0x4a76bc
jl 0x4a766f
cmp eax, dword [esp + 0x2c]
jae 0x4a76bc
mov ecx, dword [esp + 0x48]
mov ebx, dword [esi + 8]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
sbb eax, edx
test eax, eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], edx
jg 0x4a776b
jl 0x4a773c
cmp ecx, 0xac44
ja 0x4a776b
jmp 0x4a773c
mov ecx, dword [esp + 0x10]
add ecx, 1
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x14]
adc ecx, 0
cmp edi, ecx
mov dword [esp + 0x58], ecx
jl 0x4a7789
jg 0x4a76e6
cmp ebx, dword [esp + 0x54]
jbe 0x4a7789
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esi + 8]
jne 0x4a775b
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esi + 0xc]
jne 0x4a775b
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
add ebx, 0xffff0000
adc edi, 0xffffffff
cmp edi, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edx
jg 0x4a7725
jl 0x4a771d
cmp ebx, dword [esp + 0x10]
ja 0x4a7725
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
push edi
push ebx
mov eax, esi
call fcn.004a5cd0
cdq
add esp, 8
mov ebp, eax
or eax, edx
jne 0x4a79fd
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x24]
jg 0x4a7789
jl 0x4a7535
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x20]
jae 0x4a7789
jmp 0x4a7535
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x14], eax
jl 0x4a7460
jg 0x4a7789
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x10], ecx
jb 0x4a7460
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
push edx
push ebx
mov eax, esi
call fcn.004a5cd0
cdq
mov ebp, eax
or eax, 0xffffffff
mov ecx, ebp
add esp, 8
or ecx, edx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
jne 0x4a79fd
push eax
push eax
lea edx, [esp + 0x5c]
push edx
call fcn.004a5d30
add esp, 0xc
test edx, edx
mov ebp, eax
jl 0x4a79fd
jg 0x4a77d6
test ebp, ebp
jb 0x4a79fd
mov edi, dword [esp + 0x28]
cmp edi, dword [esi + 0x60]
je 0x4a77f9
call fcn.004a6a30
mov eax, dword [esi + 0x40]
mov dword [esi + 0x60], edi
mov ecx, dword [eax + edi*4]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x58], 3
jmp 0x4a7808
lea edx, [esi + 0x1e0]
push edx
call fcn.004a9820
add esp, 4
mov eax, dword [esi + 0x5c]
push eax
lea edi, [esi + 0x78]
push edi
call fcn.004ceb10
lea ecx, [esp + 0x5c]
push ecx
push edi
call fcn.004ce780
lea edx, [esp + 0x84]
push edx
push edi
call fcn.004cecd0
cdq
mov ecx, eax
add esp, 0x18
or ecx, edx
je 0x4a7889
xor ebp, ebp
lea ebx, [ebx]
cmp edx, ebp
jl 0x4a7953
jg 0x4a7852
cmp eax, ebp
jb 0x4a7953
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
jne 0x4a795d
push ebp
push edi
call fcn.004cecb0
lea eax, [esp + 0x7c]
push eax
push edi
call fcn.004cecd0
cdq
mov ecx, eax
add esp, 0x10
or ecx, edx
jne 0x4a7840
mov edx, dword [esp + 0x40]
push edx
push ebx
mov eax, esi
call fcn.004a5cd0
cdq
add esp, 8
test edx, edx
mov ebp, eax
jl 0x4a79fd
jg 0x4a78ae
test ebp, ebp
jb 0x4a79fd
lea eax, [esp + 0x54]
push eax
mov eax, esi
call fcn.004a5df0
mov edi, edx
add esp, 4
test edi, edi
mov ebp, eax
jl 0x4a79fd
jg 0x4a78d3
test ebp, ebp
jb 0x4a79fd
lea ecx, [esp + 0x54]
push ecx
call fcn.004ce350
mov ecx, dword [esi + 0x5c]
add esp, 4
cmp eax, ecx
jne 0x4a7911
lea edx, [esp + 0x54]
push edx
call fcn.004ce2c0
add esp, 4
cmp edx, 0xffffffff
jg 0x4a793d
jl 0x4a7900
cmp eax, 0xffffffff
ja 0x4a793d
lea eax, [esp + 0x54]
push eax
call fcn.004ce290
add esp, 4
test eax, eax
je 0x4a793d
lea ecx, [esp + 0x54]
push ecx
mov eax, esi
mov dword [esi + 8], ebp
mov dword [esi + 0xc], edi
call fcn.004a5df0
mov edi, edx
add esp, 4
test edi, edi
mov ebp, eax
jg 0x4a78d3
jl 0x4a79fd
test ebp, ebp
jae 0x4a78d3
jmp 0x4a79fd
push edi
push ebp
push esi
call fcn.004a6f90
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
mov ebp, 0xffffff78
jmp 0x4a79f5
mov edx, dword [esi + 0x60]
mov edi, dword [esi + 0x44]
shl edx, 4
sub eax, dword [edx + edi]
sbb ecx, dword [edx + edi + 4]
mov dword [esi + 0x50], eax
mov eax, ecx
cmp eax, ebp
mov dword [esi + 0x54], ecx
jg 0x4a7986
jl 0x4a7980
cmp dword [esi + 0x50], ebp
jae 0x4a7986
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], ebp
mov edi, dword [esi + 0x50]
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x1c]
add edi, eax
mov dword [esi + 0x50], edi
mov edi, dword [esp + 0xa0]
adc edx, ecx
cmp edx, edi
mov dword [esi + 0x54], edx
jg 0x4a79f0
jl 0x4a79b7
mov eax, dword [esi + 0x50]
cmp eax, dword [esp + 0x9c]
ja 0x4a79f0
push 0xffffffffffffffff
push esi
call fcn.004a6e90
add esp, 8
cmp edi, edx
jg 0x4a79f0
jl 0x4a79d1
cmp dword [esp + 0x9c], eax
ja 0x4a79f0
fld qword [0x4ee850]
pop edi
fstp qword [esi + 0x68]
xor eax, eax
fld qword [0x4ee850]
fstp qword [esi + 0x70]
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
mov ebp, 0xffffff7f
mov dword [esp + 0x48], 0xffffffff
or eax, 0xffffffff
lea ecx, [esi + 0x1e0]
push ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
call fcn.004a95d0
lea edx, [esi + 0x250]
push edx
call fcn.004a9180
add esp, 8
pop edi
mov dword [esi + 0x58], 2
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x84
ret
pop edi
pop esi
pop ebp
mov eax, 0xffffff7d
pop ebx
add esp, 0x84
ret