Function at 0x411c80
Capabilities:
Get common file path
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cea50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x47c
push ebx
push esi
push edi
push 0
push 0
mov esi, ecx
push 0
mov dword [ebp - 0x44], esi
call fcn.004118d0
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [esi + 0x38], 7
mov dword [esi + 0x34], 0
mov word [esi + 0x24], cx
mov byte [ebp - 4], 1
mov dword [esi + 0x50], 7
mov dword [esi + 0x4c], ecx
mov word [esi + 0x3c], cx
mov byte [ebp - 4], 2
mov dword [esi + 0x68], 7
mov dword [esi + 0x64], ecx
mov word [esi + 0x54], cx
mov byte [ebp - 4], 3
mov dword [esi + 0x80], 7
mov dword [esi + 0x7c], ecx
mov word [esi + 0x6c], cx
mov byte [ebp - 4], 4
mov dword [esi + 0x98], 0xf
mov dword [esi + 0x94], ecx
mov byte [esi + 0x84], cl
mov byte [ebp - 4], 5
push ecx
push 0x400
push ecx
lea ecx, [esi + 0xa8]
call fcn.00411990
mov byte [ebp - 4], 6
xor eax, eax
mov dword [esi + 0xf4], 7
mov dword [esi + 0xf0], 0
mov word [esi + 0xe0], ax
mov byte [ebp - 4], 7
lea ebx, [esi + 0x100]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], eax
mov byte [ebx], al
mov byte [ebp - 4], 8
lea edi, [esi + 0x118]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], eax
mov byte [edi], al
mov byte [ebp - 4], 9
add esi, 0x134
mov dword [ebp - 0x10], esi
mov ecx, esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.0041c330
mov dword [esi], eax
mov byte [ebp - 4], 0xc
mov ecx, edi
push 0
push 0x4d3608
call fcn.00409400
mov edi, dword [ebp - 0x44]
push 0
push 0x4d3608
mov byte [edi + 0xfd], 0
mov ecx, ebx
call fcn.00409400
push 0x200
lea eax, [ebp - 0x488]
mov dword [edi + 0x130], 0
push 0
push eax
call fcn.0049edb0
add esp, 0xc
lea eax, [ebp - 0x488]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x104
lea eax, [ebp - 0x288]
push 0
push eax
call fcn.0049edb0
push 0x104
lea eax, [ebp - 0x184]
push 0
push eax
call fcn.0049edb0
add esp, 0x18
lea eax, [ebp - 0x288]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x184]
push 0x104
push eax
call fcn.004b260c
push 0x4d5538
lea eax, [ebp - 0x184]
push 0x104
push eax
call fcn.004b260c
push str.config.ini
lea eax, [ebp - 0x184]
push 0x104
push eax
call fcn.004b260c
lea eax, [ebp - 0x184]
push 0x4d554c
push eax
call fcn.004a782a
add esp, 0x2c
test eax, eax
jne 0x411f63
lea eax, [ebp - 0x184]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x4d5538
lea eax, [ebp - 0x184]
push 0x104
push eax
call fcn.004b260c
push str.config.ini
lea eax, [ebp - 0x184]
push 0x104
push eax
call fcn.004b260c
lea eax, [ebp - 0x184]
push 0x4d554c
push eax
call fcn.004a782a
add esp, 0x20
test eax, eax
jne 0x411f63
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x28]
call fcn.004037e0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
push 0xf
push str._File_Not_Found
call fcn.004090d0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push str.error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x411f4f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409cd0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jmp 0x411f6c
push eax
call fcn.004b1ad9
add esp, 4
mov ecx, edi
call fcn.00414ab0
mov ecx, edi
call fcn.004195d0
push 0
push 0
push 0
lea ecx, [ebp - 0x80]
call fcn.004118d0
mov byte [ebp - 4], 0xe
mov ecx, 1
movzx eax, byte [ebp - 0x64]
cmp dword [ebp - 0x80], 0
push 0x4d5788
cmove eax, ecx
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x64], al
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004a7841
mov eax, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
je 0x411fd9
push eax
lea ecx, [ebp - 0x80]
call fcn.00414c40
push dword [ebp - 0x10]
call fcn.004b1ad9
add esp, 4
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x4d5584
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x14], 0
call fcn.004185b0
mov esi, dword [ebp - 0x10]
cmp esi, dword [ebp - 0x74]
jne 0x41200d
mov edx, 0x4d5574
jmp 0x412042
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], str.DATA
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], 0
push eax
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x14], 0
call fcn.004185b0
mov eax, dword [ebp - 0x10]
mov edx, 0x4d5574
cmp eax, dword [esi + 0x1c]
je 0x412042
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp byte [edx], 0
jne 0x41206b
xor ecx, ecx
jmp 0x412079
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412070
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00409400
mov byte [ebp - 4], 0xf
cmp dword [edi], 0
jne 0x412090
mov byte [edi + 0x1c], 1
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov esi, dword [ebp - 0x30]
mov eax, 4
cmovae ecx, dword [ebp - 0x40]
cmp esi, eax
cmovb eax, esi
push eax
push 0x4d5574
push ecx
call fcn.00416bc0
add esp, 0xc
test eax, eax
jne 0x412100
cmp esi, 4
jb 0x412100
ja 0x412100
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x184]
push 0x4d5788
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004a7841
mov eax, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
je 0x41219a
push eax
mov ecx, edi
call fcn.00414d10
push dword [ebp - 0x10]
call fcn.004b1ad9
add esp, 4
jmp 0x41219a
push 8
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00419990
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x40]
push eax
push 8
push 0
call fcn.0040ad50
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00417050
add esp, 0xc
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x412147
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00409cd0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
mov ecx, edi
push eax
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
call fcn.00414900
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x412188
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409cd0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push str.BLACKDESERT
push str.TITLE
mov ecx, edi
call fcn.00418d50
mov edx, eax
cmp word [edx], 0
jne 0x4121b7
xor ecx, ecx
jmp 0x4121cf
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4121c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x24]
call fcn.004096c0
push 0x4d374c
push str.COUNTRY
mov ecx, edi
call fcn.00418d50
mov edx, eax
cmp word [edx], 0
jne 0x4121f6
xor ecx, ecx
jmp 0x41220f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412200
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x3c]
call fcn.004096c0
push 0x4d374c
push str.LANGUAGE
mov ecx, edi
call fcn.00418d50
mov edx, eax
cmp word [edx], 0
jne 0x412236
xor ecx, ecx
jmp 0x41224f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412240
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x54]
call fcn.004096c0
push str.LIVE
push 0x4d55e0
mov ecx, edi
call fcn.00418d50
mov edx, eax
cmp word [edx], 0
jne 0x412276
xor ecx, ecx
jmp 0x41228f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412280
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x6c]
call fcn.004096c0
push 0
push 0
push str.DEBUG
push str.CONFIG
mov ecx, edi
call fcn.00413fb0
mov ecx, edi
mov byte [edi + 0x9c], al
call fcn.004145c0
push 1
push 0x4d560c
lea ecx, [edi + 0x84]
call fcn.00409400
mov dword [edi + 0xf8], 0
mov byte [edi + 0xfc], 0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x4122f7
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409cd0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x80]
call fcn.00412520
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret