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

Disassembly:
push 0xffffffffffffffff
push 0x665c2f
mov eax, dword fs:[0]
push eax
sub esp, 0x3b0
mov eax, dword [0x70903c]
xor eax, esp
mov dword [esp + 0x3ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70903c]
xor eax, esp
push eax
lea eax, [esp + 0x3c4]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x44], esi
call fcn.0051d840
mov eax, dword [esi + 0x38]
xor ebp, ebp
cmp eax, ebp
lea eax, [esi + 0x24]
ja 0x540935
lea eax, [esi + 8]
cmp dword [eax + 0x18], 0x10
jb 0x540940
mov eax, dword [eax + 4]
jmp 0x540943
add eax, 4
push eax
lea eax, [esp + 0x2c4]
push str._s_regen.txt
push eax
call fcn.00613f2b
add esp, 0xc
lea ecx, [esp + 0x17c]
call fcn.00588730
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [0x712368]
lea edx, [esp + 0x2c4]
push edx
lea eax, [esp + 0x184]
push eax
mov dword [esp + 0x3d8], ebp
call fcn.005d37c0
test al, al
jne 0x5409ae
lea ecx, [esp + 0x17c]
mov dword [esp + 0x3cc], 0xffffffff
call fcn.00588b60
xor al, al
jmp 0x541426
lea ecx, [esp + 0x48]
call fcn.005892e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3cc], 1
call fcn.0044fb40
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x180]
mov byte [esp + 0x3d0], 2
call fcn.005889b0
push eax
lea ecx, [esp + 0x50]
call fcn.00589830
xor ebx, ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x30], ebx
call fcn.00589280
test eax, eax
jbe 0x5413b9
lea edi, [ebx + 0xf]
push 0x68c9f4
lea edx, [esp + 0x18]
push edx
push ebx
lea ecx, [esp + 0x54]
call fcn.00589630
test al, al
je 0x5413a3
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x540a43
call fcn.00615e0c
mov ecx, dword [esp + 0x20]
push ecx
call fcn.005899a0
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add esp, 4
add eax, edx
jne 0x540a78
call fcn.00615e0c
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x14]
push 1
push 0x68c9f0
push edx
push ebp
call fcn.0042f8e0
test eax, eax
je 0x540ace
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x540ab5
call fcn.00615e0c
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x14]
push 1
push 0x68c9ec
push edx
push ebp
call fcn.0042f8e0
test eax, eax
jne 0x5413a3
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xb
jae 0x540afa
push str.CMapOutdoorAccessor::LoadMonsterAreaInfo_Get_MonsterInfo_File_Format_ERROR__continue....
jmp 0x54139b
cmp eax, ebp
ja 0x540b07
call fcn.00615e0c
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x14]
push 1
push 0x68c9f0
push eax
push ebp
call fcn.0042f8e0
test eax, eax
jne 0x540b26
mov dword [esp + 0x2c], 1
jmp 0x540b53
push ebp
lea ecx, [esp + 0x18]
call fcn.004b6a10
mov ecx, dword [eax + 0x14]
push 1
push 0x68c9ec
push ecx
push ebp
mov ecx, eax
call fcn.0042f8e0
test eax, eax
jne 0x541396
mov dword [esp + 0x2c], 2
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x540b7e
call fcn.00615e0c
mov esi, dword [esp + 0x20]
mov ebx, 0x10
cmp dword [esi + 0x34], ebx
jb 0x540b8d
mov ecx, dword [esi + 0x20]
jmp 0x540b90
lea ecx, [esi + 0x20]
mov eax, ecx
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebp
mov byte [esp + 0xf4], 0
lea esi, [eax + 1]
jmp 0x540bb0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x540bb0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xf8]
call fcn.00417040
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov byte [esp + 0x3cc], 3
cmp ecx, 2
ja 0x540bfa
call fcn.00615e0c
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x50], ebx
jb 0x540c04
mov ecx, dword [esi + 0x3c]
jmp 0x540c07
lea ecx, [esi + 0x3c]
mov eax, ecx
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebp
mov byte [esp + 0xbc], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x540c22
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xc0]
call fcn.00417040
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0x3cc], 4
cmp eax, 3
ja 0x540c6c
call fcn.00615e0c
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x6c], ebx
jb 0x540c76
mov ecx, dword [esi + 0x58]
jmp 0x540c79
lea ecx, [esi + 0x58]
mov eax, ecx
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebp
mov byte [esp + 0x84], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x540c94
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x88]
call fcn.00417040
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov byte [esp + 0x3cc], 5
cmp ecx, 4
ja 0x540cde
call fcn.00615e0c
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x88], ebx
jb 0x540ceb
mov ecx, dword [esi + 0x74]
jmp 0x540cee
lea ecx, [esi + 0x74]
mov eax, ecx
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], ebp
mov byte [esp + 0x110], 0
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x540d10
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x114]
call fcn.00417040
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0x3cc], 6
cmp eax, 5
ja 0x540d5a
call fcn.00615e0c
mov esi, dword [esp + 0x20]
cmp dword [esi + 0xa4], ebx
jb 0x540d6a
mov ecx, dword [esi + 0x90]
jmp 0x540d70
lea ecx, [esi + 0x90]
mov eax, ecx
mov dword [esp + 0x15c], edi
mov dword [esp + 0x158], ebp
mov byte [esp + 0x148], 0
lea esi, [eax + 1]
jmp 0x540d90
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x540d90
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x14c]
call fcn.00417040
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov byte [esp + 0x3cc], 7
cmp ecx, 6
ja 0x540dda
call fcn.00615e0c
mov esi, dword [esp + 0x20]
cmp dword [esi + 0xc0], ebx
jb 0x540dea
mov ecx, dword [esi + 0xac]
jmp 0x540df0
lea ecx, [esi + 0xac]
mov eax, ecx
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebp
mov byte [esp + 0xd8], 0
lea esi, [eax + 1]
jmp 0x540e10
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x540e10
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xdc]
call fcn.00417040
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0x3cc], 8
cmp eax, 7
ja 0x540e5a
call fcn.00615e0c
mov esi, dword [esp + 0x20]
cmp dword [esi + 0xdc], ebx
jb 0x540e6a
mov ecx, dword [esi + 0xc8]
jmp 0x540e70
lea ecx, [esi + 0xc8]
mov eax, ecx
mov dword [esp + 0x178], edi
mov dword [esp + 0x174], ebp
mov byte [esp + 0x164], 0
lea esi, [eax + 1]
jmp 0x540e90
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x540e90
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x168]
call fcn.00417040
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov byte [esp + 0x3cc], 9
cmp ecx, 8
ja 0x540eda
call fcn.00615e0c
mov esi, dword [esp + 0x20]
cmp dword [esi + 0xf8], ebx
jb 0x540eea
mov ecx, dword [esi + 0xe4]
jmp 0x540ef0
lea ecx, [esi + 0xe4]
mov eax, ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebp
mov byte [esp + 0x68], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x540f02
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x6c]
call fcn.00417040
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0x3cc], 0xa
cmp eax, 9
ja 0x540f49
call fcn.00615e0c
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x114], ebx
jb 0x540f59
mov ecx, dword [esi + 0x100]
jmp 0x540f5f
lea ecx, [esi + 0x100]
mov eax, ecx
mov dword [esp + 0x140], edi
mov dword [esp + 0x13c], ebp
mov byte [esp + 0x12c], 0
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x540f80
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x130]
call fcn.00417040
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov byte [esp + 0x3cc], 0xb
cmp ecx, 0xa
ja 0x540fca
call fcn.00615e0c
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x130], ebx
jb 0x540fda
mov esi, dword [esi + 0x11c]
jmp 0x540fe0
add esi, 0x11c
mov eax, esi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebp
mov byte [esp + 0xa0], 0
lea edx, [eax + 1]
jmp 0x541000
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x541000
sub eax, edx
push eax
push esi
lea ecx, [esp + 0xa4]
call fcn.00417040
mov eax, dword [esp + 0xf4]
mov byte [esp + 0x3cc], 0xc
cmp dword [esp + 0x108], ebx
jae 0x541036
lea eax, [esp + 0xf4]
push eax
call fcn.006165cb
add esp, 4
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xbc]
cmp dword [esp + 0xd0], ebx
jae 0x54105a
lea eax, [esp + 0xbc]
push eax
call fcn.006165cb
add esp, 4
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x98], ebx
jae 0x54107e
lea eax, [esp + 0x84]
push eax
call fcn.006165cb
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x110]
cmp dword [esp + 0x124], ebx
jae 0x5410a0
lea eax, [esp + 0x110]
push eax
call fcn.006165cb
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x148]
cmp dword [esp + 0x15c], ebx
jae 0x5410c2
lea eax, [esp + 0x148]
push eax
call fcn.006165cb
mov eax, dword [esp + 0xdc]
add esp, 4
cmp dword [esp + 0xec], ebx
jae 0x5410e2
lea eax, [esp + 0xd8]
push eax
call fcn.006165e1
add esp, 4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x164]
cmp dword [esp + 0x178], ebx
jae 0x541106
lea eax, [esp + 0x164]
push eax
call fcn.006165cb
mov eax, dword [esp + 0x6c]
add esp, 4
cmp dword [esp + 0x7c], ebx
jae 0x54111d
lea eax, [esp + 0x68]
push eax
call fcn.006165cb
mov eax, dword [esp + 0x130]
add esp, 4
cmp dword [esp + 0x140], ebx
jae 0x54113d
lea eax, [esp + 0x12c]
push eax
call fcn.006165e1
add esp, 4
cmp dword [esp + 0xb4], 0x10
mov ebx, eax
mov eax, dword [esp + 0xa0]
jae 0x541160
lea eax, [esp + 0xa0]
push eax
call fcn.006165e1
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
add esp, 4
push esi
push ebp
mov edi, eax
mov eax, dword [esp + 0x40]
push edx
push eax
call fcn.0051d7e0
mov esi, eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 4], eax
cmp eax, 1
jne 0x541193
mov dword [esi + 0x48], edi
jmp 0x54119d
cmp dword [esp + 0x2c], 2
jne 0x54119d
mov dword [esi + 8], edi
push ebx
mov ecx, esi
call fcn.0054ae30
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, esi
call fcn.0054a9c0
mov ebx, 0x10
cmp dword [esp + 0xb4], ebx
jb 0x5411cf
mov edx, dword [esp + 0xa0]
push edx
call fcn.00613a18
add esp, 4
xor edi, edi
mov esi, 0xf
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], edi
mov byte [esp + 0xa0], 0
cmp dword [esp + 0x140], ebx
jb 0x541205
mov eax, dword [esp + 0x12c]
push eax
call fcn.00613a18
add esp, 4
mov dword [esp + 0x140], esi
mov dword [esp + 0x13c], edi
mov byte [esp + 0x12c], 0
cmp dword [esp + 0x7c], ebx
jb 0x54122e
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00613a18
add esp, 4
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], edi
mov byte [esp + 0x68], 0
cmp dword [esp + 0x178], ebx
jb 0x541254
mov edx, dword [esp + 0x164]
push edx
call fcn.00613a18
add esp, 4
mov dword [esp + 0x178], esi
mov dword [esp + 0x174], edi
mov byte [esp + 0x164], 0
cmp dword [esp + 0xec], ebx
jb 0x541283
mov eax, dword [esp + 0xd8]
push eax
call fcn.00613a18
add esp, 4
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], edi
mov byte [esp + 0xd8], 0
cmp dword [esp + 0x15c], ebx
jb 0x5412b2
mov ecx, dword [esp + 0x148]
push ecx
call fcn.00613a18
add esp, 4
mov dword [esp + 0x15c], esi
mov dword [esp + 0x158], edi
mov byte [esp + 0x148], 0
cmp dword [esp + 0x124], ebx
jb 0x5412e1
mov edx, dword [esp + 0x110]
push edx
call fcn.00613a18
add esp, 4
mov dword [esp + 0x124], esi
mov dword [esp + 0x120], edi
mov byte [esp + 0x110], 0
cmp dword [esp + 0x98], ebx
jb 0x541310
mov eax, dword [esp + 0x84]
push eax
call fcn.00613a18
add esp, 4
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], edi
mov byte [esp + 0x84], 0
cmp dword [esp + 0xd0], ebx
jb 0x54133f
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.00613a18
add esp, 4
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], edi
mov byte [esp + 0xbc], 0
mov byte [esp + 0x3cc], 2
cmp dword [esp + 0x108], ebx
jb 0x541376
mov edx, dword [esp + 0xf4]
push edx
call fcn.00613a18
add esp, 4
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], esi
mov byte [esp + 0xf4], 0
xor ebp, ebp
mov edi, esi
jmp 0x5413a3
push str.CMapOutdoorAccessor::LoadMonsterAreaInfo_Get_MonsterInfo_Data_ERROR__continue....
call fcn.00587390
add esp, 4
inc ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x30], ebx
call fcn.00589280
cmp ebx, eax
jb 0x540a05
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x5413e3
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x20]
push edx
push ecx
push eax
call fcn.00452690
mov edx, dword [esp + 0x30]
push edx
call fcn.00613a18
add esp, 0x14
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.00613a18
add esp, 4
lea ecx, [esp + 0x48]
mov byte [esp + 0x3cc], 0
call fcn.00589300
lea ecx, [esp + 0x17c]
mov dword [esp + 0x3cc], 0xffffffff
call fcn.00588b60
mov al, 1
mov ecx, dword [esp + 0x3c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3ac]
xor ecx, esp
call fcn.00613e6e
add esp, 0x3bc
ret