Function at 0x46b704
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x53e4c9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x18], edi
call fcn.004888c0
mov esi, dword [esp + 0x44]
push eax
mov ecx, esi
call fcn.004886b0
mov ecx, dword [esp + 0x48]
push edi
lea eax, [esp + 0x1c]
push eax
push 4
push 0x656c6e67
push 0x7472616b
push ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x3c], 1
call fcn.004cf430
movzx eax, ax
add esp, 0x18
cmp ax, di
jne 0x46b9db
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x46b9db
push eax
call fcn.004cfe20
add esp, 4
test eax, eax
je 0x46b9db
push 1
push 0x55ba24
xor ebx, ebx
xor esi, esi
call fcn.004d0230
mov edx, dword [esp + 0x20]
add esp, 4
push eax
push edx
call fcn.004cffd0
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esp + 0x2c], edx
jne 0x46b723
push 1
push 0x55ba20
call fcn.004d0230
add esp, 4
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.004cffd0
add esp, 0xc
jmp 0x46b742
push 0x55ba24
call fcn.004d0230
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edi
call fcn.004d0080
mov ebp, eax
add esp, 0x10
cmp ebp, edi
jne 0x46b75d
push 0x55ba20
call fcn.004d0230
mov edx, dword [esp + 0x1c]
push eax
push edx
push edi
call fcn.004d0080
add esp, 0x10
mov ebp, eax
push edi
push ebp
call fcn.004cf870
push eax
mov dword [esp + 0x20], eax
call fcn.004cfe20
add esp, 0xc
cmp eax, 2
je 0x46b77a
mov dword [esp + 0x14], edi
push ebp
call fcn.004cf850
add esp, 4
sub eax, 2
je 0x46b7c3
sub eax, 1
jne 0x46b7f1
push 1
push ebp
call fcn.004cf870
push 2
push ebp
mov esi, eax
call fcn.004cf870
push esi
mov ebx, eax
call fcn.004cfe20
add esp, 0x14
cmp eax, 4
je 0x46b7b1
xor esi, esi
push ebx
call fcn.004cfe20
add esp, 4
cmp eax, 2
je 0x46b7f1
xor ebx, ebx
jmp 0x46b7f1
push 1
push ebp
call fcn.004cf870
mov edi, eax
push edi
call fcn.004cfe20
add esp, 0xc
cmp eax, 2
jne 0x46b7df
mov ebx, edi
jmp 0x46b7ef
push edi
call fcn.004cfe20
add esp, 4
cmp eax, 4
jne 0x46b7ef
mov esi, edi
xor edi, edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x46b9ba
push eax
lea ecx, [esp + 0x18]
call fcn.00488ae0
cmp esi, edi
mov dword [esp + 0x3c], 1
je 0x46b872
push 0x600
push 0x55ba24
lea ecx, [esp + 0x24]
call fcn.00488730
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 2
call fcn.00488d00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 1
call fcn.004884e0
push esi
lea ecx, [esp + 0x20]
call fcn.00488ae0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 3
call fcn.00488d00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 1
call fcn.004884e0
cmp ebx, edi
je 0x46b8d5
push 0x600
push 0x55ba24
lea ecx, [esp + 0x24]
call fcn.00488730
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.00488d00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 1
call fcn.004884e0
push ebx
lea ecx, [esp + 0x20]
call fcn.00488ae0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 5
call fcn.00488d00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 1
call fcn.004884e0
call fcn.0046b600
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00488530
push eax
push esi
call fcn.004cfb30
add esp, 8
test al, al
je 0x46b9ac
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edi
call fcn.00488530
push eax
push esi
call fcn.004cfb50
add esp, 8
push eax
lea ecx, [esp + 0x24]
call fcn.00488ae0
push 0x600
push 0
lea ecx, [esp + 0x30]
push ecx
mov bl, 6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], bl
call fcn.004382e0
lea edx, [esp + 0x1c]
push edx
push 0x55ba1c
mov ecx, eax
mov byte [esp + 0x44], 7
call fcn.00489670
push eax
call fcn.00519378
add esp, 0xc
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], bl
call fcn.00489920
mov ecx, dword [esp + 0x44]
push 0xff
lea eax, [esp + 0x2c]
push eax
call fcn.0040d490
push 0xff
mov ecx, eax
mov byte [esp + 0x40], 8
call fcn.00489670
mov ecx, dword [esp + 0x20]
push eax
push 2
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], bl
call fcn.00489940
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 1
call fcn.004884e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 0
call fcn.004884e0
push ebp
call fcn.004cf770
mov eax, dword [esp + 0x48]
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret