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

Disassembly:
push 0xffffffffffffffff
push 0x6ad0ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa64
movzx eax, word [0x8666c4]
push ebx
push ebp
push esi
push edi
push eax
push str.CWorldMgr::LoadWorld
push 0x6bf8d8
mov ebx, ecx
push 4
push 0x224e6c0
mov dword [esp + 0x38], ebx
call fcn.005b9f30
mov esi, dword [esp + 0xa9c]
add esp, 0x14
xor ebp, ebp
mov eax, esi
mov dword [ebx + 0x1401ec], ebp
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451900
sub eax, edx
lea edi, [eax - 4]
push edi
lea ecx, [esp + 0x74]
push esi
push ecx
call fcn.005cd0f0
push esi
mov byte [esp + edi + 0x80], 0
call fcn.005bfb50
push esi
push str.data_world
lea edx, [esp + 0x68c]
push 0x6be1d4
push edx
call fcn.005cd489
or esi, 0xffffffff
add esp, 0x20
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
call fcn.0059fe60
push ebp
lea eax, [esp + 0x678]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0xa84], ebp
call fcn.0059fe70
test al, al
je 0x451982
push 4
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x18]
call fcn.0059fe40
test al, al
jne 0x451999
lea ecx, [esp + 0x10]
mov dword [esp + 0xa7c], esi
call fcn.0059fe60
xor al, al
jmp 0x452435
mov ebp, dword [esp + 0xa8c]
mov edi, 0x6bf8d4
lea esi, [esp + 0x40]
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x451a03
mov byte [esp + 0x17], dl
mov al, byte [ebx + 9]
test al, al
je 0x4519ca
lea ecx, [ebx + 0x13cc3c]
call fcn.005a5d30
push 4
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.0059fe40
test al, al
je 0x451fbd
cmp word [0x8666c4], 0x46
mov eax, dword [esp + 0x18]
jne 0x451b0d
mov dword [ebx + 0x1400e4], 0x640
jmp 0x451b13
mov edi, 0x6bf8d0
lea esi, [esp + 0x40]
mov ecx, 4
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x451a1e
mov byte [esp + 0x17], 1
jmp 0x451a26
mov al, byte [esp + 0x17]
test al, al
je 0x4519b8
push 1
call fcn.005a3660
add esp, 4
push 0x100
lea ecx, [esp + 0x174]
push ecx
lea ecx, [esp + 0x18]
call fcn.0059fe40
test al, al
je 0x451fbd
mov al, byte [ebx + 9]
test al, al
je 0x451a62
lea ecx, [ebx + 0x13cc3c]
call fcn.005a5d30
jmp 0x451a6e
push 0x400
mov ecx, ebx
call fcn.00446d80
lea edx, [esp + 0x170]
push edx
push str.data_world_dungeon
lea ecx, [ebx + 0x13cc3c]
call fcn.005a59f0
test al, al
je 0x451fbd
push 0
push 0x14
mov ecx, 0x22071e0
call fcn.0053b830
push 1
push 0x14
mov ecx, 0x22071e0
call fcn.0053b830
push 2
push 0x14
mov ecx, 0x22071e0
call fcn.0053b830
push 0
push 5
push str.ch_walkd001.wav
push 0
push 0x14
mov ecx, 0x22071e0
call fcn.0053b990
push 0
push 5
push str.ch_walkd002.wav
push 1
push 0x14
mov ecx, 0x22071e0
call fcn.0053b990
push 0
push 5
push str.ch_walkd003.wav
push 2
push 0x14
mov ecx, 0x22071e0
call fcn.0053b990
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0xa8c]
jmp 0x451e5d
mov dword [ebx + 0x1400e4], eax
push eax
mov ecx, ebx
call fcn.00446d80
test al, al
je 0x451fbd
test ebp, ebp
je 0x451b33
push 0x3dcccccd
mov ecx, ebp
call fcn.004b82e0
mov eax, dword [esp + 0xa84]
lea ecx, [esp + 0x10]
push ecx
push str.data_Terrain_detail
lea edx, [esp + 0x78]
push edx
push eax
lea ecx, [ebx + 0xc]
call fcn.005a2df0
test al, al
je 0x451fbd
push 0
push 0x14
mov ecx, 0x22071e0
call fcn.0053b830
push 1
push 0x14
mov ecx, 0x22071e0
call fcn.0053b830
push 2
push 0x14
mov ecx, 0x22071e0
call fcn.0053b830
push 0
push 5
push str.ch_walks001.wav
push 0
push 0x14
mov ecx, 0x22071e0
call fcn.0053b990
push 0
push 5
push str.ch_walks002.wav
push 1
push 0x14
mov ecx, 0x22071e0
call fcn.0053b990
push 0
push 5
push str.ch_walks003.wav
push 2
push 0x14
mov ecx, 0x22071e0
call fcn.0053b990
push 0
push 0x13
mov ecx, 0x22071e0
call fcn.0053b830
push 1
push 0x13
mov ecx, 0x22071e0
call fcn.0053b830
push 2
push 0x13
mov ecx, 0x22071e0
call fcn.0053b830
push 0
push 5
push str.ch_walkw001.wav
push 0
push 0x13
mov ecx, 0x22071e0
call fcn.0053b990
push 0
push 5
push str.ch_walkw002.wav
push 1
push 0x13
mov ecx, 0x22071e0
call fcn.0053b990
push 0
push 5
push str.ch_walkw003.wav
push 2
push 0x13
mov ecx, 0x22071e0
call fcn.0053b990
mov eax, dword [0x224e504]
test eax, eax
jle 0x451dfc
mov ebp, 0x15
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x2207f4c
lea ebx, [ebx]
mov ecx, dword [0x224e500]
mov edx, dword [esp + 0x20]
lea ebx, [edx + ecx + 0x338]
test ebx, ebx
je 0x451dd2
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451c80
sub eax, edx
mov dword [esp + 0x48], eax
je 0x451dd2
push 0
push ebp
mov ecx, 0x22071e0
call fcn.0053b830
push 1
push ebp
mov ecx, 0x22071e0
call fcn.0053b830
push 2
push ebp
mov ecx, 0x22071e0
call fcn.0053b830
xor eax, eax
mov edi, str.ch_walks001.wav
mov esi, ebx
mov ecx, 0x10
repe cmpsb byte [esi], byte es:[edi]
push eax
push 5
jne 0x451d26
push str.ch_walks001.wav
push eax
push ebp
mov ecx, 0x22071e0
call fcn.0053b990
push 0
push 5
push str.ch_walks002.wav
push 1
push ebp
mov ecx, 0x22071e0
call fcn.0053b990
push 0
push 5
push str.ch_walks003.wav
push 2
push ebp
mov ecx, 0x22071e0
call fcn.0053b990
lea ecx, [ebp - 0x15]
cmp ecx, 0x14
jge 0x451dd2
mov edx, dword [esp + 0x1c]
mov word [edx], 6
jmp 0x451dd2
mov edi, str.ch_walkg001.wav
mov esi, ebx
mov ecx, 0x10
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov ecx, 0x22071e0
jne 0x451d88
push str.ch_walkg001.wav
push eax
push ebp
call fcn.0053b990
push 0
push 5
push str.ch_walkg002.wav
push 1
push ebp
mov ecx, 0x22071e0
call fcn.0053b990
push 0
push 5
push str.ch_walkg003.wav
push 2
push ebp
mov ecx, 0x22071e0
call fcn.0053b990
lea ecx, [ebp - 0x15]
cmp ecx, 0x14
jge 0x451dd2
mov edx, dword [esp + 0x1c]
mov word [edx], 3
jmp 0x451dd2
push str.ch_walke001.wav
push 0
push ebp
call fcn.0053b990
push 0
push 5
push str.ch_walke002.wav
push 1
push ebp
mov ecx, 0x22071e0
call fcn.0053b990
push 0
push 5
push str.ch_walke003.wav
push 2
push ebp
mov ecx, 0x22071e0
call fcn.0053b990
lea eax, [ebp - 0x15]
cmp eax, 0x14
jge 0x451dd2
mov ecx, dword [esp + 0x1c]
mov word [ecx], 0
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x224e504]
add esi, 0x438
inc ebp
add ecx, 2
lea edx, [ebp - 0x15]
cmp edx, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
jl 0x451c60
mov ebp, dword [esp + 0xa8c]
test ebp, ebp
je 0x451e13
push 0x3e99999a
mov ecx, ebp
call fcn.004b82e0
push 0x100
lea eax, [esp + 0x174]
push eax
lea ecx, [esp + 0x18]
call fcn.0059fe40
test al, al
je 0x451fbd
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x170]
push ecx
push str.data_entity_water
lea ecx, [esi + 0x13cfe4]
call fcn.005b0670
test ebp, ebp
je 0x451e5d
push 0x3ecccccd
mov ecx, ebp
call fcn.004b82e0
mov bl, byte [esp + 0x17]
lea edx, [esp + 0x10]
push edx
push str.data_entity_building
lea ecx, [esi + 0x13d400]
mov byte [esi + 9], bl
call fcn.004462d0
test al, al
je 0x451fbd
test ebp, ebp
je 0x451e91
push 0x3f000000
mov ecx, ebp
call fcn.004b82e0
lea eax, [esp + 0x10]
push eax
push str.data_entity_shape
lea ecx, [esi + 0x13d468]
call fcn.004462d0
test al, al
je 0x451fbd
test ebp, ebp
je 0x451ebe
push 0x3f19999a
mov ecx, ebp
call fcn.004b82e0
lea ecx, [esp + 0x10]
push ecx
push str.data_entity_tree
lea ecx, [esi + 0x13d4d0]
call fcn.004462d0
test al, al
je 0x451fbd
test ebp, ebp
je 0x451eeb
push 0x3f333333
mov ecx, ebp
call fcn.004b82e0
lea edx, [esp + 0x10]
push edx
push str.data_entity_grass
lea ecx, [esi + 0x13d538]
call fcn.004462d0
test al, al
je 0x451fbd
lea eax, [esp + 0x10]
push eax
push str.data_entity_vani
lea ecx, [esi + 0x13d5a0]
call fcn.004466c0
test al, al
lea ecx, [esp + 0x10]
je 0x4520ce
push ecx
push str.data_entity_vani
lea ecx, [esi + 0x13d608]
call fcn.004466c0
test al, al
je 0x451fbd
lea edx, [esp + 0x10]
push edx
push str.data_world_dungeon
lea ecx, [esi + 0x13d670]
call fcn.00446ab0
test al, al
je 0x451fbd
lea eax, [esp + 0x10]
push eax
push str.data_entity_mani
lea ecx, [esi + 0x13d6d8]
call fcn.00420b30
test al, al
je 0x451fbd
push 0x100
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x18]
call fcn.0059fe40
test al, al
je 0x451fbd
lea ecx, [esi + 0x13d80c]
call fcn.00446f00
mov ecx, 0x220f834
call fcn.00421570
mov eax, dword [0x7198d0]
test eax, eax
mov ecx, 0x220f834
je 0x451fd8
lea edx, [esp + 0x70]
push edx
push str.data_Effect
call fcn.0055a180
test eax, eax
jne 0x451feb
lea ecx, [esp + 0x10]
mov dword [esp + 0xa7c], 0xffffffff
call fcn.0059fe60
xor al, al
jmp 0x452435
push str.L_portal.EFT
push str.data_Effect
call fcn.0055a180
test eax, eax
je 0x451fbd
push 4
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
call fcn.0059fe40
test al, al
je 0x451fbd
mov eax, dword [esp + 0x34]
xor edi, edi
test eax, eax
jle 0x4520a1
lea ecx, [ecx]
push 0xc
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0059fe40
test al, al
lea ecx, [esp + 0x10]
je 0x4520ce
push 0xc
lea edx, [esp + 0x50]
push edx
call fcn.0059fe40
test al, al
lea ecx, [esp + 0x10]
je 0x4520ce
push 0xc
lea eax, [esp + 0x68]
push eax
call fcn.0059fe40
test al, al
je 0x451fbd
push 4
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0059fe40
test al, al
je 0x451fbd
mov eax, dword [0x7198d0]
test eax, eax
je 0x452094
lea edx, [esp + 0x64]
push edx
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x60]
push ecx
push edx
mov ecx, esi
call fcn.00450560
mov eax, dword [esp + 0x34]
inc edi
cmp edi, eax
jl 0x452010
test ebp, ebp
je 0x4520b1
push 0x3f4ccccd
mov ecx, ebp
call fcn.004b82e0
lea eax, [esp + 0x10]
push eax
push str.data_entity_object
lea ecx, [esi + 0x13d740]
call fcn.00536790
test al, al
lea ecx, [esp + 0x10]
jne 0x4520e5
mov dword [esp + 0xa7c], 0xffffffff
call fcn.0059fe60
xor al, al
jmp 0x452435
push ecx
push str.data_entity_object
lea ecx, [esi + 0x13d7a0]
call fcn.00537200
test al, al
je 0x451fbd
lea edx, [esp + 0x10]
push edx
mov ecx, 0x2207f78
call fcn.0053ce70
test al, al
je 0x451fbd
lea eax, [esp + 0x10]
push eax
mov ecx, 0x2207140
call fcn.005388f0
test al, al
je 0x451fbd
test bl, bl
jne 0x45218c
push 0x100
lea ecx, [esp + 0x274]
push ecx
lea ecx, [esp + 0x18]
call fcn.0059fe40
push 0x100
lea edx, [esp + 0x578]
push edx
lea ecx, [esp + 0x18]
call fcn.0059fe40
push 0x100
lea eax, [esp + 0x374]
push eax
lea ecx, [esp + 0x18]
call fcn.0059fe40
lea ecx, [esp + 0x370]
push ecx
lea edx, [esp + 0x578]
push edx
lea eax, [esp + 0x278]
push eax
jmp 0x4521ce
mov eax, dword [esi + 0x1402b8]
test eax, eax
je 0x4521d9
mov ax, word [0x8666c4]
cmp ax, 0x27
je 0x4521bf
cmp ax, 0x3c
je 0x4521bf
cmp ax, 0x28
jne 0x4521d9
push str.clouds01_A1.tga
push str.clouds01_A1.tga
push str.sky_B1.bmp
jmp 0x4521ce
push str.clouds01_A1.tga
push str.clouds01_A1.tga
push str.Sky_A1.bmp
lea ecx, [esi + 0x13ff68]
call fcn.0054c8a0
push 0xc
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0059fe40
fld dword [esp + 0x28]
mov dword [0x2209758], 0x3f800000
call fcn.005cd414
movzx ecx, al
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fstp dword [0x220974c]
fld dword [esp + 0x2c]
call fcn.005cd414
movzx ecx, al
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fstp dword [0x2209750]
fld dword [esp + 0x30]
call fcn.005cd414
movzx ecx, al
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
push 0xc
fild dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x18]
fstp dword [0x2209754]
call fcn.0059fe40
fld dword [esp + 0x28]
call fcn.005cd414
fld dword [esp + 0x2c]
movzx edi, al
or edi, 0xffffff00
shl edi, 8
call fcn.005cd414
movzx edx, al
fld dword [esp + 0x30]
or edi, edx
shl edi, 8
call fcn.005cd414
movzx eax, al
push 0xc
lea ecx, [esp + 0x2c]
or edi, eax
push ecx
lea ecx, [esp + 0x18]
mov dword [0x220975c], edi
call fcn.0059fe40
fld dword [esp + 0x28]
call fcn.005cd414
fld dword [esp + 0x2c]
mov bl, al
call fcn.005cd414
fld dword [esp + 0x30]
mov byte [esp + 0x17], al
call fcn.005cd414
movzx edx, byte [esp + 0x17]
movzx ecx, bl
mov dword [esp + 0x18], ecx
or ecx, 0xffffff00
shl ecx, 8
or ecx, edx
movzx eax, al
shl ecx, 8
or ecx, eax
mov dword [0x2209748], ecx
mov ecx, dword [0x7191d4]
mov dword [esp + 0x24], edx
mov edx, dword [ecx]
push 0x25
mov dword [esp + 0x24], eax
call dword [edx + 4]
test al, al
je 0x45237e
fild dword [esp + 0x18]
mov eax, 0x437f0000
mov dword [esi + 0x140070], eax
mov dword [esi + 0x140080], eax
fst dword [esi + 0x140064]
fild dword [esp + 0x24]
fst dword [esi + 0x140068]
fild dword [esp + 0x20]
fst dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fstp dword [esi + 0x14006c]
mov dword [esi + 0x14007c], eax
fxch st(1)
fstp dword [esi + 0x140074]
fstp dword [esi + 0x140078]
push 4
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
mov dword [0x2209748], 0xff000000
call fcn.0059fe40
push 4
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x18]
call fcn.0059fe40
test ebp, ebp
je 0x4523b8
push 0x3f800000
mov ecx, ebp
call fcn.004b82e0
lea ecx, [esp + 0x10]
call fcn.0059fe60
cmp dword [0x708598], 1
je 0x4523f9
movzx eax, word [0x8666c4]
push eax
lea ecx, [esp + 0x474]
push str.DATAworld_d.txt
push ecx
call fcn.005cd489
add esp, 0xc
lea edx, [esp + 0x470]
push edx
mov ecx, 0x2207140
call fcn.00537a70
call fcn.005bfb50
movzx eax, word [0x8666c4]
push eax
push str.CWorldMgr::LoadWorld
push str._s__d_End
push 4
push 0x224e6c0
call fcn.005b9f30
add esp, 0x14
lea ecx, [esp + 0x10]
mov dword [esp + 0xa7c], 0xffffffff
call fcn.0059fe60
mov al, 1
mov ecx, dword [esp + 0xa74]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa70
ret 0xc