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

Disassembly:
sub esp, 0x54
mov eax, dword [0x7a39e0]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], edi
call fcn.005e9260
mov esi, dword [edi + 0x1ac]
fld dword [esi + 4]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x6c]
fadd dword [0x73d708]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
fstp dword [esp + 0x30]
mov ecx, dword [esi + 0x14]
push edx
mov dword [esp + 0x30], ecx
push eax
mov ecx, edi
call fcn.004bb860
call fcn.006fae8c
mov edx, dword [esi + 0x238]
mov ecx, dword [esi + 0x234]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esi + 0x230]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x14], edx
mov edx, dword [ebx]
xor esi, esi
cmp edx, esi
mov dword [esp + 0x10], ecx
jne 0x4c059a
mov ecx, dword [esp + 0x68]
lea edx, [ecx + eax*2]
shl edx, 2
push edx
mov dword [edi], esi
call fcn.006fa7e6
mov edx, dword [esp + 0x70]
mov dword [ebx], eax
mov ecx, dword [edi]
mov esi, dword [edx + ebp*8]
mov dword [eax + ecx*4], esi
mov eax, dword [edi]
mov ecx, dword [ebx]
mov esi, dword [edx + ebp*8 + 4]
mov dword [ecx + eax*4 + 4], esi
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
add eax, 2
add esp, 4
mov dword [edi], eax
xor esi, esi
jmp 0x4c059e
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
dec eax
sar eax, 1
mov dword [esp + 0x34], eax
lea esp, [esp]
cmp ebp, eax
jl 0x4c05bc
cmp ecx, esi
jle 0x4c08af
mov eax, 1
cmp dword [esp + 0x7c], eax
mov dword [esp + 0x74], esi
jne 0x4c06a3
mov esi, dword [esp + 0x68]
sar esi, 1
sub esi, ebp
dec esi
cmp esi, eax
jl 0x4c0660
mov dword [esp + 0x54], 0
mov eax, dword [edi]
mov ecx, dword [ebx]
fld dword [ecx + eax*4 - 8]
push 0
fstp dword [esp + 0x50]
push 1
fld dword [ecx + eax*4 - 4]
lea eax, [esi + ebp]
mov ecx, dword [edx + eax*8]
lea eax, [edx + eax*8]
mov edx, dword [esp + 0x34]
push edx
fstp dword [esp + 0x5c]
fld dword [eax + 4]
mov dword [esp + 0x4c], ecx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x60]
fstp dword [esp + 0x58]
push edx
mov dword [esp + 0x60], 0
call fcn.004bcb70
xor ecx, ecx
cmp eax, 1
mov dword [0x832870], ecx
mov dword [0x832840], ecx
jne 0x4c069a
add dword [esp + 0x74], esi
xor esi, esi
dec esi
cmp esi, 1
mov edx, dword [esp + 0x6c]
jge 0x4c05e8
mov ecx, dword [esp + 0x10]
xor esi, esi
mov eax, dword [esp + 0x74]
add ebp, eax
cmp eax, esi
fld dword [edx + ebp*8]
fstp dword [esp + 0x74]
fld dword [edx + ebp*8 + 4]
fstp dword [esp + 0x70]
jne 0x4c06c0
cmp ecx, esi
jle 0x4c06ad
mov eax, dword [esp + 0x14]
fld dword [eax + ecx*8 - 8]
dec ecx
fstp dword [esp + 0x74]
mov dword [esp + 0x10], ecx
fld dword [eax + ecx*8 + 4]
fstp dword [esp + 0x70]
jmp 0x4c06e9
cmp esi, 4
jle 0x4c0652
sar esi, 1
jmp 0x4c0653
cmp ecx, esi
jg 0x4c0662
mov dword [esp + 0x74], eax
jmp 0x4c0662
fld dword [edx + ebp*8 + 8]
inc ebp
fstp dword [esp + 0x74]
fld dword [edx + ebp*8 + 4]
fstp dword [esp + 0x70]
jmp 0x4c06e9
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4c06e5
push eax
call fcn.006fa390
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x1ac]
add esp, 4
mov dword [esp + 0x14], esi
mov dword [ecx + 0x238], esi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x78], esi
je 0x4c0852
mov eax, dword [edi]
mov ecx, dword [ebx]
fld dword [ecx + eax*4 - 4]
lea edx, [esp + 0x58]
fsub dword [esp + 0x70]
push edx
fld dword [ecx + eax*4 - 8]
mov dword [esp + 0x64], 0
fsub dword [esp + 0x78]
fstp dword [esp + 0x5c]
fstp dword [esp + 0x60]
call fcn.004ab100
fst dword [esp + 0x20]
add esp, 4
fcomp dword [esp + 0x80]
fnstsw ax
test ah, 1
jne 0x4c0852
mov eax, dword [edi]
mov ecx, dword [ebx]
fld dword [ecx + eax*4 - 8]
fstp dword [esp + 0x24]
fld dword [ecx + eax*4 - 4]
mov eax, dword [esp + 0x14]
cmp eax, esi
fstp dword [esp + 0x28]
je 0x4c076f
push eax
call fcn.006fa390
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x1ac]
add esp, 4
mov dword [ecx + 0x238], esi
fld dword [esp + 0x1c]
call fcn.006fae8c
lea edx, [eax*8 + 8]
push edx
call fcn.006fa7e6
fld dword [esp + 0x20]
fcom qword [0x73edf8]
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x1ac]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
fnstsw ax
mov dword [edx + 0x238], ecx
xor edx, edx
add esp, 4
test ah, 0x41
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
jne 0x4c0850
fld dword [0x73d764]
fdiv dword [esp + 0x1c]
fld dword [esp + 0x74]
fsub dword [esp + 0x24]
fmul st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x70]
fsub dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x10]
fstp st(0)
lea esp, [esp]
fld dword [esp + 0x1c]
add ecx, 8
fmul dword [esp + 0x20]
inc edx
fadd dword [esp + 0x24]
fstp dword [ecx - 8]
fld dword [esp + 0x10]
fmul dword [esp + 0x20]
fadd dword [esp + 0x28]
fstp dword [ecx - 4]
fsub qword [0x73ede8]
fcom qword [0x73edf8]
fst dword [esp + 0x20]
fnstsw ax
test ah, 0x41
je 0x4c07f0
cmp edx, esi
fstp st(0)
mov dword [esp + 0x10], edx
jle 0x4c0852
mov ecx, dword [esp + 0x14]
mov eax, edx
fld dword [ecx + eax*8 - 8]
dec eax
fstp dword [esp + 0x74]
mov dword [esp + 0x10], eax
fld dword [ecx + eax*8 + 4]
fstp dword [esp + 0x70]
jmp 0x4c0852
fstp st(0)
mov ecx, dword [edi]
fld dword [esp + 0x74]
mov edx, dword [ebx]
fstp dword [edx + ecx*4]
mov ecx, dword [ebx]
mov eax, dword [edi]
fld dword [esp + 0x70]
fstp dword [ecx + eax*4 + 4]
mov esi, dword [edi]
add esi, 2
mov dword [edi], esi
mov edx, dword [0x7a39e0]
mov ecx, dword [edx + 4]
call fcn.005e9260
mov esi, eax
mov eax, dword [esp + 0x3c]
mov ecx, edx
sub esi, dword [esp + 0x38]
sbb ecx, eax
mov eax, dword [0x7a1b1c]
cdq
cmp ecx, edx
ja 0x4c08fe
jb 0x4c089c
cmp esi, eax
ja 0x4c08fe
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
xor esi, esi
jmp 0x4c05b0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4c08d2
push eax
call fcn.006fa390
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x1ac]
add esp, 4
mov dword [ecx + 0x238], esi
jmp 0x4c08d6
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x1ac]
mov dword [edx + 0x234], 0xffffffff
mov eax, dword [eax + 0x1ac]
pop edi
mov dword [eax + 0x230], esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret 0x1c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x1ac]
mov edx, dword [esp + 0x10]
pop edi
mov dword [ecx + 0x234], edx
mov eax, dword [eax + 0x1ac]
pop esi
mov dword [eax + 0x230], ebp
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret 0x1c