Function at 0x4140c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x440d84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [0x434820]
mov dword [ebp - 0x9c], eax
mov eax, dword [0x434824]
mov dword [ebp - 0x98], eax
mov eax, dword [0x434828]
mov dword [ebp - 0x94], eax
mov eax, dword [0x43482c]
mov dword [ebp - 0x90], eax
mov eax, dword [0x434830]
mov dword [ebp - 0x8c], eax
mov eax, dword [0x434834]
mov dword [ebp - 0x88], eax
mov eax, dword [0x434838]
mov dword [ebp - 0x84], eax
mov eax, dword [0x43483c]
mov dword [ebp - 0x80], eax
mov eax, dword [0x434840]
mov dword [ebp - 0x7c], eax
mov eax, dword [0x434844]
mov dword [ebp - 0x78], eax
mov eax, dword [0x434848]
mov dword [ebp - 0x74], eax
mov eax, dword [0x43484c]
mov dword [ebp - 0x70], eax
mov eax, dword [0x434850]
mov dword [ebp - 0x6c], eax
mov eax, dword [0x434854]
mov dword [ebp - 0x68], eax
mov eax, dword [0x434858]
mov dword [ebp - 0x64], eax
mov eax, dword [0x43485c]
mov dword [ebp - 0x60], eax
mov eax, dword [0x434860]
mov dword [ebp - 0x5c], eax
mov eax, dword [0x434864]
mov dword [ebp - 0x58], eax
mov eax, dword [0x434868]
mov dword [ebp - 0x54], eax
mov eax, dword [0x43486c]
mov dword [ebp - 0x50], eax
mov eax, dword [0x434870]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x434874]
mov dword [ebp - 0x48], eax
mov eax, dword [0x434878]
mov dword [ebp - 0x44], eax
mov eax, dword [0x43487c]
mov dword [ebp - 0x40], eax
mov eax, dword [0x434880]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x434884]
mov dword [ebp - 0x38], eax
mov eax, dword [0x434888]
mov dword [ebp - 0x34], eax
mov eax, dword [0x43488c]
mov dword [ebp - 0x30], eax
mov eax, dword [0x434890]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x434894]
mov dword [ebp - 0x28], eax
mov eax, dword [0x434898]
mov dword [ebp - 0x24], eax
mov eax, dword [0x43489c]
mov dword [ebp - 0x20], eax
mov eax, dword [0x4348a0]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4348a4]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4348a8]
mov dword [ebp - 0x14], eax
mov eax, dword [0x4348ac]
mov dword [ebp - 0x10], eax
mov eax, dword [0x4348b0]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4348b4]
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
push esi
push 3
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push esi
call dword [sym.imp.MSVCR110.dll__wcslwr]
mov edx, esi
add esp, 4
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x414240
xor edi, edi
lea ebx, [ebp - 0x9c]
push 3
push esi
push ebx
call dword [sym.imp.MSVCR110.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x414300
inc edi
add ebx, 8
cmp edi, 0x13
jl 0x414257
xor edi, edi
lea ebx, [ebp - 0x9c]
lea ecx, [ecx]
push 2
push esi
push ebx
call dword [sym.imp.MSVCR110.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x4142d9
inc edi
add ebx, 8
cmp edi, 0x13
jl 0x414280
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4142a0
sub ecx, edx
sar ecx, 1
push 3
push 0x4348c0
lea eax, [ecx + 1]
push eax
push esi
call dword [sym.imp.MSVCR110.dll_wcsncpy_s]
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 8
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4142e0
lea eax, [ebp - 0x9c]
sub ecx, edx
lea eax, [eax + edi*8]
sar ecx, 1
push 4
push eax
lea eax, [ecx + 1]
jmp 0x414337
push 3
push 0x4348b0
push esi
call dword [sym.imp.MSVCR110.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x414342
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414320
sub eax, edx
sar eax, 1
push 3
push 0x4348b8
inc eax
push eax
push esi
call dword [sym.imp.MSVCR110.dll_wcsncpy_s]
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 8