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

Disassembly:
sub esp, 0x54
fld dword [0x132575c]
fmul dword [0x537b08]
mov eax, dword [0x1325768]
mov ecx, dword [0x132576c]
mov edx, dword [0x1325770]
push ebx
push ebp
mov dword [esp + 0x18], eax
fstp dword [esp + 0xc]
fld dword [0x1325760]
fmul dword [0x537b08]
push esi
lea eax, [esp + 0x1c]
push edi
xor esi, esi
push eax
mov dword [esp + 0x14], esi
fstp dword [esp + 0x1c]
fld dword [0x1325764]
fmul dword [0x537b08]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
fstp dword [esp + 0x20]
call fcn.0045adf0
lea ecx, [esp + 0x18]
fstp st(0)
push ecx
call fcn.0045adf0
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 0x4ba3f1
push eax
lea edx, [esp + 0x54]
push 0x564d70
push edx
call fcn.0051be3e
fld dword [esp + 0x78]
add esp, 4
lea eax, [esp + 0x58]
fstp qword [esp]
push eax
call fcn.004648a0
add esp, 0xc
jmp 0x4ba408
fld dword [esp + 0x6c]
call fcn.0051bfdc
push eax
push sym.MOHAA.exe____C__02MECO___CFd__AA_
call fcn.004648a0
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 0x4ba41f
mov eax, dword [ecx + 0xc]
jmp 0x4ba421
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 0x4ba474
mov eax, dword [ecx + 0xc]
jmp 0x4ba476
xor eax, eax
cmp esi, eax
jge 0x4ba615
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 0x4ba49a
mov eax, 0xa
jmp 0x4ba4cc
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 0x4ba4b6
mov eax, 0xb
jmp 0x4ba4cc
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, 0x564b20
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x4ba5cf
shl eax, 4
push 0x3f800000
push ebx
fld dword [eax + 0x564ca0]
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 + 0x564ca4]
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 + 0x564ca8]
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 + 0x564cac]
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.0049a5c0
mov ecx, dword [esp + 0x28]
add esp, 0x18
inc esi
add edi, 4
cmp esi, 8
jl 0x4ba4d8
fld dword [esp + 0x14]
fmul qword [0x538388]
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 [0x538388]
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x1c]
fmul qword [0x538388]
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
jmp 0x4ba46b
pop edi
pop esi
pop ebp
pop ebx
test ecx, ecx
je 0x4ba622
call fcn.0046f6d0
add esp, 0x54
ret