Function at 0x4196a0
Capabilities:
Get geographical location
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481e3e
mov eax, dword fs:[0]
push eax
mov eax, 0x10bc
call fcn.0047d8d0
mov eax, dword [0x4c33d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10b4], ecx
lea ecx, [ebp - 0x1090]
call fcn.0043afd0
push 0xb
push str.cfgccc.dat
lea ecx, [ebp - 0x1090]
mov dword [ebp - 4], 0
call fcn.00409270
cmp dword [ebp - 0x107c], 8
push 0
push 0x80
push 3
push 0
push 1
lea eax, [ebp - 0x1090]
cmovae eax, dword [ebp - 0x1090]
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov edi, eax
cmp edi, 0xffffffff
jne 0x419743
xor al, al
mov byte [ebp - 0x10a9], al
jmp 0x419b99
mov dword [ebp - 0x104c], 0xf
mov dword [ebp - 0x1050], 0
mov byte [ebp - 0x1060], 0
mov byte [ebp - 4], 1
push 0x1000
lea eax, [ebp - 0x1017]
push 0
push eax
mov dword [ebp - 0x10b0], 0
mov byte [ebp - 0x1018], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x10b0]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x10b0]
mov esi, eax
test ecx, ecx
je 0x4197e9
cmp byte [ebp - 0x1018], 0
jne 0x4197be
xor ecx, ecx
jmp 0x4197d0
lea ecx, [ebp - 0x1018]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4197c7
sub ecx, edx
push ecx
lea eax, [ebp - 0x1018]
push eax
lea ecx, [ebp - 0x1060]
call fcn.0041a520
mov ecx, dword [ebp - 0x10b0]
test esi, esi
je 0x4197f5
test ecx, ecx
jne 0x419762
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1060]
call fcn.0044df00
mov edi, eax
mov dword [ebp - 0x10c4], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x419b4c
cmp dword [edi + 4], 6
jne 0x419b4c
push str.country_list
lea ecx, [ebp - 0x1078]
mov dword [ebp - 0x10b0], 0
call fcn.0040c2b0
lea eax, [ebp - 0x10b0]
push eax
lea eax, [ebp - 0x1078]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0044eef0
lea ecx, [ebp - 0x1078]
call fcn.00401890
mov ecx, dword [ebp - 0x10b0]
test ecx, ecx
je 0x419b4c
mov edx, 0xf
mov dword [ebp - 0x1034], edx
mov dword [ebp - 0x1038], 0
mov byte [ebp - 0x1048], 0
mov byte [ebp - 4], 4
mov eax, dword [ecx + 8]
mov dword [ebp - 0x10bc], ecx
mov esi, dword [eax]
mov dword [ebp - 0x10b8], esi
cmp esi, eax
je 0x419b18
lea ebx, [ebx]
lea edx, [esi + 0x10]
lea ecx, [ebp - 0x1078]
call fcn.0045e3f0
push 0
push 0x4c5730
push 0x4c5714
mov byte [ebp - 4], 5
push 0
push dword [esi + 0x28]
call sub.MSVCR110.dll___RTDynamicCast
add esp, 0x14
lea ecx, [ebp - 0x10a8]
push str.city_list
mov esi, eax
xor edi, edi
call fcn.0040c2b0
lea eax, [ebp - 0x10b0]
push eax
lea eax, [ebp - 0x10a8]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0044eca0
test al, al
je 0x419919
mov eax, dword [ebp - 0x10b0]
cmp dword [eax + 4], 7
cmove edi, eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1094], 0x10
jb 0x419931
push dword [ebp - 0x10a8]
call ebx
add esp, 4
push str.country_fullname
lea ecx, [ebp - 0x1030]
mov dword [ebp - 0x1094], 0xf
mov dword [ebp - 0x1098], 0
mov byte [ebp - 0x10a8], 0
call fcn.0040c2b0
lea eax, [ebp - 0x10c0]
push eax
lea eax, [ebp - 0x1030]
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.0044eca0
test al, al
je 0x41998b
mov ecx, dword [ebp - 0x10c0]
lea edx, [ebp - 0x1048]
mov eax, dword [ecx]
push edx
call dword [eax + 0x14]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x101c], 0x10
jb 0x4199a3
push dword [ebp - 0x1030]
call ebx
add esp, 4
lea edx, [ebp - 0x1048]
lea ecx, [ebp - 0x1030]
call fcn.0045e3f0
push eax
push ecx
mov ecx, dword [ebp - 0x10b4]
lea eax, [ebp - 0x1078]
push eax
lea ecx, [ecx + 0xd4]
mov byte [ebp - 4], 8
call fcn.0041a270
add esp, 4
mov ecx, eax
call fcn.00408f10
mov byte [ebp - 4], 5
cmp dword [ebp - 0x101c], 8
jb 0x4199f4
push dword [ebp - 0x1030]
call ebx
add esp, 4
test edi, edi
je 0x419ad4
push 0xc
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x419a23
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
jmp 0x419a25
xor ebx, ebx
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 8]
xor esi, esi
sar eax, 2
test eax, eax
je 0x419ab4
cmp esi, eax
jae 0x419aa6
mov eax, dword [edi + 8]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x419aa6
xor eax, eax
mov dword [ebp - 0x101c], 7
mov dword [ebp - 0x1020], 0
mov word [ebp - 0x1030], ax
mov byte [ebp - 4], 9
mov eax, dword [ecx]
lea edx, [ebp - 0x1030]
push edx
call dword [eax + 0x10]
cmp dword [ebp - 0x1020], 0
je 0x419a8a
lea eax, [ebp - 0x1030]
push eax
mov ecx, ebx
call fcn.0041a3f0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x101c], 8
jb 0x419aa6
push dword [ebp - 0x1030]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 8]
inc esi
sar eax, 2
cmp esi, eax
jb 0x419a3c
mov ecx, dword [ebp - 0x10b4]
lea eax, [ebp - 0x1078]
push eax
lea ecx, [ecx + 0xcc]
call fcn.0041a060
mov dword [eax], ebx
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
lea ecx, [ebp - 0x10b8]
call fcn.00409650
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1064], 8
jb 0x419af7
push dword [ebp - 0x1078]
call ebx
add esp, 4
mov eax, dword [ebp - 0x10bc]
mov esi, dword [ebp - 0x10b8]
cmp esi, dword [eax + 8]
jne 0x4198b0
mov edx, dword [ebp - 0x1034]
mov edi, dword [ebp - 0x10c4]
mov byte [ebp - 0x10a9], 1
cmp edx, 0x10
jb 0x419b2f
push dword [ebp - 0x1048]
call ebx
add esp, 4
mov dword [ebp - 0x1034], 0xf
mov dword [ebp - 0x1038], 0
mov byte [ebp - 0x1048], 0
jmp 0x419b54
xor al, al
mov byte [ebp - 0x10a9], al
mov byte [ebp - 4], 1
test edi, edi
je 0x419b64
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
cmp dword [ebp - 0x104c], 0x10
jb 0x419b78
push dword [ebp - 0x1060]
call ebx
add esp, 4
mov al, byte [ebp - 0x10a9]
mov dword [ebp - 0x104c], 0xf
mov dword [ebp - 0x1050], 0
mov byte [ebp - 0x1060], 0
cmp dword [ebp - 0x107c], 8
jb 0x419bb3
push dword [ebp - 0x1090]
call ebx
mov al, byte [ebp - 0x10a9]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047cd06
mov esp, ebp
pop ebp
ret