Function at 0x421947
Capabilities:
Get geographical location

Disassembly:
push 0xbc
mov eax, 0x51ee23
call fcn.004ac5bf
mov esi, edx
mov dword [ebp - 0xc8], esi
mov edi, ecx
mov dword [ebp - 0xbc], edi
xor ebx, ebx
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xc4], ebx
call fcn.004075e0
push str.city
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.004075b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
push str.HKCU
mov dword [ebp - 0xc4], 1
call fcn.004075b0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0xc4], 3
push eax
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.00420d11
pop ecx
pop ecx
test al, al
je 0x4219df
lea ecx, [ebp - 0x88]
call fcn.00408f20
cmp dword [eax], ebx
jne 0x4219e1
mov bl, 1
lea ecx, [ebp - 0x58]
call fcn.00409ad0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00409ad0
test bl, bl
jne 0x421aab
lea ecx, [ebp - 0x34]
call fcn.0040a4d0
push str.time
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004075b0
push str.HKCU
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.004075b0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
mov edx, esi
push eax
lea ecx, [ebp - 0x58]
call fcn.00420e90
pop ecx
mov bl, al
pop ecx
neg bl
lea ecx, [ebp - 0x58]
sbb bl, bl
call fcn.00409ad0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00409ad0
add bl, 1
jne 0x421a95
push 0
call fcn.004f97a5
pop ecx
push 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xbc], eax
mov esi, edx
call fcn.0040a300
mov ecx, dword [ebp - 0xbc]
sub ecx, dword [eax]
sbb esi, dword [eax + 4]
mov dword [ebp - 0xbc], esi
js 0x421a97
jg 0x421a95
cmp ecx, 0x7e900
jb 0x421a97
mov bl, 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.0040a460
test bl, bl
je 0x421d21
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0x2e
push 0x54ba54
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.0041496b
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.00418add
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00423543
mov bl, al
lea ecx, [ebp - 0x40]
push 0
neg bl
push 1
sbb bl, bl
call fcn.004049c9
push 0
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.004049c9
add bl, 1
je 0x421b2a
mov ecx, edi
call fcn.004075e0
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004049c9
jmp 0x421d2f
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.00414c41
push str.cityname_:_
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.004075b0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
call fcn.00408f20
lea ecx, [ebp - 0xa0]
push dword [eax]
push 0
call fcn.00409360
push eax
lea ecx, [ebp - 0x58]
call fcn.004127c0
mov ebx, eax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xbc], ebx
cmp ebx, 0xffffffff
je 0x421d02
lea ecx, [ebp - 0xa0]
call fcn.00408f20
push 0x54d98c
mov esi, dword [eax]
call fcn.00408db0
pop ecx
push eax
lea eax, [esi + ebx]
push eax
push 0x54d98c
lea ecx, [ebp - 0x58]
call fcn.004127c0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x421d02
lea ecx, [ebp - 0xa0]
call fcn.00408f20
lea ecx, [ebp - 0xa0]
mov esi, dword [eax]
call fcn.00408f20
sub ebx, esi
lea ecx, [ebp - 0x58]
sub ebx, dword [ebp - 0xbc]
push ebx
mov eax, dword [eax]
add eax, dword [ebp - 0xbc]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00412dd0
push eax
lea ecx, [ebp - 0x88]
call fcn.00413fc0
lea ecx, [ebp - 0x70]
call fcn.00409ad0
lea ecx, [ebp - 0x88]
call fcn.00408f20
cmp dword [eax], 0
je 0x421d02
lea ecx, [ebp - 0x34]
call fcn.0040a4d0
push 0
mov byte [ebp - 4], 0xc
call fcn.004f97a5
pop ecx
push 8
mov dword [ebp - 0xc0], eax
lea esi, [ebp - 0xc0]
mov dword [ebp - 0xbc], edx
pop ebx
push esi
lea ecx, [ebp - 0x34]
call fcn.0040b990
inc esi
sub ebx, 1
jne 0x421c41
push str.time
lea ecx, [ebp - 0x70]
call fcn.004075b0
mov ebx, str.HKCU
mov byte [ebp - 4], 0xd
push ebx
lea ecx, [ebp - 0xb8]
call fcn.004075b0
mov edx, dword [ebp - 0xc8]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0xb8]
call fcn.00420f75
pop ecx
pop ecx
lea ecx, [ebp - 0xb8]
call fcn.00409ad0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.00409ad0
push str.city
lea ecx, [ebp - 0xb8]
call fcn.004075b0
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xf
call fcn.004075b0
mov edx, dword [ebp - 0xc8]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x70]
call fcn.00420d8d
pop ecx
pop ecx
lea ecx, [ebp - 0x70]
call fcn.00409ad0
lea ecx, [ebp - 0xb8]
call fcn.00409ad0
lea ecx, [ebp - 0x34]
call fcn.0040a460
lea ecx, [ebp - 0xa0]
call fcn.00409ad0
lea ecx, [ebp - 0x58]
call fcn.00409ad0
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004049c9
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.004141a0
lea ecx, [ebp - 0x88]
call fcn.00409ad0
mov eax, edi
call fcn.004ac569
ret