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

Disassembly:
sub esp, 0xbc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xd8]
push 0x6a1d4c
mov ecx, edi
call fcn.0048ca50
mov esi, eax
mov eax, dword [0x646e30]
xor ebp, ebp
mov ecx, eax
cmp esi, ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
je 0x4c5377
push ebp
mov ecx, esi
call fcn.0048c320
fstp dword [esp + 0x24]
push 1
mov ecx, esi
call fcn.0048c320
fstp dword [esp + 0x2c]
push 2
mov ecx, esi
call fcn.0048c320
fstp dword [esp + 0x28]
push 3
mov ecx, esi
call fcn.0048c320
fstp dword [esp + 0x30]
lea edx, [esp + 0x8c]
push 0x68f3c4
push edx
mov ecx, edi
call fcn.0048cb10
mov eax, dword [0x646e34]
mov dword [esp + 0x70], 0
mov ecx, eax
mov edx, eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0xd4]
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x84], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
call fcn.0049bb80
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x74]
push edx
call fcn.0049bb80
lea eax, [esp + 0x74]
lea ecx, [esp + 0x5c]
push eax
call fcn.0049bc40
mov edi, dword [esp + 0xd0]
mov dword [esp + 0x1c], ebp
mov ebx, dword [edi + 8]
mov esi, dword [edi + 4]
mov ecx, dword [edi + 0x14]
cmp ebx, ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ecx
jle 0x4c55db
mov dword [esp + 0x18], ebp
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov edx, dword [esp + 0x18]
xor ebp, ebp
add eax, edx
mov dword [esp + 0x10], ebp
test esi, esi
jle 0x4c55bc
fild dword [esp + 0x1c]
mov dword [esp + 0x20], eax
fstp dword [esp + 0x48]
fild dword [esp + 0x10]
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
fstp dword [esp + 0x14]
push edx
lea ecx, [esp + 0x64]
mov dword [esp + 0x1c], eax
call fcn.0049ba20
fld dword [esp + 0x10]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 1
jne 0x4c55a0
fld dword [esp + 0x10]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
je 0x4c55a0
fld dword [esp + 0x14]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
jne 0x4c55a0
fld dword [esp + 0x14]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 0x41
je 0x4c55a0
mov ebx, dword [esp + 0xe0]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
xor esi, esi
test ebx, ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
jle 0x4c5534
mov edi, dword [esp + 0xdc]
lea edx, [esp + 0x34]
lea eax, [esp + esi*4 + 0xa4]
push edx
push eax
lea ecx, [esp + 0x5c]
push 2
push ecx
mov ecx, dword [edi]
call fcn.004d73c0
mov edx, dword [esp + 0x34]
add edi, 4
add esi, edx
dec ebx
jne 0x4c5506
mov edi, dword [esp + 0xd0]
mov ecx, dword [esp + 0xe4]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x54]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xb0]
push eax
call dword [edx + 4]
fld dword [esp + 0x40]
fmul dword [0x646724]
call fcn.00460b50
fld dword [esp + 0x50]
fmul dword [0x646724]
mov esi, eax
or esi, 0xffffff00
shl esi, 8
call fcn.00460b50
fld dword [esp + 0x4c]
fmul dword [0x646724]
or esi, eax
shl esi, 8
call fcn.00460b50
mov ecx, dword [esp + 0x20]
or esi, eax
mov dword [ecx], esi
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
inc ebp
add ecx, 4
cmp ebp, esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ecx
jl 0x4c5473
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x18]
inc eax
add ebp, edx
cmp eax, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
jl 0x4c544c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret