Function at 0x100219d6
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075d44
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push esi
mov dword [ebp - 0x2c], 0x477862f
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x10021a10
push 0
call dword [sym.imp.USER32.dll_DestroyCursor]
mov dword [ebp - 0x2c], 0x12
jmp 0x10021a20
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jle 0x10021a53
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10021a49
push 0x19f3
push 0x1e76
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnableScrollBar]
cmp dword [ebp - 0x2c], 0
je 0x10021a51
jmp 0x10021a53
jmp 0x10021a19
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10021b5d
mov dword [ebp - 0x40], 0xfffffff8
mov dword [ebp - 0xcc], 0xc0aa39ed
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10021a87
push 0x113
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x40], 7
jmp 0x10021a97
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xc
jge 0x10021aa9
mov dword [ebp - 0xcc], 0x22124f84
jmp 0x10021a90
mov dword [ebp - 0x1c], 0
jmp 0x10021ab9
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x10021acf
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xe0], 0x17571177
jmp 0x10021ab2
mov dword [ebp - 0x1c], 0
jmp 0x10021adf
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x10021af5
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x100], 0
jmp 0x10021ad8
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x100], 0
jmp 0x10021b23
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x100]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x100], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x100], 1
jge 0x10021b4d
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x100]
mov dword [ebp + eax*4 - 0xe0], 4
jmp 0x10021b08
push 0x1bb6
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x10022228
push 2
lea ecx, [ebp - 0x58]
call fcn.10015404
and dword [ebp - 4], 0
mov dword [ebp - 0x14], 0xffb871c7
mov dword [ebp - 0x44], 0
jmp 0x10021b82
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x10021b9b
push dword [ebp - 0x44]
lea ecx, [ebp - 0x58]
call fcn.100154a2
mov dword [eax], 0xa684
jmp 0x10021b7b
mov dword [ebp - 0x14], 0
jmp 0x10021bab
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x10021f03
mov dword [ebp - 0x24], 0x440e708b
push dword [ebp - 0x14]
lea ecx, [ebp - 0x58]
call fcn.100154a2
mov eax, dword [eax]
inc eax
cmp eax, 0x145ba13b
jle 0x10021bdd
mov dword [ebp - 0xb8], 1
jmp 0x10021be4
and dword [ebp - 0xb8], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x58]
call fcn.100154a2
mov eax, dword [eax]
cmp eax, dword [ebp - 0xb8]
jle 0x10021d68
mov dword [ebp - 0x74], 0xd976
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x58]
call fcn.100154a2
cmp esi, dword [eax]
jne 0x10021c28
mov dword [ebp - 0xc8], 1
jmp 0x10021c2f
and dword [ebp - 0xc8], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x58]
call fcn.100154a2
mov esi, dword [ebp - 0xc8]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x58]
call fcn.100154a2
cmp esi, dword [eax]
jg 0x10021c5c
mov dword [ebp - 0x8c], 1
jmp 0x10021c63
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x8c], eax
jg 0x10021c77
mov dword [ebp - 0x64], 1
jmp 0x10021c7b
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x64], eax
jle 0x10021c8f
mov dword [ebp - 0x98], 1
jmp 0x10021c96
and dword [ebp - 0x98], 0
push 1
lea ecx, [ebp - 0x58]
call fcn.100154a2
mov eax, dword [eax]
cmp eax, dword [ebp - 0x98]
jle 0x10021cb3
mov dword [ebp - 0x6c], 1
jmp 0x10021cb7
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0xffffffff
ja 0x10021cc9
mov dword [ebp - 0xa0], 1
jmp 0x10021cd0
and dword [ebp - 0xa0], 0
mov esi, dword [ebp - 0xa0]
sub esi, dword [ebp - 0x74]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x58]
call fcn.100154a2
mov eax, dword [eax]
lea eax, [esi + eax - 0x61ddbfe3]
imul eax, eax, 0xfffffffc
cmp eax, dword [ebp - 0x14]
jg 0x10021d01
mov dword [ebp - 0xa8], 1
jmp 0x10021d08
and dword [ebp - 0xa8], 0
push 0
lea ecx, [ebp - 0x58]
call fcn.100154a2
mov eax, dword [eax]
sub eax, dword [ebp - 0xa8]
jne 0x10021d25
mov eax, 0xb1aa
test eax, eax
je 0x10021d32
cmp dword [ebp - 0x14], 0
je 0x10021d30
jmp 0x10021f03
jmp 0x10021d63
mov dword [ebp - 0x24], 0
jmp 0x10021d42
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffe4
jle 0x10021d63
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x10021d61
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x10021d3b
jmp 0x10021efe
push 1
lea ecx, [ebp - 0xec]
call fcn.10015404
mov byte [ebp - 4], 1
mov dword [ebp - 0x7c], 0x75278539
mov dword [ebp - 0xf0], 0xf96354d1
mov dword [ebp - 0x34], 0
jmp 0x10021d9a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x10021db6
push dword [ebp - 0x34]
lea ecx, [ebp - 0xec]
call fcn.100154a2
mov dword [eax], 0xad31
jmp 0x10021d93
push dword [ebp - 0x14]
lea ecx, [ebp - 0x58]
call fcn.100154a2
mov esi, eax
push 0
lea ecx, [ebp - 0xec]
call fcn.100154a2
mov ecx, dword [esi]
sub ecx, dword [eax]
mov dword [ebp - 0x7c], ecx
mov esi, dword [ebp - 0x7c]
push 0
lea ecx, [ebp - 0x58]
call fcn.100154a2
cmp dword [eax], esi
jg 0x10021df4
mov dword [ebp - 0xc0], 1
jmp 0x10021dfb
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jl 0x10021e18
mov dword [ebp - 0xb0], 1
jmp 0x10021e1f
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 4
jge 0x10021e34
mov dword [ebp - 0x84], 1
jmp 0x10021e3b
and dword [ebp - 0x84], 0
push 0
lea ecx, [ebp - 0xec]
call fcn.100154a2
mov ecx, dword [ebp - 0x84]
cmp ecx, dword [eax]
jl 0x10021e5b
mov dword [ebp - 0x5c], 1
jmp 0x10021e5f
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0x4174aa7f
jle 0x10021e74
mov dword [ebp - 0xac], 1
jmp 0x10021e7b
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0xac]
jne 0x10021e95
mov dword [ebp - 0x94], 1
jmp 0x10021e9c
and dword [ebp - 0x94], 0
push 0
lea ecx, [ebp - 0xec]
call fcn.100154a2
mov eax, dword [eax]
cmp eax, dword [ebp - 0x94]
jl 0x10021ebf
mov dword [ebp - 0xbc], 1
jmp 0x10021ec6
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x10021eef
push 0x2670
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
call fcn.10015486
jmp 0x10021ba4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10015486
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x10], 0x2cb13638
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x38], 0
jmp 0x10021f36
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x10021f49
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x4c], 0x3342eb9
jmp 0x10021f2f
mov dword [ebp - 0x10], 1
jmp 0x10021f59
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x10021fb8
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x4c], 0x565e
jne 0x10021f78
mov dword [ebp - 0x9c], 1
jmp 0x10021f7f
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 8
jl 0x10021f94
mov dword [ebp - 0xb4], 1
jmp 0x10021f9b
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10021fb6
call dword [sym.imp.USER32.dll_CreatePopupMenu]
jmp 0x10021f52
mov dword [ebp - 0x30], 0x15
jmp 0x10021fc8
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x23
jle 0x100221ee
mov dword [ebp - 0x3c], 0xb4ef66b1
push 3
lea ecx, [ebp - 0x10c]
call fcn.10015404
mov dword [ebp - 4], 2
push 2
lea ecx, [ebp - 0x118]
call fcn.10015404
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
jmp 0x1002200e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1002202a
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10c]
call fcn.100154a2
mov dword [eax], 0x82f
jmp 0x10022007
mov dword [ebp - 0x18], 0
jmp 0x1002203a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10022056
push dword [ebp - 0x18]
lea ecx, [ebp - 0x118]
call fcn.100154a2
mov dword [eax], 0x65835a7a
jmp 0x10022033
mov dword [ebp - 0x10], 0
jmp 0x10022066
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x100221cb
mov dword [ebp - 0x3c], 0x6c21
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x4c]
cmp dword [ebp - 0x10], eax
jge 0x1002208f
mov dword [ebp - 0xa4], 1
jmp 0x10022096
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x4c]
imul eax, dword [ebp - 0xa4]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x4c]
jne 0x100220bc
mov dword [ebp - 0xc4], 1
jmp 0x100220c3
and dword [ebp - 0xc4], 0
imul eax, dword [ebp - 0xc4], 0xfff7
cmp dword [ebp - 0x10], eax
jl 0x100220de
mov dword [ebp - 0x88], 1
jmp 0x100220e5
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x88], eax
jle 0x100220fc
mov dword [ebp - 0x90], 1
jmp 0x10022103
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x4c]
cmp eax, dword [ebp - 0x90]
jle 0x1002211b
mov dword [ebp - 0x60], 1
jmp 0x1002211f
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x60], eax
jne 0x10022130
mov dword [ebp - 0x68], 1
jmp 0x10022134
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x4c]
cmp dword [ebp - 0x68], eax
je 0x10022149
mov dword [ebp - 0x70], 1
jmp 0x1002214d
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 6
jle 0x1002215f
mov dword [ebp - 0xd0], 1
jmp 0x10022166
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x4c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x4c]
cmp dword [ebp - 0x3c], eax
je 0x10022197
push 1
lea ecx, [ebp - 0x10c]
call fcn.100154a2
cmp dword [eax], 0
jne 0x10022197
and dword [ebp - 0x78], 0
jmp 0x1002219e
mov dword [ebp - 0x78], 1
cmp dword [ebp - 0x78], 0xd258
jl 0x100221b0
mov dword [ebp - 0x80], 1
jmp 0x100221b4
and dword [ebp - 0x80], 0
push 1
lea ecx, [ebp - 0x118]
call fcn.100154a2
mov ecx, dword [ebp - 0x80]
mov dword [eax], ecx
jmp 0x1002205f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118]
call fcn.10015486
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.10015486
jmp 0x10021fc1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
push dword [eax]
mov ecx, dword [ebp - 0xd4]
call fcn.100154a2
mov dword [eax], 0x5561
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret