Function at 0x41a070
Capabilities:
Get geographical location
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x41fa91
mov eax, dword fs:[0]
push eax
mov eax, 0x2760
call fcn.0041be10
mov eax, dword [0x42b75c]
xor eax, esp
mov dword [esp + 0x275c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42b75c]
xor eax, esp
push eax
lea eax, [esp + 0x2774]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2784]
mov esi, dword [esp + 0x2788]
push 0x270f
lea eax, [esp + 0x65]
push 0
push eax
mov byte [esp + 0x6c], 0
call sub.MSVCR90.dll_memset
xor ecx, ecx
xor eax, eax
mov word [esp + 0x44], cx
xor edx, edx
add esp, 0xc
mov ecx, ebx
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov word [esp + 0x44], dx
mov dword [esp + 0x46], eax
mov dword [esp + 0x4a], eax
call fcn.0041ada0
push str.__SELECTED
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], eax
call fcn.00401a40
cmp byte [esp + 0x2790], 0
mov dword [esp + 0x277c], 0
push 0xa
je 0x41a14c
movzx edi, word [esp + 0x2790]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [esp + 0x3c]
push eax
push 0x5a
push edi
call ebp
push 0xa
lea ecx, [esp + 0x48]
push ecx
push 0x59
push edi
call ebp
jmp 0x41a170
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea edx, [esp + 0x3c]
push edx
push 0x5a
push 0x400
call edi
push 0xa
lea eax, [esp + 0x48]
push eax
push 0x59
push 0x400
call edi
lea ecx, [esp + 0x38]
push 0x422dac
push ecx
call dword [sym.imp.MSVCR90.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x41a19c
mov dx, word [0x422da8]
mov al, byte [0x422daa]
mov word [esp + 0x38], dx
mov byte [esp + 0x3a], al
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401a40
push 0x422da4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2780], 1
call fcn.00402190
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x1c]
call fcn.00402190
push str.hr_HR
lea ecx, [esp + 0x1c]
call fcn.00401750
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41a1eb
push str.en_HR
jmp 0x41a21b
push str.nb_NO
call fcn.00401750
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41a204
push str.no_NO
jmp 0x41a21b
push str.et_EE
call fcn.00401750
test eax, eax
jne 0x41a220
push str.en_EE
lea ecx, [esp + 0x1c]
call fcn.00401580
cmp dword [esp + 0x20], 5
jl 0x41a40a
mov edi, dword [sym.imp.MSVCR90.dll_fwrite]
push esi
push 1
push 0xf
push str._option_value_
call edi
add esp, 0x10
lea eax, [esp + 0x60]
push eax
push 0
push 2
mov ecx, ebx
call fcn.0041af30
cmp al, 1
jne 0x41a26d
push esi
push 1
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [esp + 0x6c]
push edx
call edi
add esp, 0x10
push esi
push 1
push 2
push 0x422d60
call edi
add esp, 0x10
lea eax, [esp + 0x60]
push eax
push 1
push 2
mov ecx, ebx
call fcn.0041af30
cmp al, 1
jne 0x41a2a9
push esi
push 1
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [esp + 0x6c]
push edx
call edi
add esp, 0x10
push esi
push 1
push 0xa
push str.__option__n
call edi
mov ebp, 4
add esp, 0x10
cmp dword [esp + 0x20], ebp
jle 0x41a40a
jmp 0x41a2d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x17], 0
call fcn.004019f0
xor eax, eax
mov dword [esp + 0x51], eax
mov dword [esp + 0x55], eax
mov dword [esp + 0x59], eax
mov word [esp + 0x5d], ax
lea eax, [esp + 0x50]
push eax
push 0
push ebp
mov ecx, ebx
mov byte [esp + 0x2788], 2
mov byte [esp + 0x5c], 0
call fcn.0041af30
cmp al, 1
jne 0x41a337
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x28]
call fcn.00401580
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
call fcn.00401e20
cmp eax, 0xffffffff
je 0x41a337
mov byte [esp + 0x17], 1
push esi
push 1
push 0xf
push str._option_value_
call edi
add esp, 0x10
lea eax, [esp + 0x60]
push eax
push 0
push ebp
mov ecx, ebx
call fcn.0041af30
cmp al, 1
jne 0x41a37e
push esi
push 1
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [esp + 0x6c]
push edx
call edi
push esi
push 1
push 1
push 0x422d50
call edi
add esp, 0x20
cmp byte [esp + 0x17], 0
je 0x41a3a4
mov eax, dword [esp + 0x34]
push esi
push 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], eax
call fcn.00401370
mov ecx, dword [esp + 0x34]
push eax
push ecx
call edi
add esp, 0x10
push esi
push 1
push 1
push 0x422d4c
call edi
add esp, 0x10
lea edx, [esp + 0x60]
push edx
push 1
push ebp
mov ecx, ebx
call fcn.0041af30
cmp al, 1
jne 0x41a3df
push esi
push 1
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [esp + 0x6c]
push ecx
call edi
add esp, 0x10
push esi
push 1
push 0xa
push str.__option__n
call edi
add esp, 0x10
lea ecx, [esp + 0x24]
mov byte [esp + 0x277c], 1
call fcn.00401cb0
inc ebp
cmp ebp, dword [esp + 0x20]
jl 0x41a2d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x277c], 0
call fcn.00401cb0
lea ecx, [esp + 0x30]
mov dword [esp + 0x277c], 0xffffffff
call fcn.00401cb0
mov ecx, dword [esp + 0x2774]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x275c]
xor ecx, esp
call fcn.0041bd34
add esp, 0x276c
ret 0x10