Function at 0x10012b4b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100474ac
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x1005a6d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100131c8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc8], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xc0]
movzx eax, byte [eax]
test eax, eax
je 0x10012bc7
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
jmp 0x100131c6
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x58]
call fcn.1000d578
movzx eax, al
test eax, eax
je 0x10012bfc
mov eax, dword [ebp - 0x64]
mov byte [eax], 0
jmp 0x100131d6
push 0
push 0x4551
push 0x508
push 0x301f
call fcn.10011a24
add esp, 0x10
lea eax, [ebp - 0x5c]
push eax
push 0x4cda
push 0
call fcn.100108a7
add esp, 0xc
mov dword [ebp - 0x40], 0xad313dd3
mov dword [ebp - 0xbc], 1
push 3
lea ecx, [ebp - 0xe4]
call fcn.10001a29
and dword [ebp - 4], 0
push 0x4a97
lea eax, [ebp - 0x100]
push eax
push 0
lea eax, [ebp - 0xe4]
push eax
push 0x713a
push 0x5a70
push 0
push 0x40ae
call fcn.1001264d
add esp, 0x20
mov dword [ebp - 0x40], 0xfffffff8
jmp 0x10012c88
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xfffffff6
jge 0x10012de1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xa8], 9
imul eax, dword [ebp - 0x40], 0xe700
test eax, eax
jne 0x10012cd9
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x20], 0
jne 0x10012cd9
and dword [ebp - 0xb4], 0
jmp 0x10012ce3
mov dword [ebp - 0xb4], 1
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
imul eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x20]
add eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0x40]
jg 0x10012d1f
mov dword [ebp - 0xb8], 1
jmp 0x10012d26
and dword [ebp - 0xb8], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x20]
cmp dword [ebp - 0xb8], eax
jne 0x10012d43
mov dword [ebp - 0x9c], 1
jmp 0x10012d4a
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x40], eax
jge 0x10012d62
mov dword [ebp - 0x74], 1
jmp 0x10012d66
and dword [ebp - 0x74], 0
push 0
lea ecx, [ebp - 0xe4]
call fcn.10001c21
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
mov eax, 0x659e
test eax, eax
je 0x10012d99
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x20], 0
je 0x10012d99
mov dword [ebp - 0xa4], 1
jmp 0x10012da0
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0xa4]
jne 0x10012db7
mov dword [ebp - 0xac], 1
jmp 0x10012dbe
and dword [ebp - 0xac], 0
push 4
pop eax
shl eax, 1
mov esi, dword [ebp + eax - 0x20]
sub esi, dword [ebp - 0xac]
push 0
lea ecx, [ebp - 0xe4]
call fcn.10001c21
mov dword [eax], esi
jmp 0x10012c81
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.1000c305
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x58]
call fcn.1000c6ec
jmp 0x10012e06
lea ecx, [ebp - 0x4c]
call fcn.1000c36a
lea eax, [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0x58]
call fcn.1000d58f
push eax
lea ecx, [ebp - 0x4c]
call fcn.1000543d
movzx eax, al
test eax, eax
je 0x100131be
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0x60], 0x5411
mov dword [ebp - 0x50], 0
jmp 0x10012e51
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 3
jge 0x10012e64
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x2c], 1
jmp 0x10012e4a
mov dword [ebp - 0x44], 0
jmp 0x10012e74
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jg 0x1001312a
mov dword [ebp - 0x48], 0x256a9ef7
mov dword [ebp - 0x78], 3
mov dword [ebp - 0x54], 0
jmp 0x10012e9c
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 4
jge 0x10012eaf
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x3c], 0xfffd
jmp 0x10012e95
mov dword [ebp - 0x48], 2
jmp 0x10012ebf
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x10013125
mov dword [ebp - 0x8c], 0x6b2c4eb0
mov eax, dword [ebp - 0x44]
cmp dword [ebp + eax*4 - 0x2c], 0xffffffff
jl 0x10012f09
mov eax, 0x890c5440
test eax, eax
je 0x10012ef5
cmp dword [ebp - 0x44], 0
je 0x10012ef5
mov dword [ebp - 0x80], 1
jmp 0x10012ef9
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
neg eax
jne 0x10012f09
and dword [ebp - 0xa0], 0
jmp 0x10012f13
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0xc4]
imul eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x48]
jge 0x10012f31
mov dword [ebp - 0x88], 1
jmp 0x10012f38
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0x3ee7
jg 0x10012f50
mov dword [ebp - 0xd0], 1
jmp 0x10012f57
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0x60], 1
jle 0x10013061
push 3
lea ecx, [ebp - 0xf0]
call fcn.10001a29
mov dword [ebp - 4], 1
push 0xa76
push 0x4c69
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xf4]
push eax
push 0
push 0x205
push 0x5e6e
call fcn.100144b9
add esp, 0x1c
push 0xd7a
push 0
push 0x47c8
call fcn.1000ffa6
add esp, 0xc
push 1
lea ecx, [ebp - 0xf0]
call fcn.10001c21
cmp dword [eax], 0
jge 0x10012fd3
mov dword [ebp - 0xb0], 1
jmp 0x10012fda
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp + eax*4 - 0x2c]
cmp dword [ebp - 0xb0], eax
jle 0x10012ff5
mov dword [ebp - 0x90], 1
jmp 0x10012ffc
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp + eax*4 - 0x2c]
cmp eax, dword [ebp - 0x90]
jge 0x10013014
mov dword [ebp - 0x68], 1
jmp 0x10013018
and dword [ebp - 0x68], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x60]
imul ecx, dword [ebp - 0x68]
imul ecx, ecx, 7
cmp dword [ebp + eax - 0x3c], ecx
jl 0x1001303a
mov dword [ebp - 0x98], 1
jmp 0x10013041
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x8c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.1000c305
jmp 0x10013120
mov dword [ebp - 0x70], 1
cmp dword [ebp - 0x48], 0
jne 0x10013087
cmp dword [ebp - 0x78], 0
je 0x10013081
mov eax, dword [ebp - 0x78]
shl eax, 3
cmp eax, 0x6c55
jne 0x10013087
and dword [ebp - 0x7c], 0
jmp 0x1001308e
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x7c], eax
jne 0x100130a2
mov dword [ebp - 0x84], 1
jmp 0x100130a9
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x84]
test eax, eax
je 0x100130c9
cmp dword [ebp - 0x60], 0
je 0x100130c9
mov dword [ebp - 0xd4], 1
jmp 0x100130d0
and dword [ebp - 0xd4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x3c]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0x8c], 0
jbe 0x100130f5
mov dword [ebp - 0x94], 1
jmp 0x100130fc
and dword [ebp - 0x94], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2c]
cmp dword [ebp - 0x94], eax
jg 0x10013116
mov dword [ebp - 0x6c], 1
jmp 0x1001311a
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
jmp 0x10012eb8
jmp 0x10012e6d
lea ecx, [ebp - 0x4c]
call fcn.100055c7
movsx eax, byte [eax]
cmp eax, 0x30
jl 0x1001316a
lea ecx, [ebp - 0x4c]
call fcn.100055c7
movsx eax, byte [eax]
cmp eax, 0x39
jg 0x1001316a
push 0x5757
push 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x62c8
lea eax, [ebp - 0x4c]
push eax
call fcn.10014734
add esp, 0x18
jmp 0x100131b9
push 0x3cf8
push 0x231
push 0x181e
push 0x5876
push 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x200b
push 0x6bfb
push 0x4460
push 0x367c
push 0x7af5
push 0xf9c
push 0x58ea
call fcn.10012169
add esp, 0x38
mov eax, dword [ebp - 0x64]
mov byte [eax], 0
jmp 0x100131d6
jmp 0x10012dfe
mov eax, dword [ebp - 0x64]
mov byte [eax], 1
jmp 0x100131d6
jmp 0x100131d6
push 0x284f
push 0
call fcn.1000ff40
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10037785
mov esp, ebp
pop ebp
ret