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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ca1fd
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x70a108]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x70a108]
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 0x550a55
push str.____mapDesc__NULL____
push 0x729900
call fcn.005226b0
add esp, 8
mov eax, dword [esi + 0x14]
add eax, 0x1d8
cmp byte [eax], bl
je 0x550aa4
push ebx
push 4
push ebx
lea edi, [esi + 0x290]
push eax
mov ecx, edi
call fcn.0054aa70
mov eax, dword [esi + 0x14]
fld dword [eax + 0x218]
push ecx
mov ecx, edi
fstp dword [esp]
call fcn.0054a3c0
fld dword [0x5e5f50]
sub esp, 8
fstp dword [esp + 4]
mov ecx, 0x747860
fldz
fstp dword [esp]
push edi
call fcn.0055dcc0
mov edx, dword [esi + 0x14]
mov ecx, dword [0x70be08]
mov eax, dword [edx + 0x184]
mov ecx, dword [ecx + 8]
push eax
call fcn.005460f0
mov ecx, dword [0x70be08]
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.00546100
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0xb4]
mov eax, dword [0x745674]
mov dword [0x745678], 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 [0x745674]
push eax
cmp dword [ecx + 0x30], ebx
je 0x550b49
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 [0x745674]
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 0x550b5c
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 [0x745674]
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 [0x5d22e0]
mov edx, dword [edx + 0x88]
push ebx
sub esp, 0xc
fmul qword [0x5d22e8]
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 [0x5db2b4]
fstp dword [esp]
push ecx
push eax
call edx
mov eax, dword [esi + 0x14]
fld dword [eax + 0x18]
push str.AUDIOMGR__PlayBGM
fstp dword [0x747e0c]
push 0x729900
fldz
fstp dword [0x747e08]
mov ecx, dword [esi + 0x14]
fld dword [ecx + 0x1c]
fdiv qword [0x5d22e0]
fmul qword [0x5d22e8]
fstp dword [0x747e10]
call fcn.005226b0
mov edx, dword [esi + 0x14]
movzx eax, word [edx + 0x138]
add esp, 8
push eax
mov ecx, 0x747378
call fcn.0054b720
push 0x5e6cd0
push 0x729900
call fcn.005226b0
mov eax, dword [0x745674]
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 [0x5d2870]
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 [0x745674]
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 [0x744540], 2
jne 0x550d08
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 [0x5d9a98]
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 [0x5e6ccc]
fstp dword [esp]
push edx
push eax
push ebx
call fcn.00547770
mov ecx, dword [esi + 0x14]
cmp dword [ecx + 0x140], ebx
je 0x550d43
push 0xc
mov ecx, 0x748188
call fcn.0056c2c0
mov edx, dword [esi + 0x14]
push ebx
push 4
push ebx
add edx, 0x144
push edx
lea ecx, [esi + 0x1f8]
call fcn.0054aa70
push ebx
mov ecx, 0x748188
call fcn.0056c2c0
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x1cc], ebx
je 0x550f6f
add eax, 0x18c
push eax
call fcn.005491f0
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x1d4]
mov edx, dword [eax + 0x1d0]
push ecx
push edx
call fcn.00549040
fld dword [0x5d6ccc]
fstp dword [esp + 0x64]
lea eax, [esp + 0x64]
fldz
push eax
fstp dword [esp + 0x6c]
fld dword [0x5db2b0]
fstp dword [esp + 0x70]
call fcn.00549020
add esp, 0x10
cmp dword [0x74575c], ebx
jne 0x550db5
push ebx
push 0x178
push str.MHMap.cpp
call fcn.00529940
add esp, 0xc
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + 0x1cc]
fild dword [ecx + 0x1cc]
test edx, edx
jns 0x550dce
fadd qword [0x5cf648]
call fcn.0058a610
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 0x550e11
fadd dword [0x5cf690]
fdivr qword [0x5d6be8]
mov dword [esp + 0x34], ebx
fstp dword [esp + 0x30]
cmp eax, ebx
jbe 0x550f6f
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 0x550e64
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
fild dword [esp + 0x34]
xor esi, esi
test edx, edx
jns 0x550e78
fadd dword [0x5cf690]
fmul dword [esp + 0x30]
fstp qword [esp + 0x3c]
jmp 0x550e86
mov ebx, dword [esp + 0x18]
push 0xa8
call fcn.00586f10
add esp, 4
mov dword [esp + 0x20], eax
xor edi, edi
mov dword [esp + 0x90], edi
cmp eax, edi
je 0x550ead
mov ecx, eax
call fcn.00548ff0
mov edi, eax
mov dword [esp + 0x90], 0xffffffff
call fcn.00589860
xor edx, edx
div ebx
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
test edx, edx
jns 0x550ed3
fadd dword [0x5cf690]
fadd qword [esp + 0x3c]
fstp dword [esp + 0x20]
call fcn.00589860
xor edx, edx
div ebx
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
test edx, edx
jns 0x550ef6
fadd dword [0x5cf690]
mov eax, esi
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
test eax, eax
jns 0x550f0a
fadd dword [0x5cf690]
fmul dword [esp + 0x30]
mov ebx, dword [0x74575c]
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.00589860
xor edx, edx
div ebx
mov ecx, edi
push edx
call fcn.00549380
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
push ebx
push edi
call fcn.0053e110
inc ebx
inc esi
mov dword [esp + 0x38], ebx
cmp esi, dword [esp + 0x14]
jb 0x550e82
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x14]
jb 0x550e60
push str.Apply_MapDesc_Ends
push 0x729900
call fcn.005226b0
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.00586d40
mov esp, ebp
pop ebp
ret