Function at 0x422428
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446447
mov eax, dword fs:[0]
push eax
sub esp, 0x408
mov eax, dword [0x46a034]
xor eax, esp
mov dword [esp + 0x400], eax
push ebx
push esi
push edi
mov eax, dword [0x46a034]
xor eax, esp
push eax
lea eax, [esp + 0x418]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call dword [sym.imp.MSVCR110.dll_rand]
cdq
mov ecx, 0x2710
idiv ecx
mov eax, dword [esi]
lea ecx, [esp + 0xc4]
push ecx
mov ecx, esi
mov dword [esi + 0x110], edx
call dword [eax + 0x5c]
mov dword [esp + 0x18], eax
and dword [esp + 0x420], 0
mov edx, dword [esi]
lea eax, [esp + 0x94]
push eax
mov ecx, esi
call dword [edx + 0x58]
mov ebx, eax
mov byte [esp + 0x420], 1
mov edx, dword [esi]
lea eax, [esp + 0xdc]
push eax
mov ecx, esi
call dword [edx + 0x54]
mov edi, eax
mov byte [esp + 0x420], 2
mov edx, dword [esi]
lea eax, [esp + 0xf4]
push eax
mov ecx, esi
call dword [edx + 0x50]
mov esi, eax
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x420], 3
mov edx, dword [ecx]
lea eax, [esp + 0xac]
push eax
call dword [edx + 0xdc]
mov edx, eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x420], 4
call fcn.0040fd00
push dword [esp + 0x18]
mov edx, esi
push ebx
push edi
mov ecx, eax
mov byte [esp + 0x42c], 5
call fcn.00436958
add esp, 0xc
lea ecx, [esp + 0x7c]
call fcn.00402286
xor ebx, ebx
push ebx
push 1
lea ecx, [esp + 0xb4]
call fcn.0040253d
lea ecx, [esp + 0xf4]
call fcn.00402286
lea ecx, [esp + 0xdc]
call fcn.00402286
lea ecx, [esp + 0x94]
call fcn.00402286
or dword [esp + 0x420], 0xffffffff
lea ecx, [esp + 0xc4]
call fcn.00402286
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov esi, eax
mov edi, 0x100
cmp esi, 0xffffffff
je 0x4225a2
push ebx
push edi
lea eax, [esp + 0x214]
push eax
push 8
push esi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
push edi
lea eax, [esp + 0x210]
push eax
push edi
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.MSVCR110.dll_wcstombs_s]
add esp, 0x14
mov ecx, 0x44cd7f
lea eax, [esp + 0x10c]
cmp esi, 0xffffffff
cmove eax, ecx
push eax
lea ecx, [esp + 0x50]
call fcn.0040221e
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x54]
push eax
mov ecx, 0x46aa3c
mov dword [esp + 0x42c], 6
call fcn.00402cbd
lea ecx, [esp + 0x4c]
call fcn.00402286
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], 0x4e40000
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x420], 7
push dword [0x4726d0]
lea ecx, [esp + 0x20]
call fcn.004328fc
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
call fcn.00432b41
mov byte [esp + 0x420], 8
cmp dword [esp + 0x48], 0x10
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x68]
call fcn.0040221e
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x6c]
push eax
mov ecx, 0x46aa54
mov byte [esp + 0x42c], 9
call fcn.00402cbd
lea ecx, [esp + 0x64]
call fcn.00402286
lea ecx, [esp + 0x34]
call fcn.00402286
lea ecx, [esp + 0x1c]
call fcn.004328d2
mov ecx, dword [esp + 0x418]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0043dcae
mov esp, ebp
pop ebp
ret