Function at 0x407bed
Capabilities:
Get geographical location

Disassembly:
push 0xa8
mov eax, 0x440c55
call fcn.0042bb26
mov dword [ebp - 0x3c], ecx
push 2
pop edi
mov dword [ebp - 4], edi
call fcn.00407059
xor ebx, ebx
lea eax, [ebp - 0x31]
mov byte [ebp - 0x31], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x407c15
sub eax, esi
je 0x407c4b
push 4
lea eax, [ebp - 0x38]
push eax
push 0x20001009
mov esi, 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x20
lea eax, [ebp - 0x5c]
push eax
push 0x58
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
call fcn.0040c137
call fcn.004295cd
call fcn.004295cd
lea eax, [ebp - 0x58]
push eax
sub esp, 0x1c
mov dword [ebp - 4], edi
mov esi, esp
mov dword [ebp - 0x38], esp
push 0x14
push str._7_
call fcn.004081ed
lea edi, [ebp - 0xb4]
call fcn.00427366
mov byte [ebp - 4], 5
call fcn.004273d9
mov byte [ebp - 4], 6
cmp dword [eax + 0x18], 0x10
jb 0x407c93
mov eax, dword [eax + 4]
jmp 0x407c96
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.00403193
mov edi, dword [ebp - 0x3c]
push edi
call fcn.00406d96
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004035bd
lea esi, [ebp - 0xb4]
call fcn.00404654
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.00403957
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec eax
dec eax
je 0x407cee
dec eax
dec eax
je 0x407cee
sub eax, 4
je 0x407cee
xor eax, eax
jmp 0x407cfc
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor eax, eax
inc eax
dec eax
jne 0x407d09
call fcn.00405704
call fcn.0040c39c
lea eax, [ebp - 0x30]
push eax
sub esp, 0x1c
lea eax, [ebp + 0x24]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.004031b5
sub esp, 0x1c
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
mov byte [ebp - 4], 8
call fcn.004031b5
mov byte [ebp - 4], 7
call fcn.004071ee
mov dword [ebp - 0x3c], eax
call fcn.004295cd
cdq
push 0x14
pop ecx
idiv ecx
mov esi, edx
inc esi
call fcn.004295cd
cdq
idiv esi
cmp edx, esi
jg 0x407d62
mov eax, esi
cdq
idiv esi
cmp edx, ebx
je 0x407d67
call fcn.0040974d
cmp dword [ebp - 0x3c], ebx
push ebx
jge 0x407da4
xor esi, esi
inc esi
push esi
lea ecx, [ebp - 0x30]
call fcn.004035bd
push ebx
push esi
lea ecx, [ebp + 8]
call fcn.004035bd
push ebx
push esi
lea ecx, [ebp + 0x24]
call fcn.004035bd
push ebx
push esi
lea ecx, [ebp + 0x40]
call fcn.004035bd
mov eax, 0x80004005
call fcn.0042bba9
ret 0x54
sub esp, 0x1c
lea eax, [ebp + 0x40]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.004031b5
sub esp, 0x1c
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
mov byte [ebp - 4], 9
call fcn.004031b5
push edi
mov byte [ebp - 4], 7
call fcn.0040635d
xor esi, esi
cmp eax, 1
jne 0x407e16
push ebx
sub esp, 0x1c
lea eax, [ebp + 0x40]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.004031b5
sub esp, 0x1c
lea eax, [edi + 0x38]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
mov byte [ebp - 4], 0xa
call fcn.004031b5
push edi
mov byte [ebp - 4], 7
call fcn.0040635d
inc esi
cmp esi, 0x14
jl 0x407dd6
xor esi, esi
jmp 0x407e1f
cmp eax, ebx
jge 0x407e52
mov esi, 0x80004005
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004035bd
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.004035bd
push ebx
push 1
lea ecx, [ebp + 0x24]
call fcn.004035bd
push ebx
push 1
lea ecx, [ebp + 0x40]
call fcn.004035bd
mov eax, esi
jmp 0x407d9c
mov esi, edi
call fcn.00406757
mov ebx, edi
mov esi, eax
call fcn.004065a8
xor ebx, ebx
jmp 0x407e1f