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

Disassembly:
mov ecx, dword [ecx + 0x172b4]
test ecx, ecx
jne 0x55479f
xor eax, eax
ret 0x14
jmp 0x558430
sub esp, 0x14c
mov eax, dword [0x691844]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x15c]
fld dword [esi]
mov eax, dword [esp + 0x164]
fld qword [0x5b1db8]
mov ebp, dword [esp + 0x160]
fdiv st(1), st(0)
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x16c]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], ecx
fxch st(1)
call fcn.00599920
fld dword [esi + 8]
fdiv st(1)
mov edi, eax
mov dword [esp + 0x2c], edi
call fcn.00599920
fld dword [ebp]
fdiv st(1)
mov ebx, eax
mov dword [esp + 0x28], ebx
call fcn.00599920
fld dword [ebp + 8]
fdiv st(1)
mov esi, edi
sub esi, eax
call fcn.00599920
mov ecx, ebx
sub ecx, eax
mov edx, esi
test esi, esi
jge 0x5584c1
neg edx
mov dword [esp + 0x3c], edx
jmp 0x5584c5
mov dword [esp + 0x3c], esi
mov eax, ecx
test ecx, ecx
jge 0x5584d3
neg eax
mov dword [esp + 0x38], eax
jmp 0x5584d7
mov dword [esp + 0x38], ecx
cmp edx, eax
mov dword [esp + 0x24], edx
jg 0x5584e3
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x54], eax
cmp edi, eax
jae 0x55851f
mov eax, dword [edx + 4]
mov dword [esp + 0x30], eax
cmp ebx, eax
jae 0x55851f
mov edx, dword [edx + 0xc]
imul eax, ebx
mov dword [esp + 0x34], edx
lea edx, [eax + edi]
mov ebp, edx
shl ebp, 4
sub ebp, edx
mov edx, dword [esp + 0x34]
lea edx, [edx + ebp*4]
test edx, edx
jne 0x55858e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x55853d
fild dword [esp + 0x2c]
fmul st(1)
fstp dword [eax]
fldz
fstp dword [eax + 4]
fimul dword [esp + 0x28]
fstp dword [eax + 8]
jmp 0x55853f
fstp st(0)
push 0xff
lea eax, [esp + 0x5d]
push 0
push eax
mov byte [esp + 0x64], 0
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x4c]
add ecx, 0x131
push ecx
push ebx
push edi
lea edx, [esp + 0x70]
push str._d__d__s
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x78]
push eax
push 0x4a2
push str..TileManager.cpp
call fcn.00527110
add esp, 0x2c
jmp 0x55874e
cmp byte [edx], 0
jne 0x55859d
cmp byte [edx + 1], 0
je 0x558670
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x1c], ebp
jle 0x5585ac
lea esi, [ebp + 1]
jmp 0x5585b0
neg esi
sbb esi, esi
neg esi
cmp ecx, ebp
mov dword [esp + 0x44], esi
jle 0x5585c1
mov ecx, 1
jmp 0x5585c5
neg ecx
sbb ecx, ecx
neg ecx
mov edx, ecx
mov ecx, dword [esp + 0x24]
xor esi, esi
cmp ecx, ebp
mov dword [esp + 0x4c], edx
mov dword [esp + 0x20], esi
jl 0x558670
mov ebx, eax
mov eax, dword [esp + 0x30]
imul eax, edx
mov edx, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], eax
cmp esi, 2
jg 0x558695
add ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
add dword [esp + 0x1c], eax
cmp ebp, ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], edi
jle 0x558619
sub ebp, ecx
add edx, dword [esp + 0x44]
cmp dword [esp + 0x1c], ecx
jle 0x55862b
sub dword [esp + 0x1c], ecx
add edi, dword [esp + 0x4c]
add ebx, dword [esp + 0x24]
cmp edx, dword [esp + 0x54]
jae 0x5586c2
cmp edi, dword [esp + 0x30]
jae 0x5586c2
lea eax, [ebx + edx]
mov esi, eax
shl esi, 4
sub esi, eax
mov eax, dword [esp + 0x34]
lea eax, [eax + esi*4]
test eax, eax
je 0x5586c2
cmp byte [eax], 0
jne 0x558663
cmp byte [eax + 1], 0
je 0x558718
mov esi, dword [esp + 0x20]
inc esi
cmp esi, ecx
mov dword [esp + 0x20], esi
jle 0x5585f2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x55874c
fild dword [esp + 0x2c]
fmul st(1)
fstp dword [eax]
fldz
fstp dword [eax + 4]
fimul dword [esp + 0x28]
fstp dword [eax + 8]
jmp 0x55874e
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edx
test eax, eax
je 0x55874c
fild dword [esp + 0x10]
fmul st(1)
fstp dword [eax]
fldz
fstp dword [eax + 4]
fimul dword [esp + 0x14]
fstp dword [eax + 8]
jmp 0x55874e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5586e0
fild dword [esp + 0x48]
fmul st(1)
fstp dword [eax]
fldz
fstp dword [eax + 4]
fimul dword [esp + 0x50]
fstp dword [eax + 8]
jmp 0x5586e2
fstp st(0)
mov ecx, dword [esp + 0x40]
add ecx, 0x131
push ecx
push edi
push edx
lea edx, [esp + 0x64]
push str._d__d__s
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x6c]
push eax
push 0x4ea
push str..TileManager.cpp
call fcn.00527110
add esp, 0x20
jmp 0x55874e
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edx
test eax, eax
je 0x558743
fild dword [esp + 0x10]
fmul st(1)
fstp dword [eax]
fldz
fstp dword [eax + 4]
fimul dword [esp + 0x14]
fstp dword [eax + 8]
mov eax, 1
jmp 0x558750
fstp st(0)
mov eax, 1
jmp 0x558750
fstp st(0)
xor eax, eax
mov ecx, dword [esp + 0x158]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005997a8
add esp, 0x14c
ret 0x14