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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b5a9d
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x6e2f0c]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x6e2f0c]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
jne 0x55eab5
push str.____mapDesc__NULL____
push 0x704258
call fcn.0052d310
add esp, 8
mov eax, dword [esi + 0x14]
add eax, 0x1d8
cmp byte [eax], bl
je 0x55eb04
push ebx
push 4
push ebx
lea edi, [esi + 0x290]
push eax
mov ecx, edi
call fcn.005589e0
mov eax, dword [esi + 0x14]
fld dword [eax + 0x218]
push ecx
mov ecx, edi
fstp dword [esp]
call fcn.00558330
fld dword [0x5cbd70]
sub esp, 8
fstp dword [esp + 4]
mov ecx, 0x721eb8
fldz
fstp dword [esp]
push edi
call fcn.00560210
mov edx, dword [esi + 0x14]
mov ecx, dword [0x6e5370]
mov eax, dword [edx + 0x184]
mov ecx, dword [ecx + 8]
push eax
call fcn.00554090
mov ecx, dword [0x6e5370]
mov eax, dword [esi + 0x14]
mov ecx, dword [ecx + 8]
fld dword [eax + 4]
mov edx, dword [eax]
push ecx
fstp dword [esp]
push edx
call fcn.005540a0
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0xb4]
mov eax, dword [0x71fd24]
mov dword [0x71fd28], ecx
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x18]
call eax
mov edx, dword [esi + 0x14]
mov edx, dword [edx + 0x14]
mov ecx, dword [eax]
push edx
push ebx
push eax
mov eax, dword [ecx + 0xd4]
call eax
mov ecx, dword [esi + 0x14]
mov eax, dword [0x71fd24]
push eax
cmp dword [ecx + 0x30], ebx
je 0x55eba9
mov edx, dword [eax]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa4]
push ebx
push eax
call edx
mov eax, dword [0x71fd24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push eax
call edx
mov edx, dword [esi + 0x14]
mov ecx, dword [eax]
push ebx
add edx, 0x20
push edx
push eax
mov eax, dword [ecx + 0xa0]
call eax
jmp 0x55ebbc
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
call edx
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push ebx
push eax
call edx
fldz
mov eax, dword [0x71fd24]
fst dword [esp + 0x4c]
push eax
fst dword [esp + 0x54]
fstp dword [esp + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
call edx
mov ecx, dword [esi + 0x14]
fld dword [ecx + 0x1c]
mov edx, dword [eax]
fdiv qword [0x5bb348]
mov edx, dword [edx + 0x88]
push ebx
sub esp, 0xc
fmul qword [0x5bb350]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp + 8]
fld dword [ecx + 0x18]
lea ecx, [esp + 0x5c]
fstp dword [esp + 4]
fld dword [0x5c3a44]
fstp dword [esp]
push ecx
push eax
call edx
mov eax, dword [esi + 0x14]
fld dword [eax + 0x18]
push str.AUDIOMGR__PlayBGM
fstp dword [0x722464]
push 0x704258
fldz
fstp dword [0x722460]
mov ecx, dword [esi + 0x14]
fld dword [ecx + 0x1c]
fdiv qword [0x5bb348]
fmul qword [0x5bb350]
fstp dword [0x722468]
call fcn.0052d310
mov edx, dword [esi + 0x14]
movzx eax, word [edx + 0x138]
add esp, 8
push eax
mov ecx, 0x721a28
call fcn.00559690
push 0x5cc5cc
push 0x704258
call fcn.0052d310
mov eax, dword [0x71fd24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
add esp, 8
push eax
call edx
mov ecx, dword [eax]
mov edx, dword [ecx + 0xb4]
push ebx
push eax
call edx
or eax, 0xffffffff
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x64], ebx
fld dword [eax + 8]
fld qword [0x5bb8d8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x3c]
fld dword [eax + 0xc]
fmul st(1)
fstp dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
fmul dword [eax + 0x10]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
fstp dword [esp + 0x44]
mov edx, dword [esp + 0x44]
mov eax, dword [0x71fd24]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], 1
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push eax
call edx
mov ecx, dword [eax]
push ebx
lea edx, [esp + 0x68]
push edx
push eax
mov eax, dword [ecx + 0xac]
call eax
cmp byte [0x71ebf0], 2
jne 0x55ed68
fldz
lea ecx, [esi + 0x360]
fst dword [esp + 0x3c]
push ecx
fst dword [esp + 0x44]
fstp dword [esp + 0x48]
call dword [sym.imp.SS3DGFunc.dll__VECTOR3Length_4]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
sub esp, 8
fadd qword [0x5c2208]
lea edx, [esp + 0x44]
lea eax, [esp + 0x54]
lea ecx, [esi + 0x328]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [0x5cc5c8]
fstp dword [esp]
push edx
push eax
push ebx
call fcn.005556e0
mov ecx, dword [esi + 0x14]
cmp dword [ecx + 0x140], ebx
je 0x55eda3
push 0xc
mov ecx, 0x7227e0
call fcn.0056e5e0
mov edx, dword [esi + 0x14]
push ebx
push 4
push ebx
add edx, 0x144
push edx
lea ecx, [esi + 0x1f8]
call fcn.005589e0
push ebx
mov ecx, 0x7227e0
call fcn.0056e5e0
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x1cc], ebx
je 0x55efcf
add eax, 0x18c
push eax
call fcn.00557160
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x1d4]
mov edx, dword [eax + 0x1d0]
push ecx
push edx
call fcn.00556fb0
fld dword [0x5bfd40]
fstp dword [esp + 0x64]
lea eax, [esp + 0x64]
fldz
push eax
fstp dword [esp + 0x6c]
fld dword [0x5c3a40]
fstp dword [esp + 0x70]
call fcn.00556f90
add esp, 0x10
cmp dword [0x71fdf8], ebx
jne 0x55ee15
push ebx
push 0x16f
push str.MHMap.cpp
call fcn.00533d80
add esp, 0xc
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + 0x1cc]
fild dword [ecx + 0x1cc]
test edx, edx
jns 0x55ee2e
fadd qword [0x5beef8]
call fcn.0058f4a0
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], ebx
fldcw word [esp + 0x14]
fistp qword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov ecx, eax
mov dword [esp + 0x24], ecx
fldcw word [esp + 0x18]
mov dword [esp + 0x14], eax
fild dword [esp + 0x24]
test ecx, ecx
jns 0x55ee71
fadd dword [0x5b9d60]
fdivr qword [0x5bfd28]
mov dword [esp + 0x34], ebx
fstp dword [esp + 0x30]
cmp eax, ebx
jbe 0x55efcf
fld dword [esp + 0x30]
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x1c], eax
add esi, 0x338
fldcw word [esp + 0x1c]
fistp qword [esp + 0x24]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x24], esi
fldcw word [esp + 0x18]
mov dword [esp + 0x18], ebx
jmp 0x55eec4
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
fild dword [esp + 0x34]
xor esi, esi
test edx, edx
jns 0x55eed8
fadd dword [0x5b9d60]
fmul dword [esp + 0x30]
fstp qword [esp + 0x3c]
jmp 0x55eee6
mov ebx, dword [esp + 0x18]
push 0xa8
call fcn.0058e54b
add esp, 4
mov dword [esp + 0x20], eax
xor edi, edi
mov dword [esp + 0x90], edi
cmp eax, edi
je 0x55ef0d
mov ecx, eax
call fcn.00556f60
mov edi, eax
mov dword [esp + 0x90], 0xffffffff
call fcn.0058e5dd
xor edx, edx
div ebx
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
test edx, edx
jns 0x55ef33
fadd dword [0x5b9d60]
fadd qword [esp + 0x3c]
fstp dword [esp + 0x20]
call fcn.0058e5dd
xor edx, edx
div ebx
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
test edx, edx
jns 0x55ef56
fadd dword [0x5b9d60]
mov eax, esi
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
test eax, eax
jns 0x55ef6a
fadd dword [0x5b9d60]
fmul dword [esp + 0x30]
mov ebx, dword [0x71fdf8]
sub esp, 8
faddp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.0058e5dd
xor edx, edx
div ebx
mov ecx, edi
push edx
call fcn.005572f0
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
push ebx
push edi
call fcn.00451ec0
inc ebx
inc esi
mov dword [esp + 0x38], ebx
cmp esi, dword [esp + 0x14]
jb 0x55eee2
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x14]
jb 0x55eec0
push str.Apply_MapDesc_Ends
push 0x704258
call fcn.0052d310
add esp, 8
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0058d3fe
mov esp, ebp
pop ebp
ret