Function at 0x402ce0
Capabilities:
Get geographical location
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4113bc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x27c], edx
mov edi, ecx
mov dword [ebp - 0x274], edi
mov eax, dword [ebx + 8]
push 0x200
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x228]
push 0
push eax
mov dword [ebp - 0x274], edi
call fcn.00405c60
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov esi, eax
xor eax, eax
push 3
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x1c]
push eax
push 0x59
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
mov dword [ebp - 0x248], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402d97
sub ecx, edx
lea eax, [ebp - 0x1c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x258]
call fcn.00403540
xor eax, eax
mov dword [ebp - 4], 0
push 3
mov dword [ebp - 0x24], eax
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x24]
push eax
push 0x5a
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
mov dword [ebp - 0x260], 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402e00
sub ecx, edx
lea eax, [ebp - 0x24]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.00403540
push 0x418934
lea edx, [ebp - 0x258]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a4]
call fcn.00403740
mov ecx, eax
add esp, 4
mov dword [ebp - 0x274], ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x270]
cmp dword [ebp - 0x25c], 8
mov esi, dword [ebp - 0x270]
mov edx, dword [ecx + 0x10]
cmovae eax, esi
mov dword [ebp - 0x288], eax
mov eax, dword [ecx + 0x14]
sub eax, edx
mov dword [ebp - 0x284], edx
mov edx, dword [ebp - 0x260]
cmp edx, eax
ja 0x402edd
mov eax, dword [ebp - 0x284]
add eax, edx
mov dword [ebp - 0x278], ecx
cmp dword [ecx + 0x14], 8
mov dword [ebp - 0x28c], eax
mov dword [ecx + 0x10], eax
jb 0x402ea1
mov eax, dword [ecx]
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x284]
lea eax, [edx + edx]
push eax
mov eax, dword [ebp - 0x278]
push dword [ebp - 0x288]
lea eax, [eax + ecx*2]
push eax
call fcn.00407710
mov eax, dword [ebp - 0x278]
add esp, 0xc
mov ecx, dword [ebp - 0x28c]
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x274]
jmp 0x402efd
push edx
push dword [ebp - 0x288]
mov byte [ebp - 0x274], 0
push dword [ebp - 0x274]
push edx
call fcn.00403ab0
mov esi, dword [ebp - 0x270]
mov dword [ebp - 0x230], 0
xor ecx, ecx
mov dword [ebp - 0x22c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x240], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x230], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x290]
cmp edx, 8
jb 0x402f7f
mov ecx, dword [ebp - 0x2a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402f75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4031fa
push edx
push ecx
call fcn.00404688
add esp, 8
xor eax, eax
mov dword [ebp - 0x294], 0
mov word [ebp - 0x2a4], ax
mov eax, dword [ebp - 0x27c]
mov ecx, eax
mov dword [ebp - 0x290], 7
cmp dword [eax + 0x14], 8
jb 0x402fac
mov ecx, dword [eax]
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
push ecx
cmovae eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x228]
push 0x100
push ecx
push 0x418938
push eax
push dword [ebp - 0x280]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4030fb
xor eax, eax
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x228]
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403003
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00403540
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x403061
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403057
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4031ff
push edx
push ecx
call fcn.00404688
add esp, 8
xor eax, eax
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x22c], 7
cmp eax, 8
jb 0x4030b8
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x4030ae
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403204
push ecx
push esi
call fcn.00404688
add esp, 8
mov edx, dword [ebp - 0x244]
cmp edx, 8
jb 0x4031da
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4031d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403209
jmp 0x4031d0
mov eax, dword [ebp - 0x27c]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x40310b
mov ecx, dword [eax]
cmp dword [ebp - 0x244], 8
lea eax, [ebp - 0x258]
push ecx
cmovae eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x228]
push 0x100
push ecx
push 0x418938
push eax
push dword [ebp - 0x280]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x403170
xor eax, eax
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x228]
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403160
jmp 0x40300e
mov eax, dword [ebp - 0x27c]
cmp dword [eax + 0x14], 8
jb 0x40317e
mov eax, dword [eax]
push eax
push 0x100
lea eax, [ebp - 0x228]
push eax
push 0x418938
push 0x41893c
push dword [ebp - 0x280]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x228]
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4031c0
jmp 0x40300e
push edx
push ecx
call fcn.00404688
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00404677
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00407fd9
call fcn.00407fd9
call fcn.00407fd9
call fcn.00407fd9
int3