Function at 0x41cca0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4eca78
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x23c]
lea ebx, [edi + 0x238]
push eax
call dword [sym.imp.USER32.dll_IsMenu]
test eax, eax
jne 0x41cce5
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
mov ecx, ebx
call fcn.004d50a5
jmp 0x41cd01
mov esi, dword [sym.imp.USER32.dll_RemoveMenu]
jmp 0x41ccf0
mov ecx, dword [ebx + 4]
push 0x400
push 0
push ecx
call esi
test eax, eax
jne 0x41ccf0
cmp dword [edi + 0x2d0], 2
jne 0x41cf1d
mov eax, dword [edi + 0x2c4]
cmp eax, 1
jne 0x41cd4a
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4fb900
call fcn.00403260
push 0x8340
push ebx
mov ecx, edi
call fcn.0041af00
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp eax, 2
jne 0x41cf1d
mov eax, dword [edi + 0x148]
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [edx + 0x24]
test eax, eax
jl 0x41cf1d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41cf1d
mov eax, dword [edi + 0x148]
mov edx, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [edx + 0x98]
test eax, eax
jl 0x41cf1d
mov ebp, dword [esp + 0x20]
xor edx, edx
test ebp, ebp
setne dl
push 0x4fb960
push 0x8340
mov ecx, ebx
dec edx
and edx, 8
push edx
call fcn.00409ec0
mov eax, dword [ebx + 4]
push 0
push 0
push 0x800
push eax
mov dword [esp + 0x24], 0x8341
call dword [sym.imp.USER32.dll_AppendMenuW]
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
jbe 0x41cf1d
mov ebp, dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
mov eax, dword [edi + 0x148]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push esi
push eax
call dword [ecx + 0x38]
test eax, eax
jl 0x41cf10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
xor ebx, ebx
cmp eax, ecx
jne 0x41ce20
mov ebx, 0x1000
cmp esi, dword [esp + 0x28]
jne 0x41ce29
or ebx, 8
lea ecx, [esp + 0x10]
call fcn.00406190
push 0x40
push 0x40
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 0
call fcn.004030b0
mov ecx, dword [esp + 0x20]
push eax
push 0x1001
push ecx
call ebp
mov ecx, dword [esp + 0x10]
dec eax
xor edx, edx
test eax, eax
setle dl
dec edx
and eax, edx
mov dword [ecx - 0xc], eax
lea edx, [esp + 0x30]
push edx
mov word [ecx + eax*2], 0
mov eax, dword [edi + 0x148]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
test eax, eax
jl case.0x41ce8c.4
mov eax, dword [esp + 0x3c]
dec eax
cmp eax, 0xe
ja case.0x41ce8c.4
jmp dword [eax*4 + 0x41cf30]
push 0x4f724c
jmp 0x41ced7
push str.__Big_
jmp 0x41ced7
push str.__Children_
jmp 0x41ced7
push str.__CC_
jmp 0x41ced7
push str.__CC_Big_
jmp 0x41ced7
push str.__CC_Children_
jmp 0x41ced7
push str.__Forced_
jmp 0x41ced7
push str.__Director_Comments_
jmp 0x41ced7
push str.__Director_Comments__Big_
jmp 0x41ced7
push str.__Director_Comments__Children_
lea ecx, [esp + 0x14]
call fcn.00415410
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push ebx
lea ecx, [edi + 0x238]
call fcn.00409ec0
mov eax, dword [esp + 0x14]
inc eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], 0xffffffff
call fcn.00402a10
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jb 0x41cdf3
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret