Function at 0x54a140
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x69ff0c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0xff
lea eax, [ebp - 0x203]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x208], esi
mov byte [ebp - 0x204], bl
call fcn.00564860
push 0xff
lea ecx, [ebp - 0x103]
push ebx
push ecx
mov byte [ebp - 0x104], bl
call fcn.00564860
add esp, 0x18
lea edx, [ebp - 0x204]
push edx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x204]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a1b0
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 4], eax
lea ecx, [ebp - 0x204]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54a1d0
xor eax, eax
cmp dword [0x5ae02c], ebx
je 0x54a9b0
jmp 0x54a1f0
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54a1f0
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x54a210
mov al, byte [0x582b8c]
mov byte [edi], al
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a228
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 8], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54a246
xor eax, eax
jmp 0x54a260
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54a260
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x54a280
mov ecx, 5
mov esi, str.ResourceEffectScript
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x104]
movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a2a0
sub eax, edx
inc eax
push eax
call fcn.00564dfb
mov esi, dword [ebp - 0x208]
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54a2c4
xor eax, eax
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54a2d0
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54a2f0
mov ecx, dword [str.Ini]
mov dl, byte [0x5966c0]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a312
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x10], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54a330
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54a340
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54a360
mov ecx, dword [str.Sound]
mov dx, word [0x5966b8]
mov dword [eax], ecx
mov cl, byte [0x5966ba]
mov word [eax + 4], dx
mov byte [eax + 6], cl
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a390
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x14], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54a3b0
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54a3c0
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54a3e0
mov edx, dword [str.Resource]
mov ecx, dword [0x5966ac]
mov dword [eax], edx
mov dx, word [0x5966b0]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a410
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x18], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54a430
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54a440
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54a460
mov ecx, dword [str.BGM]
mov dl, byte [0x5966a4]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a482
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x1c], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54a4a0
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54a4b0
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x54a4d0
mov al, byte [0x582b8c]
mov byte [edi], al
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a4e8
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x20], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54a506
xor eax, eax
jmp 0x54a520
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54a520
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x54a540
mov cl, byte [0x582b8c]
lea eax, [ebp - 0x104]
mov byte [edi], cl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a560
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54a580
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54a590
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x54a5b0
mov dl, byte [0x582b8c]
lea eax, [ebp - 0x104]
mov byte [edi], dl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a5d0
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x28], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54a5f0
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54a600
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x54a620
mov al, byte [0x582b8c]
mov byte [edi], al
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a638
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x2c], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54a656
xor eax, eax
jmp 0x54a670
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54a670
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x54a690
mov cl, byte [0x582b8c]
lea eax, [ebp - 0x104]
mov byte [edi], cl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a6b0
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x30], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54a6d0
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54a6e0
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x54a700
mov dl, byte [0x582b8c]
lea eax, [ebp - 0x104]
mov byte [edi], dl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a720
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x38], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54a740
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54a750
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x54a770
mov al, byte [0x582b8c]
mov byte [edi], al
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a788
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54a7a6
xor eax, eax
jmp 0x54a7c0
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54a7c0
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54a7e0
mov ecx, dword [str.ImageMinimap]
mov edx, dword [0x596694]
mov dword [eax], ecx
mov ecx, dword [0x596698]
mov dword [eax + 4], edx
mov dx, word [0x59669c]
mov dword [eax + 8], ecx
mov cl, byte [0x59669e]
mov word [eax + 0xc], dx
mov byte [eax + 0xe], cl
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a820
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54a840
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54a850
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x54a870
mov dl, byte [0x582b8c]
lea eax, [ebp - 0x104]
mov byte [edi], dl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a890
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x40], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54a8b0
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54a8c0
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x54a8e0
mov al, byte [0x582b8c]
mov byte [edi], al
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a8f8
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x44], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54a916
xor eax, eax
jmp 0x54a930
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54a930
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x54a950
mov cl, byte [0x582b8c]
lea eax, [ebp - 0x104]
mov byte [edi], cl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a970
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x48], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54a990
pop edi
mov dword [esi + 0x50], ebx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056411e
mov esp, ebp
pop ebp
ret
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54a9b0
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x54a9d0
mov dl, byte [0x582b8c]
lea eax, [ebp - 0x104]
mov byte [edi], dl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54a9f0
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 8], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54aa10
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54aa20
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x54aa40
mov ecx, 5
mov esi, str.ResourceEffectScript
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x104]
movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54aa60
sub eax, edx
inc eax
push eax
call fcn.00564dfb
mov esi, dword [ebp - 0x208]
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54aa84
xor eax, eax
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54aa90
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54aab0
mov ecx, dword [str.Ini]
mov dl, byte [0x5966c0]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54aad2
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x10], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54aaf0
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54ab00
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54ab20
mov ecx, dword [str.Sound]
mov dx, word [0x5966b8]
mov dword [eax], ecx
mov cl, byte [0x5966ba]
mov word [eax + 4], dx
mov byte [eax + 6], cl
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54ab50
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x14], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54ab70
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54ab80
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54aba0
mov edx, dword [str.Resource]
mov ecx, dword [0x5966ac]
mov dword [eax], edx
mov dx, word [0x5966b0]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54abd0
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x18], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54abf0
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54ac00
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54ac20
mov ecx, dword [str.BGM]
mov dl, byte [0x5966a4]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54ac42
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x1c], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54ac60
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54ac70
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54ac90
mov ecx, dword [str.3DDataCharacter]
mov edx, dword [0x596680]
mov dword [eax], ecx
mov ecx, dword [0x596684]
mov dword [eax + 4], edx
mov edx, dword [0x596688]
mov dword [eax + 8], ecx
mov cx, word [0x59668c]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54acd0
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x20], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54acf0
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54ad00
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54ad20
mov edx, dword [str.3DDataPet]
mov ecx, dword [0x596674]
mov dword [eax], edx
mov edx, dword [0x596678]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
jmp 0x54ad50
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54ad50
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54ad70
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54ad80
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54ada0
mov ecx, dword [str.3DDataMonster]
mov edx, dword [0x596664]
mov dword [eax], ecx
mov ecx, dword [0x596668]
mov dword [eax + 4], edx
mov edx, dword [0x59666c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54add4
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x28], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54adf2
xor eax, eax
mov edi, edi
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54ae00
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54ae20
mov ecx, dword [str.3DDataNpc]
mov edx, dword [0x596658]
mov dword [eax], ecx
mov ecx, dword [0x59665c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
jmp 0x54ae50
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54ae50
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x2c], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54ae70
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54ae80
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54aea0
mov edx, dword [str.3DDataEffect]
mov ecx, dword [0x596648]
mov dword [eax], edx
mov edx, dword [0x59664c]
mov dword [eax + 4], ecx
mov cx, word [0x596650]
mov dword [eax + 8], edx
mov dl, byte [0x596652]
mov word [eax + 0xc], cx
mov byte [eax + 0xe], dl
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54aee0
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x30], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54af00
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54af10
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54af30
mov ecx, dword [str.3DDataMap]
mov edx, dword [0x59663c]
mov dword [eax], ecx
mov ecx, dword [0x596640]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
jmp 0x54af60
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54af60
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x38], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54af80
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54af90
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54afb0
mov edx, dword [str.3DDataCloud]
mov ecx, dword [0x59662c]
mov dword [eax], edx
mov edx, dword [0x596630]
mov dword [eax + 4], ecx
mov cx, word [0x596634]
mov dword [eax + 8], edx
mov word [eax + 0xc], cx
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54afe6
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54b004
xor eax, eax
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54b010
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54b030
mov edx, dword [str.ImageMinimap]
mov ecx, dword [0x596694]
mov dword [eax], edx
mov edx, dword [0x596698]
mov dword [eax + 4], ecx
mov cx, word [0x59669c]
mov dword [eax + 8], edx
mov dl, byte [0x59669e]
mov word [eax + 0xc], cx
mov byte [eax + 0xe], dl
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54b070
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54b090
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54b0a0
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54b0c0
mov ecx, dword [str.3DDataMapObject]
mov edx, dword [0x596618]
mov dword [eax], ecx
mov ecx, dword [0x59661c]
mov dword [eax + 4], edx
mov edx, dword [0x596620]
mov dword [eax + 8], ecx
mov cx, word [0x596624]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54b100
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x40], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54b120
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54b130
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54b150
mov edx, dword [str.3DDataTitan]
mov ecx, dword [0x596608]
mov dword [eax], edx
mov edx, dword [0x59660c]
mov dword [eax + 4], ecx
mov cx, word [0x596610]
mov dword [eax + 8], edx
mov word [eax + 0xc], cx
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54b186
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x44], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54b1a4
xor eax, eax
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp cl, bl
jne 0x54b1b0
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x54b1d0
mov edx, dword [str.3DDataMap2]
mov ecx, dword [0x5965f8]
mov dword [eax], edx
mov edx, dword [0x5965fc]
mov dword [eax + 4], ecx
mov cl, byte [0x596600]
mov dword [eax + 8], edx
mov byte [eax + 0xc], cl
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x54b204
sub eax, edx
inc eax
push eax
call fcn.00564dfb
add esp, 4
mov dword [esi + 0x48], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x54b222
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x50], ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.0056411e
mov esp, ebp
pop ebp
ret