Function at 0x41b25c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x218], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41b78c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x74], 0x20
mov eax, 0x40
call fcn.0040404c
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x41b5eb
mov edi, ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x6c], 1
cmp dword [ebp - 4], 0
jne 0x41b2d4
lea eax, [ebp - 0xa8]
push eax
call sub.kernel32.dll_GetSystemTime
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xa8]
push eax
call sub.kernel32.dll_SystemTimeToFileTime
jmp 0x41b2f6
mov eax, dword [ebp - 4]
push edi
mov esi, eax
lea edi, [ebp - 0x98]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop edi
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x98]
call fcn.0041c3f8
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
call sub.kernel32.dll_FileTimeToLocalFileTime
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.kernel32.dll_FileTimeToSystemTime
mov eax, dword [0x436abc]
cmp byte [eax], 0
jne 0x41b406
movzx eax, word [ebp - 0xa6]
mov dword [ebp - 0x38], eax
movzx eax, word [ebp - 0xa2]
mov dword [ebp - 0x3c], eax
movzx eax, word [ebp - 0xa8]
cmp dword [ebp - 8], 0
jne 0x41b354
movzx eax, word [ebp - 0xa8]
mov ecx, 0x64
xor edx, edx
div ecx
mov eax, edx
cmp dword [0x441e48], 2
jne 0x41b379
mov dword [ebp - 0x40], eax
movzx eax, word [ebp - 0xa2]
movzx edx, word [ebp - 0xa6]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x38], edx
jmp 0x41b396
cmp dword [0x441e48], 1
jne 0x41b396
movzx edx, word [ebp - 0xa2]
mov dword [ebp - 0x38], edx
movzx edx, word [ebp - 0xa6]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x214], edx
mov byte [ebp - 0x210], 0
mov dword [ebp - 0x20c], 0x441e28
mov byte [ebp - 0x208], 0xa
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x204], edx
mov byte [ebp - 0x200], 0
mov dword [ebp - 0x1fc], 0x441e28
mov byte [ebp - 0x1f8], 0xa
mov dword [ebp - 0x1f4], eax
mov byte [ebp - 0x1f0], 0
lea eax, [ebp - 0x214]
push eax
push 4
mov ecx, 0x41b7a0
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x70]
call fcn.0041a8f4
mov edi, dword [ebp - 0x64]
jmp 0x41b66e
xor eax, eax
mov dword [ebp - 0x68], eax
call sub.kernel32.dll_GetUserDefaultLCID
mov ebx, eax
push 0x80
lea eax, [ebp - 0x1aa]
push eax
push 0x1f
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jne 0x41b43f
mov edx, 0x441f60
lea eax, [ebp - 0x1aa]
mov ecx, 0x80
call fcn.0041a7b0
lea ebx, [ebp - 0x1aa]
lea eax, [ebp - 0x1aa]
test eax, eax
je 0x41b576
movzx esi, word [ebx]
cmp word [ebx], 0x27
jne 0x41b46f
cmp dword [ebp - 0x68], 0
sete al
neg al
sbb eax, eax
mov dword [ebp - 0x68], eax
jmp 0x41b566
cmp dword [ebp - 0x68], 0
jne 0x41b566
cmp si, 0x64
je 0x41b489
cmp si, 0x4d
jne 0x41b566
xor eax, eax
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x14]
add ebx, 2
cmp si, word [ebx]
je 0x41b48e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
add eax, eax
sub ebx, eax
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x14], 1
jne 0x41b4f1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
mov word [ebp - 0x22], ax
add dword [ebp - 0x20], 2
cmp word [ebp - 0x22], 0
jne 0x41b4b5
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
sar eax, 1
jns 0x41b4d7
adc eax, 0
mov ecx, eax
add ecx, ecx
mov edx, dword [ebp - 0x1c]
add edx, 2
mov eax, dword [ebp - 0x1c]
call fcn.004041f0
mov ebx, dword [ebp - 0x1c]
add ebx, 4
jmp 0x41b569
cmp si, 0x64
jne 0x41b4fc
xor eax, eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x14], 3
jg 0x41b50c
mov ebx, dword [ebp - 0x18]
add ebx, ebx
add ebx, dword [ebp - 0x1c]
jmp 0x41b569
mov eax, dword [ebp - 0x18]
add eax, eax
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
add eax, eax
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add eax, 2
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
movzx eax, word [eax]
mov word [ebp - 0x32], ax
add dword [ebp - 0x2c], 2
cmp word [ebp - 0x32], 0
jne 0x41b52b
mov ebx, dword [ebp - 0x1c]
add ebx, 6
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
sar eax, 1
jns 0x41b553
adc eax, 0
add eax, 2
mov ecx, eax
add ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x28]
call fcn.004041f0
jmp 0x41b569
add ebx, 2
cmp word [ebx], 0
jne 0x41b453
mov edi, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x74]
mov esi, dword [ebp - 0x70]
call sub.kernel32.dll_GetUserDefaultLCID
mov dword [ebp - 0x10], eax
push ebx
push esi
lea eax, [ebp - 0x1aa]
push eax
lea eax, [ebp - 0xa8]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetDateFormatW
test eax, eax
je 0x41b5ad
cmp dword [ebp - 0x70], 0
jne 0x41b66e
call sub.kernel32.dll_GetUserDefaultLCID
push 0
push 0
lea edx, [ebp - 0x1aa]
push edx
lea edx, [ebp - 0xa8]
push edx
push 0
push eax
call sub.kernel32.dll_GetDateFormatW
test eax, eax
je 0x41b621
lea edx, [eax + 1]
mov ebx, edx
lea ecx, [ebp - 0x70]
mov eax, edx
add eax, eax
mov edx, eax
mov eax, ecx
call fcn.00404080
cmp dword [ebp - 0x70], 0
je 0x41b5f7
xor eax, eax
mov dword [ebp - 0x48], eax
mov ebx, 8
jmp 0x41b63b
mov esi, dword [ebp - 0x70]
call sub.kernel32.dll_GetUserDefaultLCID
mov dword [ebp - 0xc], eax
push ebx
push esi
lea eax, [ebp - 0x1aa]
push eax
lea eax, [ebp - 0xa8]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetDateFormatW
test eax, eax
jne 0x41b66e
xor eax, eax
mov dword [ebp - 0x48], eax
call sub.kernel32.dll_GetLastError_2
mov edx, dword [0x436c5c]
mov dword [edx], eax
mov ebx, dword [0x436c5c]
mov ebx, dword [ebx]
push 0xffffffffffffffff
lea ecx, [ebp - 0x218]
xor edx, edx
mov eax, ebx
call fcn.00416854
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x218]
xor edx, edx
call fcn.0042f6b4
mov eax, dword [ebp - 0x70]
call fcn.00404068
xor ebx, ebx
jmp 0x41b773
movzx eax, word [ebp - 0xa4]
call fcn.0042ff00
lea edx, [ebp - 0x1ec]
mov ecx, 0x20
xchg edx, eax
call fcn.0041a7b0
test edi, edi
je 0x41b6f9
cmp dword [ebp - 0x6c], 0
je 0x41b6cf
cmp dword [ebp - 8], 1
jne 0x41b6cf
lea edx, [ebp - 0x1ec]
mov ecx, dword [ebp + 8]
mov eax, edi
call fcn.0041a7b0
mov ecx, 0x41b7c4
mov edx, dword [ebp + 8]
mov eax, edi
call fcn.0041b230
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp + 8]
mov eax, edi
call fcn.0041b230
jmp 0x41b6dc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x70]
mov eax, edi
call fcn.0041a7b0
mov eax, edi
movzx edx, word [eax]
add eax, 2
test dx, dx
jne 0x41b6de
add edi, 2
mov ebx, eax
sub ebx, edi
sar ebx, 1
jns 0x41b76b
adc ebx, 0
jmp 0x41b76b
cmp dword [ebp - 0x6c], 0
je 0x41b747
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x1ec]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x228], eax
mov byte [ebp - 0x224], 0xa
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x220], eax
mov byte [ebp - 0x21c], 0xa
lea edx, [ebp - 0x228]
mov eax, 0x41b7c8
mov ecx, 1
call fcn.0041ecd8
mov ebx, eax
jmp 0x41b76b
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 0xa
lea edx, [ebp - 0x230]
mov eax, 0x41b7d8
xor ecx, ecx
call fcn.0041ecd8
mov ebx, eax
mov eax, dword [ebp - 0x70]
call fcn.00404068
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b793
lea eax, [ebp - 0x218]
call fcn.00406ab0
ret