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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58dacb
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x6b3854]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x6b3854]
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 0x543305
push str.____mapDesc__NULL____
push 0x6d4984
call fcn.00519220
add esp, 8
mov eax, dword [esi + 0x14]
add eax, 0x1d8
cmp byte [eax], bl
je 0x543354
push ebx
push 4
push ebx
lea edi, [esi + 0x290]
push eax
mov ecx, edi
call fcn.0053d770
mov eax, dword [esi + 0x14]
fld dword [eax + 0x218]
push ecx
mov ecx, edi
fstp dword [esp]
call fcn.0053d0e0
fld dword [0x5a2570]
sub esp, 8
fstp dword [esp + 4]
mov ecx, 0x6f24e0
fldz
fstp dword [esp]
push edi
call fcn.00544a20
mov edx, dword [esi + 0x14]
mov ecx, dword [0x6b5cb0]
mov eax, dword [edx + 0x184]
mov ecx, dword [ecx + 8]
push eax
call fcn.00539de0
mov ecx, dword [0x6b5cb0]
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.00539df0
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0xb4]
mov eax, dword [0x6f034c]
mov dword [0x6f0350], 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 [0x6f034c]
push eax
cmp dword [ecx + 0x30], ebx
je 0x5433f9
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 [0x6f034c]
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 0x54340c
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 [0x6f034c]
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 [0x592f40]
mov edx, dword [edx + 0x88]
push ebx
sub esp, 0xc
fmul qword [0x592f48]
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 [0x59ae2c]
fstp dword [esp]
push ecx
push eax
call edx
mov eax, dword [esi + 0x14]
fld dword [eax + 0x18]
push str.AUDIOMGR__PlayBGM
fstp dword [0x6f2a8c]
push 0x6d4984
fldz
fstp dword [0x6f2a88]
mov ecx, dword [esi + 0x14]
fld dword [ecx + 0x1c]
fdiv qword [0x592f40]
fmul qword [0x592f48]
fstp dword [0x6f2a90]
call fcn.00519220
mov edx, dword [esi + 0x14]
movzx eax, word [edx + 0x138]
add esp, 8
push eax
mov ecx, 0x6f2050
call fcn.0053e3b0
push 0x5a2d5c
push 0x6d4984
call fcn.00519220
mov eax, dword [0x6f034c]
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 [0x593390]
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 [0x6f034c]
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 [0x6ef218], 2
jne 0x5435b8
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 [0x599738]
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 [0x5a2d58]
fstp dword [esp]
push edx
push eax
push ebx
call fcn.0053a970
mov ecx, dword [esi + 0x14]
cmp dword [ecx + 0x140], ebx
je 0x5435f3
push 0xc
mov ecx, 0x6f2e08
call fcn.00552ba0
mov edx, dword [esi + 0x14]
push ebx
push 4
push ebx
add edx, 0x144
push edx
lea ecx, [esi + 0x1f8]
call fcn.0053d770
push ebx
mov ecx, 0x6f2e08
call fcn.00552ba0
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x1cc], ebx
je 0x54381f
add eax, 0x18c
push eax
call fcn.0053c190
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x1d4]
mov edx, dword [eax + 0x1d0]
push ecx
push edx
call fcn.0053bfc0
fld dword [0x597358]
fstp dword [esp + 0x64]
lea eax, [esp + 0x64]
fldz
push eax
fstp dword [esp + 0x6c]
fld dword [0x59ae28]
fstp dword [esp + 0x70]
call fcn.0053bfa0
add esp, 0x10
cmp dword [0x6f0420], ebx
jne 0x543665
push ebx
push 0x16f
push str.MHMap.cpp
call fcn.0051eca0
add esp, 0xc
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + 0x1cc]
fild dword [ecx + 0x1cc]
test edx, edx
jns 0x54367e
fadd qword [0x596740]
call fcn.0056e9f0
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 0x5436c1
fadd dword [0x591970]
fdivr qword [0x597340]
mov dword [esp + 0x34], ebx
fstp dword [esp + 0x30]
cmp eax, ebx
jbe 0x54381f
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 0x543714
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
fild dword [esp + 0x34]
xor esi, esi
test edx, edx
jns 0x543728
fadd dword [0x591970]
fmul dword [esp + 0x30]
fstp qword [esp + 0x3c]
jmp 0x543736
mov ebx, dword [esp + 0x18]
push 0xa8
call fcn.0056dadb
add esp, 4
mov dword [esp + 0x20], eax
xor edi, edi
mov dword [esp + 0x90], edi
cmp eax, edi
je 0x54375d
mov ecx, eax
call fcn.0053bf70
mov edi, eax
mov dword [esp + 0x90], 0xffffffff
call fcn.0056db6d
xor edx, edx
div ebx
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
test edx, edx
jns 0x543783
fadd dword [0x591970]
fadd qword [esp + 0x3c]
fstp dword [esp + 0x20]
call fcn.0056db6d
xor edx, edx
div ebx
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
test edx, edx
jns 0x5437a6
fadd dword [0x591970]
mov eax, esi
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
test eax, eax
jns 0x5437ba
fadd dword [0x591970]
fmul dword [esp + 0x30]
mov ebx, dword [0x6f0420]
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.0056db6d
xor edx, edx
div ebx
mov ecx, edi
push edx
call fcn.0053c320
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
push ebx
push edi
call fcn.00558f80
inc ebx
inc esi
mov dword [esp + 0x38], ebx
cmp esi, dword [esp + 0x14]
jb 0x543732
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x14]
jb 0x543710
push str.Apply_MapDesc_Ends
push 0x6d4984
call fcn.00519220
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.0056ca39
mov esp, ebp
pop ebp
ret