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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x87f4e0
call fcn.00426a50
test eax, eax
mov dword [esp + 0x18], eax
je 0x4a4785
lea ecx, [eax + 0x58]
mov dword [esp + 0x2c], ecx
call fcn.0054a8e0
mov edi, eax
test edi, edi
mov dword [esp + 0x28], edi
je 0x4a4785
mov ecx, edi
call fcn.00548e00
test eax, eax
mov dword [esp + 0x30], eax
jbe 0x4a4773
mov ecx, edi
call fcn.00548df0
mov ebp, eax
xor ebx, ebx
mov eax, dword [ebp]
mov edi, dword [ebp + 4]
mov dword [esp + 0x10], eax
xor eax, eax
test edi, edi
je 0x4a42e4
mov ecx, dword [edi + 8]
test edi, edi
jne 0x4a42bc
mov edi, dword [ebp + 4]
jmp 0x4a42bf
mov edi, dword [edi + 4]
mov edx, dword [esp + 0x10]
inc eax
cmp eax, edx
mov dword [esp + 0x24], eax
ja 0x4a42e4
test ecx, ecx
je 0x4a42e0
call fcn.0054a060
or ebx, eax
cmp ebx, 1
je 0x4a42e4
mov eax, dword [esp + 0x24]
test edi, edi
jne 0x4a42b0
mov ecx, 0x87f4e0
call fcn.00426a30
mov edi, eax
test edi, edi
je 0x4a4773
mov ecx, dword [esp + 0x18]
mov eax, 0x2710
mov dword [esp + 0x70], eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x58]
lea ebp, [ecx + 0x614]
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x2c], ebp
call fcn.00470250
fld qword [esp + 0x58]
fadd qword [esp + 0x74]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xa0], eax
fmul qword [0x5e7c18]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0xac], eax
fstp qword [esp + 0x10]
fld qword [esp + 0x7c]
fadd qword [esp + 0x60]
mov eax, dword [esp + 0x30]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x80]
cmp eax, 1
fmul qword [0x5e7c18]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
fstp qword [esp + 0x18]
jne 0x4a4571
mov eax, dword [esp + 0x2c]
mov ecx, ebp
push eax
call fcn.00470290
mov edi, eax
test edi, edi
je 0x4a4785
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 0
push ecx
mov ecx, edi
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0x2710
call fcn.0054a300
fld qword [esp + 0xa0]
fsub qword [esp + 0x90]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x2d1c], edx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x2d20], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x2d24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x2d28], edx
mov edx, dword [esp + 0x44]
mov dword [esi + 0x2d2c], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x2d30], ecx
fstp qword [esi + 0x2d3c]
fld qword [esp + 0x98]
fsub qword [esp + 0xa8]
mov dword [esi + 0x2d34], edx
push 1
mov ecx, edi
mov dword [esi + 0x2d38], eax
fstp qword [esi + 0x2d44]
call fcn.0054a060
push eax
mov ecx, edi
call fcn.00549fd0
fld qword [esp + 0xa0]
fsub qword [esp + 0xb0]
push eax
mov ecx, dword [esp + 0x54]
sub esp, 8
mov edx, dword [esp + 0x58]
fstp qword [esp]
fld qword [esp + 0xb4]
fsub qword [esp + 0xa4]
mov eax, dword [esp + 0x54]
sub esp, 8
fstp qword [esp]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
lea ecx, [esi + 0x874]
call fcn.004b0940
push edi
mov ecx, esi
call fcn.004a5830
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
fld qword [esp + 0x74]
mov dword [esi + 0x2d1c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x2d20], edx
mov edx, dword [esp + 0x1c]
fsub qword [esp + 0x58]
mov dword [esi + 0x2d24], ecx
mov dword [esi + 0x2d28], edx
mov ecx, dword [edi + 0x138]
push eax
mov dword [esi + 0x2d2c], ecx
mov edx, dword [edi + 0x13c]
fst qword [esp + 0xb4]
mov dword [esi + 0x2d30], edx
mov ecx, dword [edi + 0x140]
mov dword [esi + 0x2d34], ecx
mov edx, dword [edi + 0x144]
fstp qword [esi + 0x2d3c]
fld qword [esp + 0x80]
fsub qword [esp + 0x64]
push ebx
mov dword [esi + 0x2d38], edx
mov edx, dword [esp + 0xbc]
push 1
fst qword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
fstp qword [esi + 0x2d44]
push eax
mov eax, dword [esp + 0xc0]
push ecx
mov ecx, dword [edi + 0x144]
push edx
mov edx, dword [edi + 0x140]
push eax
mov eax, dword [edi + 0x13c]
push ecx
mov ecx, dword [edi + 0x138]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
lea ecx, [esi + 0x874]
call fcn.004b0940
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], 0
call fcn.00548df0
mov ebx, eax
mov eax, dword [ebx]
mov edi, dword [ebx + 4]
mov dword [esp + 0x30], eax
xor eax, eax
test edi, edi
je 0x4a46c0
jmp 0x4a4674
mov eax, dword [esp + 0x28]
mov ebp, dword [edi + 8]
test edi, edi
jne 0x4a4680
mov edi, dword [ebx + 4]
jmp 0x4a4683
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
ja 0x4a46bc
test ebp, ebp
je 0x4a46b8
mov ecx, ebp
call fcn.00549f80
cmp eax, 7
jne 0x4a477e
mov ecx, ebp
call fcn.00549f80
cmp eax, 7
jne 0x4a46b8
mov dword [esp + 0x10], 1
test edi, edi
jne 0x4a4670
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.00470290
mov edi, eax
test edi, edi
je 0x4a477e
push 0
lea ecx, [esi + 0xbb4]
call fcn.005b3e88
push 0
lea ecx, [esi + 0xf14]
call fcn.005b3e88
push 0
lea ecx, [esi + 0x19ec]
call fcn.005b3e88
push 0
lea ecx, [esi + 0x1bd4]
call fcn.005b3e88
push 0
lea ecx, [esi + 0x1d90]
call fcn.005b3e88
push 0
lea ecx, [esi + 0x1ee4]
call fcn.005b3e88
push 0
lea ecx, [esi + 0x2058]
call fcn.005b3e88
push 0
lea ecx, [esi + 0x241c]
call fcn.005b3e88
push 0
lea ecx, [esi + 0x2b24]
call fcn.005b3e88
cmp dword [esp + 0x10], 1
jne 0x4a4756
push 5
jmp 0x4a4758
push 0
lea ecx, [esi + 0x2358]
call fcn.005b3e88
push edi
mov ecx, esi
call fcn.004a5830
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0x874]
call fcn.004b0300
mov ecx, esi
call fcn.004a6310
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret