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

Disassembly:
push 0xffffffffffffffff
push 0x6992fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa64
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa84]
mov ebx, ecx
xor ebp, ebp
mov eax, esi
push edi
mov dword [esp + 0x24], ebx
mov dword [ebx + 0x1401ec], ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4503e0
sub eax, edx
lea edi, [eax - 4]
push edi
lea eax, [esp + 0x74]
push esi
push eax
call fcn.005b87f0
push esi
mov byte [esp + edi + 0x80], 0
call fcn.00525410
push esi
push str.data_world
lea ecx, [esp + 0x68c]
push 0x6a9d8c
push ecx
call fcn.005b8b8d
or esi, 0xffffffff
add esp, 0x20
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
call fcn.0058bef0
push ebp
lea edx, [esp + 0x678]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0xa84], ebp
call fcn.0058bf00
test al, al
lea ecx, [esp + 0x10]
jne 0x450465
mov dword [esp + 0xa7c], esi
call fcn.0058bef0
xor al, al
jmp 0x450eee
push 4
lea eax, [esp + 0x44]
push eax
call fcn.0058bed0
test al, al
jne 0x45048c
lea ecx, [esp + 0x10]
mov dword [esp + 0xa7c], esi
call fcn.0058bef0
xor al, al
jmp 0x450eee
mov ebp, dword [esp + 0xa8c]
mov edi, 0x6ab420
lea esi, [esp + 0x40]
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4506fa
mov byte [esp + 0x17], dl
mov al, byte [ebx + 9]
test al, al
je 0x4504c1
lea ecx, [ebx + 0x13cc3c]
call fcn.00591cd0
push 4
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.0058bed0
test al, al
je 0x450a9f
mov eax, dword [esp + 0x18]
push eax
mov ecx, ebx
mov dword [ebx + 0x1400e4], eax
call fcn.00445850
test al, al
je 0x450a9f
test ebp, ebp
je 0x450503
push 0x3dcccccd
mov ecx, ebp
call fcn.004b0590
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.0058eda0
test al, al
je 0x450a9f
push 0
push 0x14
mov ecx, 0x21efa50
call fcn.0052ad00
push 1
push 0x14
mov ecx, 0x21efa50
call fcn.0052ad00
push 2
push 0x14
mov ecx, 0x21efa50
call fcn.0052ad00
push 0
push 5
push str.ch_walks001.wav
push 0
push 0x14
mov ecx, 0x21efa50
call fcn.0052ae60
push 0
push 5
push str.ch_walks002.wav
push 1
push 0x14
mov ecx, 0x21efa50
call fcn.0052ae60
push 0
push 5
push str.ch_walks003.wav
push 2
push 0x14
mov ecx, 0x21efa50
call fcn.0052ae60
push 0
push 0x13
mov ecx, 0x21efa50
call fcn.0052ad00
push 1
push 0x13
mov ecx, 0x21efa50
call fcn.0052ad00
push 2
push 0x13
mov ecx, 0x21efa50
call fcn.0052ad00
push 0
push 5
push str.ch_walkw001.wav
push 0
push 0x13
mov ecx, 0x21efa50
call fcn.0052ae60
push 0
push 5
push str.ch_walkw002.wav
push 1
push 0x13
mov ecx, 0x21efa50
call fcn.0052ae60
push 0
push 5
push str.ch_walkw003.wav
push 2
push 0x13
mov ecx, 0x21efa50
call fcn.0052ae60
mov eax, dword [0x2234a4c]
test eax, eax
jle 0x4508de
mov ebp, 0x15
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x21f07bc
lea ebx, [ebx]
mov ecx, dword [0x2234a48]
mov edx, dword [esp + 0x20]
lea ebx, [edx + ecx + 0x338]
test ebx, ebx
je 0x4508b4
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x450650
sub eax, edx
mov dword [esp + 0x48], eax
je 0x4508b4
push 0
push ebp
mov ecx, 0x21efa50
call fcn.0052ad00
push 1
push ebp
mov ecx, 0x21efa50
call fcn.0052ad00
push 2
push ebp
mov ecx, 0x21efa50
call fcn.0052ad00
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 0x450808
push str.ch_walks001.wav
push eax
push ebp
mov ecx, 0x21efa50
call fcn.0052ae60
push 0
push 5
push str.ch_walks002.wav
push 1
push ebp
mov ecx, 0x21efa50
call fcn.0052ae60
push 0
push 5
push str.ch_walks003.wav
push 2
push ebp
mov ecx, 0x21efa50
call fcn.0052ae60
lea ecx, [ebp - 0x15]
cmp ecx, 0x14
jge 0x4508b4
mov edx, dword [esp + 0x1c]
mov word [edx], 6
jmp 0x4508b4
mov edi, 0x6ab3a8
lea esi, [esp + 0x40]
mov ecx, 4
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x450715
mov byte [esp + 0x17], 1
jmp 0x450721
mov al, byte [esp + 0x17]
test al, al
je 0x4504af
push 1
call fcn.0058f5f0
add esp, 4
push pe_nt_image_headers32
lea ecx, [esp + 0x174]
push ecx
lea ecx, [esp + 0x18]
call fcn.0058bed0
test al, al
je 0x450a9f
mov al, byte [ebx + 9]
test al, al
je 0x45075d
lea ecx, [ebx + 0x13cc3c]
call fcn.00591cd0
jmp 0x450769
push 0x400
mov ecx, ebx
call fcn.00445850
lea edx, [esp + 0x170]
push edx
push str.data_world_dungeon
lea ecx, [ebx + 0x13cc3c]
call fcn.00591940
test al, al
je 0x450a9f
push 0
push 0x14
mov ecx, 0x21efa50
call fcn.0052ad00
push 1
push 0x14
mov ecx, 0x21efa50
call fcn.0052ad00
push 2
push 0x14
mov ecx, 0x21efa50
call fcn.0052ad00
push 0
push 5
push str.ch_walkd001.wav
push 0
push 0x14
mov ecx, 0x21efa50
call fcn.0052ae60
push 0
push 5
push str.ch_walkd002.wav
push 1
push 0x14
mov ecx, 0x21efa50
call fcn.0052ae60
push 0
push 5
push str.ch_walkd003.wav
push 2
push 0x14
mov ecx, 0x21efa50
call fcn.0052ae60
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0xa8c]
jmp 0x45093f
mov edi, str.ch_walkg001.wav
mov esi, ebx
mov ecx, 0x10
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov ecx, 0x21efa50
jne 0x45086a
push str.ch_walkg001.wav
push eax
push ebp
call fcn.0052ae60
push 0
push 5
push str.ch_walkg002.wav
push 1
push ebp
mov ecx, 0x21efa50
call fcn.0052ae60
push 0
push 5
push str.ch_walkg003.wav
push 2
push ebp
mov ecx, 0x21efa50
call fcn.0052ae60
lea ecx, [ebp - 0x15]
cmp ecx, 0x14
jge 0x4508b4
mov edx, dword [esp + 0x1c]
mov word [edx], 3
jmp 0x4508b4
push str.ch_walke001.wav
push 0
push ebp
call fcn.0052ae60
push 0
push 5
push str.ch_walke002.wav
push 1
push ebp
mov ecx, 0x21efa50
call fcn.0052ae60
push 0
push 5
push str.ch_walke003.wav
push 2
push ebp
mov ecx, 0x21efa50
call fcn.0052ae60
lea eax, [ebp - 0x15]
cmp eax, 0x14
jge 0x4508b4
mov ecx, dword [esp + 0x1c]
mov word [ecx], 0
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x2234a4c]
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 0x450630
mov ebp, dword [esp + 0xa8c]
test ebp, ebp
je 0x4508f5
push 0x3e99999a
mov ecx, ebp
call fcn.004b0590
push pe_nt_image_headers32
lea eax, [esp + 0x174]
push eax
lea ecx, [esp + 0x18]
call fcn.0058bed0
test al, al
je 0x450a9f
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x170]
push ecx
push str.data_entity_water
lea ecx, [esi + 0x13cfe4]
call fcn.0059c1e0
test ebp, ebp
je 0x45093f
push 0x3ecccccd
mov ecx, ebp
call fcn.004b0590
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.00444dc0
test al, al
je 0x450a9f
test ebp, ebp
je 0x450973
push 0x3f000000
mov ecx, ebp
call fcn.004b0590
lea eax, [esp + 0x10]
push eax
push str.data_entity_shape
lea ecx, [esi + 0x13d468]
call fcn.00444dc0
test al, al
je 0x450a9f
test ebp, ebp
je 0x4509a0
push 0x3f19999a
mov ecx, ebp
call fcn.004b0590
lea ecx, [esp + 0x10]
push ecx
push str.data_entity_tree
lea ecx, [esi + 0x13d4d0]
call fcn.00444dc0
test al, al
je 0x450a9f
test ebp, ebp
je 0x4509cd
push 0x3f333333
mov ecx, ebp
call fcn.004b0590
lea edx, [esp + 0x10]
push edx
push str.data_entity_grass
lea ecx, [esi + 0x13d538]
call fcn.00444dc0
test al, al
je 0x450a9f
lea eax, [esp + 0x10]
push eax
push str.data_entity_vani
lea ecx, [esi + 0x13d5a0]
call fcn.004451b0
test al, al
lea ecx, [esp + 0x10]
je 0x450bae
push ecx
push str.data_entity_vani
lea ecx, [esi + 0x13d608]
call fcn.004451b0
test al, al
je 0x450a9f
lea edx, [esp + 0x10]
push edx
push str.data_world_dungeon
lea ecx, [esi + 0x13d670]
call fcn.004455a0
test al, al
je 0x450a9f
lea eax, [esp + 0x10]
push eax
push str.data_entity_mani
lea ecx, [esi + 0x13d6d8]
call fcn.0041e7d0
test al, al
je 0x450a9f
push pe_nt_image_headers32
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x18]
call fcn.0058bed0
test al, al
je 0x450a9f
lea ecx, [esi + 0x13d80c]
call fcn.004459d0
mov ecx, 0x21f80a4
call fcn.0041f210
mov eax, dword [0x703a90]
test eax, eax
mov ecx, 0x21f80a4
je 0x450aba
lea edx, [esp + 0x70]
push edx
push str.data_Effect
call fcn.00549130
test eax, eax
jne 0x450acd
lea ecx, [esp + 0x10]
mov dword [esp + 0xa7c], 0xffffffff
call fcn.0058bef0
xor al, al
jmp 0x450eee
push str.L_portal.EFT
push str.data_Effect
call fcn.00549130
test eax, eax
je 0x450a9f
push 4
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
call fcn.0058bed0
test al, al
je 0x450a9f
mov eax, dword [esp + 0x34]
xor edi, edi
test eax, eax
jle 0x450b81
nop
push 0xc
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0058bed0
test al, al
lea ecx, [esp + 0x10]
je 0x450bae
push 0xc
lea edx, [esp + 0x50]
push edx
call fcn.0058bed0
test al, al
lea ecx, [esp + 0x10]
je 0x450bae
push 0xc
lea eax, [esp + 0x68]
push eax
call fcn.0058bed0
test al, al
je 0x450a9f
push 4
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0058bed0
test al, al
je 0x450a9f
mov eax, dword [0x703a90]
test eax, eax
je 0x450b74
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.0044f100
mov eax, dword [esp + 0x34]
inc edi
cmp edi, eax
jl 0x450af0
test ebp, ebp
je 0x450b91
push 0x3f4ccccd
mov ecx, ebp
call fcn.004b0590
lea eax, [esp + 0x10]
push eax
push str.data_entity_object
lea ecx, [esi + 0x13d740]
call fcn.00525d30
test al, al
lea ecx, [esp + 0x10]
jne 0x450bc5
mov dword [esp + 0xa7c], 0xffffffff
call fcn.0058bef0
xor al, al
jmp 0x450eee
push ecx
push str.data_entity_object
lea ecx, [esi + 0x13d7a0]
call fcn.00526660
test al, al
je 0x450a9f
lea edx, [esp + 0x10]
push edx
mov ecx, 0x21f07e8
call fcn.0052c430
test al, al
je 0x450a9f
lea eax, [esp + 0x10]
push eax
mov ecx, 0x21ef9b0
call fcn.00527d50
test al, al
je 0x450a9f
test bl, bl
jne 0x450c6c
push pe_nt_image_headers32
lea ecx, [esp + 0x274]
push ecx
lea ecx, [esp + 0x18]
call fcn.0058bed0
push pe_nt_image_headers32
lea edx, [esp + 0x578]
push edx
lea ecx, [esp + 0x18]
call fcn.0058bed0
push pe_nt_image_headers32
lea eax, [esp + 0x374]
push eax
lea ecx, [esp + 0x18]
call fcn.0058bed0
lea ecx, [esp + 0x370]
push ecx
lea edx, [esp + 0x578]
push edx
lea eax, [esp + 0x278]
push eax
jmp 0x450ca8
mov eax, dword [esi + 0x1402b8]
test eax, eax
je 0x450cb3
mov ax, word [0x8507e0]
cmp ax, 0x27
jne 0x450c93
push str.clouds01_A1.tga
push str.clouds01_A1.tga
push str.Sky_A1.bmp
jmp 0x450ca8
cmp ax, 0x28
jne 0x450cb3
push str.clouds01_A1.tga
push str.clouds01_A1.tga
push str.sky_B1.bmp
lea ecx, [esi + 0x13ff68]
call fcn.0053b870
push 0xc
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0058bed0
fld dword [esp + 0x28]
mov dword [0x21f1fc8], 0x3f800000
call fcn.005b8b18
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 [0x21f1fbc]
fld dword [esp + 0x2c]
call fcn.005b8b18
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 [0x21f1fc0]
fld dword [esp + 0x30]
call fcn.005b8b18
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 [0x21f1fc4]
call fcn.0058bed0
fld dword [esp + 0x28]
call fcn.005b8b18
fld dword [esp + 0x2c]
movzx edi, al
or edi, 0xffffff00
shl edi, 8
call fcn.005b8b18
movzx edx, al
fld dword [esp + 0x30]
or edi, edx
shl edi, 8
call fcn.005b8b18
movzx eax, al
push 0xc
lea ecx, [esp + 0x2c]
or edi, eax
push ecx
lea ecx, [esp + 0x18]
mov dword [0x21f1fcc], edi
call fcn.0058bed0
fld dword [esp + 0x28]
call fcn.005b8b18
fld dword [esp + 0x2c]
mov bl, al
call fcn.005b8b18
fld dword [esp + 0x30]
mov byte [esp + 0x17], al
call fcn.005b8b18
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 [0x21f1fb8], ecx
mov ecx, dword [0x7034d4]
mov dword [esp + 0x24], edx
mov edx, dword [ecx]
push 0x25
mov dword [esp + 0x24], eax
call dword [edx + 4]
test al, al
je 0x450e58
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 [0x21f1fb8], 0xff000000
call fcn.0058bed0
push 4
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x18]
call fcn.0058bed0
test ebp, ebp
je 0x450e92
push 0x3f800000
mov ecx, ebp
call fcn.004b0590
lea ecx, [esp + 0x10]
call fcn.0058bef0
mov eax, dword [0x6f3558]
test eax, eax
je 0x450ed3
movzx eax, word [0x8507e0]
push eax
lea ecx, [esp + 0x474]
push str.DATAworld_d.txt
push ecx
call fcn.005b8b8d
add esp, 0xc
lea edx, [esp + 0x470]
push edx
mov ecx, 0x21ef9b0
call fcn.005275c0
call fcn.00525410
lea ecx, [esp + 0x10]
mov dword [esp + 0xa7c], 0xffffffff
call fcn.0058bef0
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