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

Disassembly:
sub esp, 0x54
fld dword [0x160d3bc]
fmul dword [0x54edc0]
mov eax, dword [0x160d3c8]
mov ecx, dword [0x160d3cc]
mov edx, dword [0x160d3d0]
push ebx
push ebp
mov dword [esp + 0x18], eax
fstp dword [esp + 0xc]
fld dword [0x160d3c0]
fmul dword [0x54edc0]
push esi
lea eax, [esp + 0x1c]
push edi
xor esi, esi
push eax
mov dword [esp + 0x14], esi
fstp dword [esp + 0x1c]
fld dword [0x160d3c4]
fmul dword [0x54edc0]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
fstp dword [esp + 0x20]
call fcn.004694c0
lea ecx, [esp + 0x18]
fstp st(0)
push ecx
call fcn.004694c0
fstp st(0)
fld dword [esp + 0x28]
fmul dword [esp + 0x78]
mov eax, dword [esp + 0x88]
add esp, 8
cmp eax, esi
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [esp + 0x70]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul dword [esp + 0x70]
fstp dword [esp + 0x28]
fld dword [esp + 0x14]
fmul dword [esp + 0x70]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fmul dword [esp + 0x70]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fmul dword [esp + 0x70]
fstp dword [esp + 0x1c]
jle 0x4cda31
push eax
lea edx, [esp + 0x54]
push 0x57f0a0
push edx
call fcn.00532cbe
fld dword [esp + 0x78]
add esp, 4
lea eax, [esp + 0x58]
fstp qword [esp]
push eax
call fcn.00473b80
add esp, 0xc
jmp 0x4cda48
fld dword [esp + 0x6c]
call fcn.00532e5c
push eax
push sym.moh_spearhead.exe____C__02MECO___CFd__AA_
call fcn.00473b80
add esp, 8
lea ecx, [esp + 0x10]
push eax
call sym.moh_spearhead.exe_public:_void___thiscall_str::operator_char_const__
mov ecx, dword [esp + 0x10]
cmp ecx, esi
je 0x4cda5f
mov eax, dword [ecx + 0xc]
jmp 0x4cda61
xor eax, eax
lea edx, [eax + eax*4]
mov eax, 5
sub eax, edx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x68]
fild dword [esp + 0x70]
fld dword [esp + 0x14]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x70], esi
fmul st(1)
fadd dword [eax]
fstp dword [esp + 0x2c]
fld dword [esp + 0x18]
fmul st(1)
fadd dword [eax + 4]
fstp dword [esp + 0x30]
fld dword [esp + 0x1c]
fmul st(1)
fadd dword [eax + 8]
fstp dword [esp + 0x34]
fstp st(0)
test ecx, ecx
je 0x4cdab4
mov eax, dword [ecx + 0xc]
jmp 0x4cdab6
xor eax, eax
cmp esi, eax
jge 0x4cdc55
lea ecx, [esp + 0x10]
call sym.moh_spearhead.exe_private:_void___thiscall_str::EnsureDataWritable_void_
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
cmp byte [esi + edx], 0x2e
jne 0x4cdada
mov eax, 0xa
jmp 0x4cdb0c
lea ecx, [esp + 0x10]
call sym.moh_spearhead.exe_private:_void___thiscall_str::EnsureDataWritable_void_
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
cmp byte [esi + eax], 0x2d
jne 0x4cdaf6
mov eax, 0xb
jmp 0x4cdb0c
lea ecx, [esp + 0x10]
call sym.moh_spearhead.exe_private:_void___thiscall_str::EnsureDataWritable_void_
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
movsx eax, byte [esi + edx]
sub eax, 0x30
shl eax, 5
xor esi, esi
add eax, 0x57ee50
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x4cdc0f
shl eax, 4
push 0x3f800000
push ebx
fld dword [eax + 0x57efd0]
fld dword [esp + 0x1c]
fmul st(1)
push ebp
lea ecx, [esp + 0x44]
lea edx, [esp + 0x50]
fadd dword [esp + 0x38]
fstp dword [esp + 0x50]
fld dword [esp + 0x24]
fmul st(1)
fadd dword [esp + 0x3c]
fstp dword [esp + 0x54]
fmul dword [esp + 0x28]
fadd dword [esp + 0x40]
fld dword [eax + 0x57efd4]
fld dword [esp + 0x2c]
fmul st(1)
fadd dword [esp + 0x50]
fstp dword [esp + 0x50]
fld dword [esp + 0x30]
fmul st(1)
fadd dword [esp + 0x54]
fstp dword [esp + 0x54]
fld dword [esp + 0x34]
fmul st(1)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x58]
fstp st(0)
fld dword [eax + 0x57efd8]
fld dword [esp + 0x20]
fmul st(1)
fadd dword [esp + 0x38]
fstp dword [esp + 0x44]
fld dword [esp + 0x24]
fmul st(1)
fadd dword [esp + 0x3c]
fstp dword [esp + 0x48]
fmul dword [esp + 0x28]
fadd dword [esp + 0x40]
fld dword [eax + 0x57efdc]
fld dword [esp + 0x2c]
fmul st(1)
mov eax, dword [esp + 0x80]
push eax
push ecx
fadd dword [esp + 0x4c]
push edx
fstp dword [esp + 0x50]
fld dword [esp + 0x3c]
fmul st(1)
fadd dword [esp + 0x54]
fstp dword [esp + 0x54]
fld dword [esp + 0x40]
fmul st(1)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x58]
fstp st(0)
call fcn.004ac300
mov ecx, dword [esp + 0x28]
add esp, 0x18
inc esi
add edi, 4
cmp esi, 8
jl 0x4cdb18
fld dword [esp + 0x14]
fmul qword [0x54f8a0]
mov eax, dword [esp + 0x70]
inc eax
fadd dword [esp + 0x2c]
mov dword [esp + 0x70], eax
mov esi, eax
fstp dword [esp + 0x2c]
fld dword [esp + 0x18]
fmul qword [0x54f8a0]
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x1c]
fmul qword [0x54f8a0]
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
jmp 0x4cdaab
pop edi
pop esi
pop ebp
pop ebx
test ecx, ecx
je 0x4cdc62
call fcn.0047edc0
add esp, 0x54
ret