Function at 0x549b70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x6a7420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xff
lea eax, [ebp - 0x203]
mov byte [ebp - 0x204], 0
push 0
push eax
mov ebx, ecx
call sub.MSVCR120.dll_memset
push 0xff
lea eax, [ebp - 0x103]
mov byte [ebp - 0x104], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0x18
lea eax, [ebp - 0x204]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x204]
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x549be0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 4], eax
lea edx, [ebp - 0x204]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x549c00
xor ecx, ecx
cmp dword [0x5b15c0], ecx
je 0x54a3d3
lea esp, [esp]
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x549c20
lea edi, [ebp - 0x104]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x549c40
mov al, byte [0x585acc]
lea ecx, [ebp - 0x104]
mov byte [edi], al
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x549c60
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 8], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x549c80
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x549c90
lea edi, [ebp - 0x104]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x549cb0
mov ecx, 5
mov esi, str.ResourceEffectScript
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x549cd0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0xc], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x549cf0
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x549d00
lea ecx, [ebp - 0x104]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x549d20
mov eax, dword [str.Ini]
mov dword [ecx], eax
mov al, byte [0x59584c]
mov byte [ecx + 4], al
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x549d42
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x10], eax
lea edx, [ebp - 0x104]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x549d60
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x549d70
lea ecx, [ebp - 0x104]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x549d90
mov eax, dword [str.Sound]
mov dword [ecx], eax
mov ax, word [0x595854]
mov word [ecx + 4], ax
mov al, byte [0x595856]
mov byte [ecx + 6], al
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x549dc0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x14], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x549de0
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x549df0
lea ecx, [ebp - 0x104]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x549e10
mov eax, dword [str.Resource]
mov dword [ecx], eax
mov eax, dword [0x59585c]
mov dword [ecx + 4], eax
mov ax, word [0x595860]
mov word [ecx + 8], ax
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x549e40
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x18], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x549e60
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x549e70
lea ecx, [ebp - 0x104]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x549e90
mov eax, dword [str.BGM]
mov dword [ecx], eax
mov al, byte [0x595868]
mov byte [ecx + 4], al
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x549eb2
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x1c], eax
lea edx, [ebp - 0x104]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x549ed0
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x549ee0
lea edi, [ebp - 0x104]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x549f00
mov al, byte [0x585acc]
lea ecx, [ebp - 0x104]
mov byte [edi], al
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x549f20
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x20], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x549f40
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x549f50
lea edi, [ebp - 0x104]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x549f70
mov al, byte [0x585acc]
lea ecx, [ebp - 0x104]
mov byte [edi], al
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x549f90
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x24], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x549fb0
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x549fc0
lea edi, [ebp - 0x104]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x549fe0
mov al, byte [0x585acc]
lea ecx, [ebp - 0x104]
mov byte [edi], al
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a000
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x28], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a020
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a030
lea edi, [ebp - 0x104]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x54a050
mov al, byte [0x585acc]
lea ecx, [ebp - 0x104]
mov byte [edi], al
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a070
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x2c], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a090
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a0a0
lea edi, [ebp - 0x104]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x54a0c0
mov al, byte [0x585acc]
lea ecx, [ebp - 0x104]
mov byte [edi], al
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a0e0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x30], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a100
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a110
lea edi, [ebp - 0x104]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x54a130
mov al, byte [0x585acc]
lea ecx, [ebp - 0x104]
mov byte [edi], al
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a150
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x38], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a170
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a180
lea edi, [ebp - 0x104]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x54a1a0
mov al, byte [0x585acc]
lea ecx, [ebp - 0x104]
mov byte [edi], al
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a1c0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x3c], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a1e0
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a1f0
lea ecx, [ebp - 0x104]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x54a210
mov eax, dword [str.ImageMinimap]
mov dword [ecx], eax
mov eax, dword [0x595870]
mov dword [ecx + 4], eax
mov eax, dword [0x595874]
mov dword [ecx + 8], eax
mov ax, word [0x595878]
mov word [ecx + 0xc], ax
mov al, byte [0x59587a]
mov byte [ecx + 0xe], al
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a250
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x34], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a270
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a280
lea edi, [ebp - 0x104]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x54a2a0
mov al, byte [0x585acc]
lea ecx, [ebp - 0x104]
mov byte [edi], al
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a2c0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x40], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a2e0
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a2f0
lea edi, [ebp - 0x104]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x54a310
mov al, byte [0x585acc]
lea ecx, [ebp - 0x104]
mov byte [edi], al
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a330
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x44], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a350
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a360
lea edi, [ebp - 0x104]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x54a380
mov al, byte [0x585acc]
lea ecx, [ebp - 0x104]
mov byte [edi], al
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a3a0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x48], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a3c0
jmp 0x54ac4e
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a3d3
lea edi, [ebp - 0x104]
dec edi
nop
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x54a3f0
mov al, byte [0x585acc]
lea ecx, [ebp - 0x104]
mov byte [edi], al
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a410
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 8], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a430
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a440
lea edi, [ebp - 0x104]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x54a460
mov ecx, 5
mov esi, str.ResourceEffectScript
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a480
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0xc], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a4a0
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a4b0
lea ecx, [ebp - 0x104]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x54a4d0
mov eax, dword [str.Ini]
mov dword [ecx], eax
mov al, byte [0x59584c]
mov byte [ecx + 4], al
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a4f2
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x10], eax
lea edx, [ebp - 0x104]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a510
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a520
lea ecx, [ebp - 0x104]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x54a540
mov eax, dword [str.Sound]
mov dword [ecx], eax
mov ax, word [0x595854]
mov word [ecx + 4], ax
mov al, byte [0x595856]
mov byte [ecx + 6], al
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a570
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x14], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a590
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a5a0
lea ecx, [ebp - 0x104]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x54a5c0
mov eax, dword [str.Resource]
mov dword [ecx], eax
mov eax, dword [0x59585c]
mov dword [ecx + 4], eax
mov ax, word [0x595860]
mov word [ecx + 8], ax
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a5f0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x18], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a610
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a620
lea ecx, [ebp - 0x104]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x54a640
mov eax, dword [str.BGM]
mov dword [ecx], eax
mov al, byte [0x595868]
mov byte [ecx + 4], al
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a662
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x1c], eax
lea edx, [ebp - 0x104]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a680
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a690
lea ecx, [ebp - 0x104]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x54a6b0
mov eax, dword [str.3DDataCharacter]
mov dword [ecx], eax
mov eax, dword [0x595880]
mov dword [ecx + 4], eax
mov eax, dword [0x595884]
mov dword [ecx + 8], eax
mov eax, dword [0x595888]
mov dword [ecx + 0xc], eax
mov ax, word [0x59588c]
mov word [ecx + 0x10], ax
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a6f0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x20], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a710
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a720
lea ecx, [ebp - 0x104]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x54a740
mov eax, dword [str.3DDataPet]
mov dword [ecx], eax
mov eax, dword [0x595894]
mov dword [ecx + 4], eax
mov eax, dword [0x595898]
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a770
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x24], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a790
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a7a0
lea ecx, [ebp - 0x104]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x54a7c0
mov eax, dword [str.3DDataMonster]
mov dword [ecx], eax
mov eax, dword [0x5958a0]
mov dword [ecx + 4], eax
mov eax, dword [0x5958a4]
mov dword [ecx + 8], eax
mov eax, dword [0x5958a8]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a7f2
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x28], eax
lea edx, [ebp - 0x104]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a810
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a820
lea ecx, [ebp - 0x104]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x54a840
mov eax, dword [str.3DDataNpc]
mov dword [ecx], eax
mov eax, dword [0x5958b0]
mov dword [ecx + 4], eax
mov eax, dword [0x5958b4]
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a870
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x2c], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a890
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a8a0
lea ecx, [ebp - 0x104]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x54a8c0
mov eax, dword [str.3DDataEffect]
mov dword [ecx], eax
mov eax, dword [0x5958bc]
mov dword [ecx + 4], eax
mov eax, dword [0x5958c0]
mov dword [ecx + 8], eax
mov ax, word [0x5958c4]
mov word [ecx + 0xc], ax
mov al, byte [0x5958c6]
mov byte [ecx + 0xe], al
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a900
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x30], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a920
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a930
lea ecx, [ebp - 0x104]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x54a950
mov eax, dword [str.3DDataMap]
mov dword [ecx], eax
mov eax, dword [0x5958cc]
mov dword [ecx + 4], eax
mov eax, dword [0x5958d0]
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54a980
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x38], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54a9a0
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54a9b0
lea ecx, [ebp - 0x104]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x54a9d0
mov eax, dword [str.3DDataCloud]
mov dword [ecx], eax
mov eax, dword [0x5958d8]
mov dword [ecx + 4], eax
mov eax, dword [0x5958dc]
mov dword [ecx + 8], eax
mov ax, word [0x5958e0]
mov word [ecx + 0xc], ax
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54aa04
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x3c], eax
lea edx, [ebp - 0x104]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54aa22
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54aa32
lea ecx, [ebp - 0x104]
dec ecx
mov edi, edi
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x54aa50
mov eax, dword [str.ImageMinimap]
mov dword [ecx], eax
mov eax, dword [0x595870]
mov dword [ecx + 4], eax
mov eax, dword [0x595874]
mov dword [ecx + 8], eax
mov ax, word [0x595878]
mov word [ecx + 0xc], ax
mov al, byte [0x59587a]
mov byte [ecx + 0xe], al
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54aa90
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x34], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54aab0
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54aac0
lea ecx, [ebp - 0x104]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x54aae0
mov eax, dword [str.3DDataMapObject]
mov dword [ecx], eax
mov eax, dword [0x5958e8]
mov dword [ecx + 4], eax
mov eax, dword [0x5958ec]
mov dword [ecx + 8], eax
mov eax, dword [0x5958f0]
mov dword [ecx + 0xc], eax
mov ax, word [0x5958f4]
mov word [ecx + 0x10], ax
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54ab20
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x40], eax
lea edx, [ebp - 0x104]
mov edi, edi
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54ab40
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54ab50
lea ecx, [ebp - 0x104]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x54ab70
mov eax, dword [str.3DDataTitan]
mov dword [ecx], eax
mov eax, dword [0x5958fc]
mov dword [ecx + 4], eax
mov eax, dword [0x595900]
mov dword [ecx + 8], eax
mov ax, word [0x595904]
mov word [ecx + 0xc], ax
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54aba4
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x44], eax
lea edx, [ebp - 0x104]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54abc2
xor ecx, ecx
mov al, byte [ebp + ecx - 0x204]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x105], al
test al, al
jne 0x54abd2
lea ecx, [ebp - 0x104]
dec ecx
mov edi, edi
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x54abf0
mov eax, dword [str.3DDataMap2]
mov dword [ecx], eax
mov eax, dword [0x59590c]
mov dword [ecx + 4], eax
mov eax, dword [0x595910]
mov dword [ecx + 8], eax
mov al, byte [0x595914]
mov byte [ecx + 0xc], al
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54ac22
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00575a7a
add esp, 4
mov dword [ebx + 0x48], eax
lea edx, [ebp - 0x104]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x54ac40
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx + 0x50], 0
xor ecx, ebp
pop ebx
call fcn.00575b90
mov esp, ebp
pop ebp
ret