Function at 0x46d156
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push esi
movzx eax, byte [ebp + 0x40]
test eax, eax
je 0x46d2e8
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x46d23f
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
movzx eax, byte [eax]
test eax, eax
je 0x46d21d
mov byte [ebp - 6], 0
movzx eax, byte [ebp - 6]
test eax, eax
je 0x46d21b
push 1
push 0x125
push 0x1378
push 0x9da
push 1
push 0x3d82
push 1
push 0x728a
push 0x4851
push 0x4f97
push 1
push 1
call fcn.004690ec
add esp, 0x30
jmp 0x46d23a
mov byte [ebp - 5], 0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x46d23a
push 0x158b
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
jmp 0x46d2e3
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x80], eax
push dword [ebp - 0x80]
push 0x7fd1
push dword [ebp - 0xd0]
push dword [ebp - 0x88]
push 1
push 0x1935
push 0x1353
push dword [ebp - 0xf8]
push 0x7b44
push dword [ebp - 0x50]
push 0x14f6
push 0x670c
push dword [ebp - 0xd8]
push dword [ebp - 0x98]
push dword [ebp - 0x118]
push 0
push 0
call fcn.00434a68
add esp, 0x44
jmp 0x46d6e5
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0xb8], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xe0], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax]
test eax, eax
je 0x46d35f
push 0x3018
push 1
push 0x3741
call fcn.00429ac6
add esp, 0xc
jmp 0x46d6e5
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x46d57d
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
imul eax, dword [eax], 0x5914
test eax, eax
je 0x46d4f1
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x46d4c7
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x11c], eax
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.0040bd1c
mov eax, 0xffff
cmp eax, 0xfffffffe
ja 0x46d486
mov dword [ebp - 0x28], 1
jmp 0x46d48a
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x13de7b1b
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx]
jne 0x46d4a2
mov dword [ebp - 0x38], 1
jmp 0x46d4a6
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0x758b39d2
jne 0x46d4be
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.0040bd1c
cmp dword [eax], 0
jne 0x46d4c7
mov dword [ebp - 0x48], 1
jmp 0x46d4cb
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x48]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x46d4f1
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x46d4f1
mov dword [ebp - 0x30], 1
jmp 0x46d4f5
and dword [ebp - 0x30], 0
imul eax, dword [ebp - 0x30], 0x8669
test eax, eax
jne 0x46d50e
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x46d50e
and dword [ebp - 0x40], 0
jmp 0x46d515
mov dword [ebp - 0x40], 1
cmp dword [ebp - 0x40], 0x4d91f06e
jl 0x46d527
mov dword [ebp - 0x10], 1
jmp 0x46d52b
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jl 0x46d54c
mov dword [ebp - 0xdc], 1
jmp 0x46d553
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jne 0x46d566
or eax, 0xffffffff
jne 0x46d566
and dword [ebp - 0x24], 0
jmp 0x46d56d
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x46d6e5
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x114], eax
mov eax, 0x185299da
test eax, eax
je 0x46d6d2
push 0
mov ecx, dword [ebp - 4]
call fcn.0040bd1c
mov esi, eax
push 0
mov ecx, dword [ebp - 4]
call fcn.0040bd1c
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x46d5df
mov dword [ebp - 0x10c], 1
jmp 0x46d5e6
and dword [ebp - 0x10c], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.0040bd1c
push 0
mov ecx, dword [ebp - 4]
call fcn.0040bd1c
push 0
mov ecx, dword [ebp - 4]
call fcn.0040bd1c
push 0
mov ecx, dword [ebp - 4]
call fcn.0040bd1c
push 0
mov ecx, dword [ebp - 4]
call fcn.0040bd1c
push 0
mov ecx, dword [ebp - 4]
call fcn.0040bd1c
mov esi, dword [eax]
sub esi, 0x30dfddae
push 0
mov ecx, dword [ebp - 4]
call fcn.0040bd1c
cmp esi, dword [eax]
jg 0x46d641
mov dword [ebp - 0x2c], 1
jmp 0x46d645
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0x14b1
jne 0x46d657
mov dword [ebp - 0x18], 1
jmp 0x46d65b
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
push 0
mov ecx, dword [ebp - 4]
call fcn.0040bd1c
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
jge 0x46d680
mov dword [ebp - 0x34], 1
jmp 0x46d684
and dword [ebp - 0x34], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.0040bd1c
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [eax]
jge 0x46d69e
mov dword [ebp - 0x3c], 1
jmp 0x46d6a2
and dword [ebp - 0x3c], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.0040bd1c
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax]
jne 0x46d6bc
mov dword [ebp - 0x44], 1
jmp 0x46d6c0
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0xdc4b4e12
ja 0x46d6d2
mov dword [ebp - 0x4c], 1
jmp 0x46d6d6
and dword [ebp - 0x4c], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.0040bd1c
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret