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

Disassembly:
sub esp, 0x54
mov eax, dword [ecx + 0x1ac]
mov edx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
push esi
push edi
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x6c]
mov eax, dword [eax + 0x14]
push edx
push ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], eax
call fcn.004bb860
call fcn.006fae8c
mov edi, dword [esp + 0x70]
lea eax, [ebx + eax*2]
shl eax, 2
xor esi, esi
push eax
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], esi
mov dword [edi], esi
call fcn.006fa7e6
mov ebp, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
mov dword [ebp], eax
mov edx, dword [edx]
mov ecx, dword [edi]
mov dword [eax + ecx*4], edx
mov eax, dword [edi]
mov edx, dword [esp + 0x70]
mov edx, dword [edx + 4]
mov ecx, dword [ebp]
mov dword [ecx + eax*4 + 4], edx
mov edx, dword [edi]
mov eax, dword [esp + 0x6c]
add edx, 2
add esp, 4
xor ebx, ebx
dec eax
sar eax, 1
mov dword [edi], edx
mov dword [esp + 0x34], eax
lea esp, [esp]
cmp ebx, eax
mov ecx, dword [esp + 0x10]
jl 0x4c0220
test ecx, ecx
jle 0x4c04c3
mov edx, dword [esp + 0x7c]
mov eax, 1
cmp edx, eax
mov dword [esp + 0x70], 0
jne 0x4c0301
mov esi, dword [esp + 0x68]
sar esi, 1
sub esi, ebx
dec esi
cmp esi, eax
jl 0x4c02b8
mov dword [esp + 0x54], 0
mov edi, edi
mov ecx, dword [esp + 0x6c]
lea eax, [esi + ebx]
fld dword [ecx + eax*8 + 4]
mov edx, dword [ecx + eax*8]
lea eax, [ecx + eax*8]
mov eax, dword [edi]
mov ecx, dword [ebp]
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], 0
push 0
fstp dword [esp + 0x48]
fld dword [ecx + eax*4 - 8]
push 1
fstp dword [esp + 0x54]
lea edx, [esp + 0x48]
fld dword [ecx + eax*4 - 4]
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x40]
push edx
lea eax, [esp + 0x60]
fstp dword [esp + 0x64]
push eax
call fcn.004bcb70
cmp eax, 1
jne 0x4c02f8
add dword [esp + 0x70], esi
xor esi, esi
dec esi
cmp esi, 1
jge 0x4c0250
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
add ebx, edx
test edx, edx
fld dword [eax + ebx*8]
fstp dword [esp + 0x70]
fld dword [eax + ebx*8 + 4]
fstp dword [esp + 0x74]
jne 0x4c031e
test ecx, ecx
jle 0x4c030b
fld dword [esi + ecx*8 - 8]
dec ecx
fstp dword [esp + 0x70]
mov dword [esp + 0x10], ecx
fld dword [esi + ecx*8 + 4]
fstp dword [esp + 0x74]
jmp 0x4c033f
cmp esi, 4
jle 0x4c02b2
sar esi, 1
jmp 0x4c02b3
test ecx, ecx
jg 0x4c02c0
mov dword [esp + 0x70], eax
jmp 0x4c02c0
fld dword [eax + ebx*8 + 8]
inc ebx
fstp dword [esp + 0x70]
fld dword [eax + ebx*8 + 4]
fstp dword [esp + 0x74]
jmp 0x4c033f
test esi, esi
je 0x4c0337
push esi
call fcn.006fa390
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4c049a
mov ecx, dword [ebp]
mov eax, dword [edi]
fld dword [ecx + eax*4 - 4]
fsub dword [esp + 0x74]
fld dword [ecx + eax*4 - 8]
lea ecx, [esp + 0x58]
fsub dword [esp + 0x70]
push ecx
mov dword [esp + 0x64], 0
fstp dword [esp + 0x5c]
fstp dword [esp + 0x60]
call fcn.004ab100
fst dword [esp + 0x1c]
add esp, 4
fst qword [esp + 0x38]
fcomp qword [0x7455e0]
fnstsw ax
test ah, 1
jne 0x4c049a
test esi, esi
mov eax, dword [edi]
mov ecx, dword [ebp]
fld dword [ecx + eax*4 - 8]
fstp dword [esp + 0x20]
fld dword [ecx + eax*4 - 4]
fstp dword [esp + 0x24]
je 0x4c03b8
push esi
call fcn.006fa390
add esp, 4
fld dword [esp + 0x18]
call fcn.006fae8c
lea edx, [eax*8 + 8]
push edx
call fcn.006fa7e6
fld qword [esp + 0x3c]
fcomp qword [0x73edf8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
add esp, 4
fnstsw ax
mov dword [esp + 0x10], 0
test ah, 0x41
jne 0x4c0496
fld dword [0x73d764]
mov edx, dword [esp + 0x14]
fdiv dword [esp + 0x18]
mov ecx, edx
fld dword [esp + 0x70]
fsub dword [esp + 0x20]
fmul st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x74]
fsub dword [esp + 0x24]
fmulp st(1)
fld qword [esp + 0x38]
jmp 0x4c0430
fld dword [esp + 0x18]
mov eax, dword [esp + 0x10]
fmul dword [esp + 0x1c]
add ecx, 8
inc eax
mov dword [esp + 0x10], eax
fadd dword [esp + 0x20]
fstp dword [ecx - 8]
fld st(1)
fmul dword [esp + 0x1c]
fadd dword [esp + 0x24]
fstp dword [ecx - 4]
fsub qword [0x73ede8]
fcom qword [0x73edf8]
fst dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
je 0x4c0430
mov eax, dword [esp + 0x10]
fstp st(0)
test eax, eax
fstp st(0)
mov esi, dword [esp + 0x14]
jle 0x4c049a
fld dword [edx + eax*8 - 8]
dec eax
fstp dword [esp + 0x70]
mov dword [esp + 0x10], eax
fld dword [edx + eax*8 + 4]
fstp dword [esp + 0x74]
jmp 0x4c049a
mov esi, dword [esp + 0x14]
mov ecx, dword [edi]
fld dword [esp + 0x70]
mov edx, dword [ebp]
fstp dword [edx + ecx*4]
mov eax, dword [edi]
mov ecx, dword [ebp]
fld dword [esp + 0x74]
fstp dword [ecx + eax*4 + 4]
mov eax, dword [edi]
add eax, 2
mov dword [edi], eax
mov eax, dword [esp + 0x34]
jmp 0x4c0210
test esi, esi
je 0x4c04d0
push esi
call fcn.006fa390
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x18