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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x734
mov eax, dword [0xba2058]
push ebx
push esi
push edi
test eax, eax
je 0x4c9072
lea eax, [eax + eax*2]
shl eax, 4
fld qword [eax + 0xba2048]
mov ecx, dword [eax + 0xba2040]
lea eax, [eax + 0xba2030]
fstp dword [esp + 0x58]
fld qword [eax + 0x20]
mov esi, dword [eax + 0x28]
mov dword [esp + 0x74], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x1c], esi
fstp dword [esp + 0x5c]
add ecx, 3
mov dword [esp + 0x2c], ecx
jmp 0x4c9076
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x78], 0x3f800000
movsx ebx, word [ecx + 2]
movsx eax, word [ecx + 6]
movsx edx, word [ecx + 4]
lea edi, [ecx + 8]
mov ecx, dword [ebp + 0x1c]
add ebx, edi
add eax, edx
test ecx, 0xfffffffc
mov dword [esp + 0x84], edi
je 0x4c90ae
mov dword [esp + 0x78], 0xbf800000
mov ecx, dword [ebp + 0x14]
mov edx, 0x40000000
sar edx, cl
test eax, eax
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul qword [0x534ae8]
fstp qword [esp + 0x60]
jle 0x4c92ed
mov ecx, dword [ebp + 0x1c]
lea edi, [esp + 0x140]
mov edx, ecx
mov dword [esp + 0x18], edi
and edx, 4
and ecx, 1
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x14], eax
jmp 0x4c9101
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x7c]
xor eax, eax
xor edi, edi
mov ax, word [ebx + 2]
mov di, word [ebx]
shl eax, 0x10
add eax, edi
mov edi, eax
shr edi, 0x1a
sub edi, 0x18
mov dword [esp + 0x10], edi
mov edi, eax
fild dword [esp + 0x10]
shr edi, 0x14
and edi, 0x3f
sub edi, 0x18
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
shr eax, 0xe
and eax, 0x3f
fstp qword [esp + 0x38]
sub eax, 0x18
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test edx, edx
fstp qword [esp + 0x40]
fmul qword [esp + 0x60]
fld qword [esp + 0x38]
fmul qword [esp + 0x60]
fstp qword [esp + 0x38]
fld qword [esp + 0x40]
fmul qword [esp + 0x60]
fstp qword [esp + 0x40]
je 0x4c916f
fchs
test ecx, ecx
je 0x4c91a2
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov al, byte [ebp + 0x1c]
test al, 2
mov dword [esp + 0x4c], ecx
je 0x4c9196
fchs
fstp qword [esp + 0x38]
fld qword [esp + 0x48]
jmp 0x4c91b4
fstp qword [esp + 0x38]
fld qword [esp + 0x48]
fchs
jmp 0x4c91b4
test byte [ebp + 0x1c], 2
je 0x4c91b4
fchs
fld qword [esp + 0x38]
fchs
fstp qword [esp + 0x38]
mov eax, dword [ebp + 0xc]
fadd qword [eax]
fstp qword [esp + 0x30]
fld qword [esp + 0x38]
fadd qword [eax + 8]
fstp qword [esp + 0x38]
fld qword [esp + 0x40]
fadd qword [eax + 0x10]
mov eax, dword [0xba2058]
test eax, eax
fstp qword [esp + 0x40]
je 0x4c92ba
fld dword [esp + 0x58]
fsubr qword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
fmul dword [esp + 0x74]
fld dword [esp + 0x5c]
fsubr qword [esp + 0x38]
fmul dword [esp + 0x74]
fstp dword [esp + 0x10]
fld st(0)
fistp qword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x88], edx
fld dword [esp + 0x10]
fistp qword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov edi, eax
mov dword [esp + 0x20], eax
shl edi, cl
fisub dword [esp + 0x88]
lea ecx, [edi + eax]
fild dword [esp + 0x20]
lea edi, [ecx + edx]
inc edx
add ecx, edx
inc eax
movsx edi, byte [edi + esi]
fsubr dword [esp + 0x10]
movsx ecx, byte [ecx + esi]
mov dword [esp + 0x20], edi
mov edi, eax
fild dword [esp + 0x20]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x2c]
shl edi, cl
fild dword [esp + 0x20]
add edi, eax
add edi, edx
movsx edx, byte [edi + esi - 1]
lea eax, [edi + esi]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
movsx eax, byte [eax]
fstp dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x80]
fsub st(1)
fmul st(3)
faddp st(1)
fild dword [esp + 0x20]
fsub dword [esp + 0x10]
fmulp st(3)
fxch st(2)
fadd dword [esp + 0x10]
fsub st(2)
fmul st(1)
fadd st(2)
fsub qword [0x534ae0]
fxch st(2)
fstp st(0)
fstp st(0)
fmul dword [0x5342e8]
fadd qword [esp + 0x40]
fstp qword [esp + 0x40]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, 6
lea esi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
add ebx, 4
add esi, 0x18
dec eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
jne 0x4c90f9
mov edi, dword [esp + 0x84]
mov ecx, dword [ebp + 8]
xor eax, eax
mov ax, word [edi + 2]
xor edx, edx
mov dx, word [edi]
mov dword [esp + 0x2c], 0
movsx esi, word [ecx]
shl eax, 0x10
add eax, edx
xor ecx, ecx
mov edx, eax
mov cl, ah
and edx, 0xff
mov dword [esp + 0x18], eax
xor eax, eax
lea ecx, [ecx + ecx*2]
mov al, byte [esp + 0x1a]
lea edx, [edx + edx*2]
shl edx, 3
shl ecx, 3
fld qword [esp + edx + 0x140]
fadd qword [esp + ecx + 0x140]
lea eax, [eax + eax*2]
mov dword [esp + 0x58], 0
shl eax, 3
test esi, esi
fadd qword [esp + eax + 0x140]
fld qword [esp + edx + 0x148]
fadd qword [esp + ecx + 0x148]
mov dword [esp + 0x5c], 0x43d00000
fadd qword [esp + eax + 0x148]
fstp qword [esp + 0xac]
fld qword [esp + edx + 0x150]
fadd qword [esp + ecx + 0x150]
fadd qword [esp + eax + 0x150]
fstp qword [esp + 0xb4]
fmul qword [str.UUUUUU]
fstp qword [esp + 0xa4]
fld qword [esp + 0xac]
fmul qword [str.UUUUUU]
fstp qword [esp + 0xac]
fld qword [esp + 0xb4]
fmul qword [str.UUUUUU]
fstp qword [esp + 0xb4]
jle 0x4c9737
mov ecx, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ecx
jmp 0x4c93dd
mov ecx, dword [esp + 0x1c]
xor eax, eax
xor edx, edx
mov ax, word [ecx + 2]
mov dx, word [ecx]
shl eax, 0x10
add eax, edx
xor edx, edx
mov ecx, eax
mov dl, ah
mov dword [esp + 0x18], eax
and ecx, 0xff
mov eax, edx
xor edx, edx
lea ecx, [ecx + ecx*2]
mov dl, byte [esp + 0x1a]
lea eax, [eax + eax*2]
shl ecx, 3
shl eax, 3
lea esi, [esp + ecx + 0x140]
lea edi, [esp + ecx + 0x148]
fld qword [esp + eax + 0x140]
fsub qword [esi]
lea ebx, [esp + ecx + 0x150]
lea ecx, [esp + 0xf8]
fstp qword [esp + 0xf8]
fld qword [esp + eax + 0x148]
fsub qword [edi]
fstp qword [esp + 0x100]
fld qword [esp + eax + 0x150]
fsub qword [ebx]
lea eax, [edx + edx*2]
lea edx, [esp + 0xe0]
shl eax, 3
fstp qword [esp + 0x108]
fld qword [esp + eax + 0x140]
fsub qword [esi]
fstp qword [esp + 0x110]
fld qword [esp + eax + 0x148]
fsub qword [edi]
fstp qword [esp + 0x118]
fld qword [esp + eax + 0x150]
fsub qword [ebx]
lea eax, [esp + 0x110]
push eax
push ecx
push edx
fstp qword [esp + 0x12c]
call fcn.004b3190
fld qword [esp + 0xec]
fcomp qword [0x5333b0]
add esp, 0xc
fnstsw ax
test ah, 0x40
je 0x4c94ec
fld qword [esp + 0xe8]
fcomp qword [0x5333b0]
fnstsw ax
test ah, 0x40
je 0x4c94ec
fld qword [esp + 0xf0]
fcomp qword [0x5333b0]
fnstsw ax
test ah, 0x40
jne 0x4c96b5
lea eax, [esp + 0xe0]
push eax
call fcn.004b3100
fld qword [esp + 0xfc]
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x4c]
fstp dword [esp + 0x34]
fld qword [esp + 0x104]
lea edx, [esp + 0xd8]
push ecx
fstp dword [esp + 0x3c]
fld qword [esp + 0x110]
push edx
lea ecx, [esp + 0x2c]
fstp dword [esp + 0x44]
fld qword [esp + 0x11c]
fstp dword [esp + 0xc8]
fld qword [esp + 0x124]
fstp dword [esp + 0xcc]
fld qword [esp + 0x12c]
fstp dword [esp + 0xd0]
fld qword [esp + 0xec]
fstp dword [esp + 0x54]
fld qword [esp + 0xf4]
fstp dword [esp + 0x58]
fld qword [esp + 0xfc]
fstp dword [esp + 0x5c]
fld qword [eax]
fsub qword [esi]
fstp dword [esp + 0xd4]
fld qword [eax + 8]
fsub qword [edi]
fstp dword [esp + 0xd8]
fld qword [eax + 0x10]
fsub qword [ebx]
fstp dword [esp + 0xdc]
fld qword [esp + 0xb0]
fsub qword [eax]
fstp dword [esp + 0xe0]
fld qword [esp + 0xb8]
fsub qword [eax + 8]
fstp dword [esp + 0xe4]
fld qword [esp + 0xc0]
fsub qword [eax + 0x10]
fstp dword [esp + 0xe8]
lea eax, [esp + 0xd4]
push eax
push ecx
call fcn.004b2c70
add esp, 0x14
test eax, eax
je 0x4c96b5
lea edx, [esp + 0x48]
lea eax, [esp + 0xbc]
push edx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
push 0
push 0
call fcn.004b2d90
add esp, 0x18
test al, al
je 0x4c96b5
mov eax, dword [ebp + 0x10]
fld qword [esi]
fsub qword [eax]
fadd dword [esp + 0x20]
fstp qword [esp + 0x8c]
fld qword [edi]
fsub qword [eax + 8]
fadd dword [esp + 0x24]
fstp qword [esp + 0x94]
fld qword [ebx]
fsub qword [eax + 0x10]
fadd dword [esp + 0x28]
fst qword [esp + 0x9c]
fmul qword [esp + 0x9c]
fld qword [esp + 0x94]
fmul qword [esp + 0x94]
faddp st(1)
fld qword [esp + 0x8c]
fmul qword [esp + 0x8c]
faddp st(1)
fld qword [esp + 0x58]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4c96b3
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x64], ecx
fstp qword [esp + 0x58]
mov ecx, 6
lea esi, [esp + 0x8c]
lea edi, [esp + 0x128]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], edx
rep movsd dword es:[edi], dword [esi]
jmp 0x4c96b5
fstp st(0)
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add ecx, 4
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
jne 0x4c93d9
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4c9737
fld dword [esp + 0x68]
fmul qword [esp + 0x138]
fld dword [esp + 0x64]
fmul qword [esp + 0x130]
faddp st(1)
fld dword [esp + 0x60]
fmul qword [esp + 0x128]
faddp st(1)
fmul dword [esp + 0x78]
fcomp qword [0x5333b0]
fnstsw ax
test ah, 0x41
jne 0x4c9722
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x18]
mov eax, 1
mov dword [ecx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x18]
pop edi
pop esi
mov eax, 1
mov dword [edx], 0
pop ebx
mov esp, ebp
pop ebp
ret