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

Disassembly:
sub esp, 0x54
fld dword [0x12ffe00]
fmul dword [0x531ae0]
mov eax, dword [0x12ffe0c]
mov ecx, dword [0x12ffe10]
mov edx, dword [0x12ffe14]
push ebx
push ebp
mov dword [esp + 0x18], eax
fstp dword [esp + 0xc]
fld dword [0x12ffe04]
fmul dword [0x531ae0]
push esi
lea eax, [esp + 0x1c]
push edi
xor esi, esi
push eax
mov dword [esp + 0x14], esi
fstp dword [esp + 0x1c]
fld dword [0x12ffe08]
fmul dword [0x531ae0]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
fstp dword [esp + 0x20]
call fcn.004588d0
lea ecx, [esp + 0x18]
fstp st(0)
push ecx
call fcn.004588d0
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 0x4b58b1
push eax
lea edx, [esp + 0x54]
push 0x55e1d0
push edx
call fcn.00516c8e
fld dword [esp + 0x78]
add esp, 4
lea eax, [esp + 0x58]
fstp qword [esp]
push eax
call fcn.004622e0
add esp, 0xc
jmp 0x4b58c8
fld dword [esp + 0x6c]
call fcn.00516e2c
push eax
push sym.MOHAA.exe____C__02MECO___CFd__AA_
call fcn.004622e0
add esp, 8
lea ecx, [esp + 0x10]
push eax
call sym.MOHAA.exe_public:_void___thiscall_str::operator_char_const__
mov ecx, dword [esp + 0x10]
cmp ecx, esi
je 0x4b58df
mov eax, dword [ecx + 0xc]
jmp 0x4b58e1
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 0x4b5934
mov eax, dword [ecx + 0xc]
jmp 0x4b5936
xor eax, eax
cmp esi, eax
jge 0x4b5ad5
lea ecx, [esp + 0x10]
call sym.MOHAA.exe_private:_void___thiscall_str::EnsureDataWritable_void_
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
cmp byte [esi + edx], 0x2e
jne 0x4b595a
mov eax, 0xa
jmp 0x4b598c
lea ecx, [esp + 0x10]
call sym.MOHAA.exe_private:_void___thiscall_str::EnsureDataWritable_void_
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
cmp byte [esi + eax], 0x2d
jne 0x4b5976
mov eax, 0xb
jmp 0x4b598c
lea ecx, [esp + 0x10]
call sym.MOHAA.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, 0x55df80
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x4b5a8f
shl eax, 4
push 0x3f800000
push ebx
fld dword [eax + 0x55e100]
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 + 0x55e104]
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 + 0x55e108]
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 + 0x55e10c]
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.00496bb0
mov ecx, dword [esp + 0x28]
add esp, 0x18
inc esi
add edi, 4
cmp esi, 8
jl 0x4b5998
fld dword [esp + 0x14]
fmul qword [0x532270]
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 [0x532270]
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x1c]
fmul qword [0x532270]
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
jmp 0x4b592b
pop edi
pop esi
pop ebp
pop ebx
test ecx, ecx
je 0x4b5ae2
call fcn.0046c950
add esp, 0x54
ret