Function at 0x41af00
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x4ec860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push edi
mov ecx, dword [ecx + 0x11c]
push ecx
xor edi, edi
push 0x50d64c
mov dword [esp + 0x44], edi
call fcn.00466320
xor ecx, ecx
add esp, 8
cmp eax, edi
mov dword [esp + 0xc], ecx
je 0x41af50
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x4f99b0
push eax
call dword [ecx]
mov ecx, dword [esp + 0xc]
cmp ecx, edi
mov byte [esp + 0x3c], 1
je 0x41b1e8
mov eax, dword [ecx]
lea edx, [esp + 0x24]
push edx
push ecx
call dword [eax + 0xc]
test eax, eax
jge 0x41afa0
mov eax, dword [esp + 0xc]
cmp eax, edi
mov byte [esp + 0x3c], 0
je 0x41af7f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41b213
mov eax, dword [esp + 0x24]
push ebp
xor ecx, ecx
or ebp, 0xffffffff
cmp eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], eax
jle 0x41b1e3
push ebx
mov dword [esp + 0x1c], edi
push esi
mov eax, dword [esp + 0x18]
push edi
push edi
lea esi, [esp + 0x24]
push esi
lea esi, [esp + 0x30]
push esi
lea esi, [esp + 0x38]
push esi
lea esi, [esp + 0x4c]
push esi
push edi
push ecx
mov dword [esp + 0x3c], edi
mov edx, dword [eax]
push eax
call dword [edx + 0x10]
test eax, eax
jl 0x41b1cc
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x41b1cc
push eax
lea ecx, [esp + 0x14]
call fcn.00403260
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
call fcn.0040f820
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x41b021
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], edi
jl 0x41b048
mov eax, dword [esp + 0x58]
push eax
push ecx
call fcn.004b775f
mov ecx, dword [esp + 0x18]
add esp, 8
cmp eax, edi
je 0x41b048
sub eax, ecx
sar eax, 1
cmp eax, edi
je 0x41b050
lea eax, [ecx - 0x10]
jmp 0x41b1b0
cmp ebp, 0xffffffff
je 0x41b070
cmp ebp, dword [esp + 0x24]
je 0x41b070
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
push edi
push edi
push 0x800
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
mov ebp, dword [esp + 0x24]
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x4fb890
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x54], 3
call fcn.00410a70
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx - 0xc]
mov eax, dword [eax]
add esp, 0xc
cmp edx, edi
jge 0x41b0b5
or eax, 0xffffffff
jmp 0x41b0ce
push eax
push ecx
call fcn.004b775f
add esp, 8
cmp eax, edi
jne 0x41b0c8
or eax, 0xffffffff
jmp 0x41b0ce
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, edi
mov eax, dword [esp + 0x34]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b0f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
lea ecx, [esp + 0x14]
je 0x41b109
push 0x4fb87c
call fcn.00403220
mov esi, dword [esp + 0x14]
jmp 0x41b158
cmp dword [esp + 0x28], edi
jne 0x41b128
mov eax, dword [esp + 0x20]
push eax
push 0x4fb864
push ecx
call fcn.00407a50
mov esi, dword [esp + 0x20]
add esp, 0xc
jmp 0x41b158
push 0x40
push 0x40
call fcn.004030b0
mov edx, dword [esp + 0x2c]
push eax
push 0x1001
push edx
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
mov esi, dword [esp + 0x14]
dec eax
xor ecx, ecx
cmp eax, edi
setle cl
dec ecx
and eax, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], di
mov ecx, dword [esp + 0x38]
xor eax, eax
cmp ecx, edi
je 0x41b167
mov eax, 8
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push esi
push ebx
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_AppendMenuW]
mov edx, dword [esp + 0x20]
inc ebx
inc edx
lea eax, [esi - 0x10]
mov dword [esp + 0x20], edx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x48], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b1a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x48], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b1cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x2c], ecx
jl 0x41afc0
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
pop ebp
cmp ecx, edi
mov byte [esp + 0x3c], 0
je 0x41b1f7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b21d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x34]
pop edi
mov dword fs:[0], ecx
add esp, 0x3c
ret 0xc