Function at 0x10047e8d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10076eca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push esi
push edi
mov dword [ebp - 0x38], 0xfffffff8
mov dword [ebp - 0xd8], 0xc0aa39ed
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x10047ed5
push 0x113
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x38], 7
jmp 0x10047ee5
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xc
jge 0x10047ef7
mov dword [ebp - 0xd8], 0x22124f84
jmp 0x10047ede
push 1
lea eax, [ebp - 0x180]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.10043d64
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x168]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x168]
lea edi, [ebp - 0x11c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], 0
jmp 0x10047f36
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10047f4c
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xfc], 0x17571177
jmp 0x10047f2f
mov dword [ebp - 0x18], 0
jmp 0x10047f5c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x10047f72
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x110], 0
jmp 0x10047f55
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x110], 0
jmp 0x10047fa0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x110]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x110], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x110], 1
jge 0x10047fca
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x110]
mov dword [ebp + eax*4 - 0xfc], 4
jmp 0x10047f85
mov dword [ebp - 0x10], 0x2cb13638
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x40], 0
jmp 0x10047fe8
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x10047ffb
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x54], 0x3342eb9
jmp 0x10047fe1
mov dword [ebp - 0x10], 1
jmp 0x1004800b
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1004806a
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x54], 0x565e
jne 0x1004802a
mov dword [ebp - 0xa0], 1
jmp 0x10048031
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 8
jl 0x10048046
mov dword [ebp - 0xd4], 1
jmp 0x1004804d
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10048068
call dword [sym.imp.USER32.dll_CreatePopupMenu]
jmp 0x10048004
mov dword [ebp - 0x30], 0x15
jmp 0x1004807a
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x23
jle 0x100482af
mov dword [ebp - 0x4c], 0xb4ef66b1
push 3
lea ecx, [ebp - 0x128]
call fcn.10015404
and dword [ebp - 4], 0
push 2
lea ecx, [ebp - 0x134]
call fcn.10015404
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0
jmp 0x100480bd
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x100480d9
push dword [ebp - 0x20]
lea ecx, [ebp - 0x128]
call fcn.100154a2
mov dword [eax], 0x82f
jmp 0x100480b6
mov dword [ebp - 0x20], 0
jmp 0x100480e9
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x10048105
push dword [ebp - 0x20]
lea ecx, [ebp - 0x134]
call fcn.100154a2
mov dword [eax], 0x65835a7a
jmp 0x100480e2
mov dword [ebp - 0x10], 0
jmp 0x10048115
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x1004828c
mov dword [ebp - 0x4c], 0x6c21
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x54]
cmp dword [ebp - 0x10], eax
jge 0x1004813b
mov dword [ebp - 0x78], 1
jmp 0x1004813f
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x54]
imul eax, dword [ebp - 0x78]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x54]
jne 0x10048162
mov dword [ebp - 0xbc], 1
jmp 0x10048169
and dword [ebp - 0xbc], 0
imul eax, dword [ebp - 0xbc], 0xfff7
cmp dword [ebp - 0x10], eax
jl 0x10048181
mov dword [ebp - 0x70], 1
jmp 0x10048185
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x70], eax
jle 0x10048199
mov dword [ebp - 0xc4], 1
jmp 0x100481a0
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x54]
cmp eax, dword [ebp - 0xc4]
jle 0x100481bb
mov dword [ebp - 0xcc], 1
jmp 0x100481c2
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0xcc], eax
jne 0x100481d9
mov dword [ebp - 0xa8], 1
jmp 0x100481e0
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x54]
cmp dword [ebp - 0xa8], eax
je 0x100481f8
mov dword [ebp - 0x80], 1
jmp 0x100481fc
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 6
jle 0x1004820e
mov dword [ebp - 0x100], 1
jmp 0x10048215
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x54]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x54]
cmp dword [ebp - 0x4c], eax
je 0x10048249
push 1
lea ecx, [ebp - 0x128]
call fcn.100154a2
cmp dword [eax], 0
jne 0x10048249
and dword [ebp - 0xc0], 0
jmp 0x10048253
mov dword [ebp - 0xc0], 1
cmp dword [ebp - 0xc0], 0xd258
jl 0x1004826b
mov dword [ebp - 0x88], 1
jmp 0x10048272
and dword [ebp - 0x88], 0
push 1
lea ecx, [ebp - 0x134]
call fcn.100154a2
mov ecx, dword [ebp - 0x88]
mov dword [eax], ecx
jmp 0x1004810e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.10015486
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.10015486
jmp 0x10048073
mov dword [ebp - 0x34], 0x8ade19d2
mov dword [ebp - 0x104], 0x2466e9f0
mov dword [ebp - 0x1c], 0
jmp 0x100482d0
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x100482e6
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x174], 0xfffffffe
jmp 0x100482c9
mov dword [ebp - 0x1c], 0
jmp 0x100482f6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1004830c
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x18c], 0xfffffffc
jmp 0x100482ef
lea eax, [ebp - 0x34]
push eax
push 0
push 0x3dfb
call fcn.1004760e
add esp, 0xc
mov dword [ebp - 0x34], 2
jmp 0x1004832f
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x100484a8
push 1
lea ecx, [ebp - 0xe4]
call fcn.10015404
mov dword [ebp - 4], 2
mov dword [ebp - 0x150], 0xfffffff6
mov dword [ebp - 0x158], 0
push 4
lea ecx, [ebp - 0x14c]
call fcn.10015404
mov byte [ebp - 4], 3
push 0
push 0xd83
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xe8]
push eax
push 0x1bbe
call fcn.100444ff
add esp, 0x14
push 1
lea eax, [ebp - 0xe8]
push eax
push 0x7c89
push 0x4ff1
lea eax, [ebp - 0x14c]
push eax
call fcn.100444ff
add esp, 0x14
push 0
lea ecx, [ebp - 0xe4]
call fcn.100154a2
mov dword [eax], 2
jmp 0x100483ef
push 0
lea ecx, [ebp - 0xe4]
call fcn.100154a2
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xb0]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0xe4]
call fcn.100154a2
cmp dword [eax], 0
jl 0x10048485
push 2
lea ecx, [ebp - 0x140]
call fcn.10015404
mov byte [ebp - 4], 4
mov dword [ebp - 0x48], 0
jmp 0x10048426
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jge 0x10048442
push dword [ebp - 0x48]
lea ecx, [ebp - 0x140]
call fcn.100154a2
mov dword [eax], 3
jmp 0x1004841f
push 0x3724
push 1
lea eax, [ebp - 0x104]
push eax
call fcn.1004760e
add esp, 0xc
mov byte [ebp - 0x28], 0
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x10048471
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x140]
call fcn.10015486
jmp 0x100483cb
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14c]
call fcn.10015486
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.10015486
jmp 0x10048328
push 2
lea ecx, [ebp - 0x60]
call fcn.10015404
mov dword [ebp - 4], 5
mov dword [ebp - 0x14], 0xffb871c7
mov dword [ebp - 0x3c], 0
jmp 0x100484d0
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x100484e9
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x60]
call fcn.100154a2
mov dword [eax], 0xa684
jmp 0x100484c9
mov dword [ebp - 0x14], 0
jmp 0x100484f9
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x10048851
mov dword [ebp - 0x24], 0x440e708b
push dword [ebp - 0x14]
lea ecx, [ebp - 0x60]
call fcn.100154a2
mov eax, dword [eax]
inc eax
cmp eax, 0x145ba13b
jle 0x1004852b
mov dword [ebp - 0x90], 1
jmp 0x10048532
and dword [ebp - 0x90], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x60]
call fcn.100154a2
mov eax, dword [eax]
cmp eax, dword [ebp - 0x90]
jle 0x100486b6
mov dword [ebp - 0x7c], 0xd976
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x60]
call fcn.100154a2
cmp esi, dword [eax]
jne 0x10048576
mov dword [ebp - 0xd0], 1
jmp 0x1004857d
and dword [ebp - 0xd0], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x60]
call fcn.100154a2
mov esi, dword [ebp - 0xd0]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x60]
call fcn.100154a2
cmp esi, dword [eax]
jg 0x100485aa
mov dword [ebp - 0x98], 1
jmp 0x100485b1
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x98], eax
jg 0x100485c8
mov dword [ebp - 0xb8], 1
jmp 0x100485cf
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xb8], eax
jle 0x100485e3
mov dword [ebp - 0x64], 1
jmp 0x100485e7
and dword [ebp - 0x64], 0
push 1
lea ecx, [ebp - 0x60]
call fcn.100154a2
mov eax, dword [eax]
cmp eax, dword [ebp - 0x64]
jle 0x10048604
mov dword [ebp - 0xc8], 1
jmp 0x1004860b
and dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 0xffffffff
ja 0x1004861d
mov dword [ebp - 0x74], 1
jmp 0x10048621
and dword [ebp - 0x74], 0
mov esi, dword [ebp - 0x74]
sub esi, dword [ebp - 0x7c]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x60]
call fcn.100154a2
mov eax, dword [eax]
lea eax, [esi + eax - 0x61ddbfe3]
imul eax, eax, 0xfffffffc
cmp eax, dword [ebp - 0x14]
jg 0x1004864f
mov dword [ebp - 0x84], 1
jmp 0x10048656
and dword [ebp - 0x84], 0
push 0
lea ecx, [ebp - 0x60]
call fcn.100154a2
mov eax, dword [eax]
sub eax, dword [ebp - 0x84]
jne 0x10048673
mov eax, 0xb1aa
test eax, eax
je 0x10048680
cmp dword [ebp - 0x14], 0
je 0x1004867e
jmp 0x10048851
jmp 0x100486b1
mov dword [ebp - 0x24], 0
jmp 0x10048690
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffe4
jle 0x100486b1
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x100486af
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x10048689
jmp 0x1004884c
push 1
lea ecx, [ebp - 0xf4]
call fcn.10015404
mov byte [ebp - 4], 6
mov dword [ebp - 0x8c], 0x75278539
mov dword [ebp - 0xf8], 0xf96354d1
mov dword [ebp - 0x44], 0
jmp 0x100486eb
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x10048707
push dword [ebp - 0x44]
lea ecx, [ebp - 0xf4]
call fcn.100154a2
mov dword [eax], 0xad31
jmp 0x100486e4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x60]
call fcn.100154a2
mov esi, eax
push 0
lea ecx, [ebp - 0xf4]
call fcn.100154a2
mov ecx, dword [esi]
sub ecx, dword [eax]
mov dword [ebp - 0x8c], ecx
mov esi, dword [ebp - 0x8c]
push 0
lea ecx, [ebp - 0x60]
call fcn.100154a2
cmp dword [eax], esi
jg 0x1004874b
mov dword [ebp - 0xac], 1
jmp 0x10048752
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jl 0x1004876f
mov dword [ebp - 0x94], 1
jmp 0x10048776
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 4
jge 0x1004878b
mov dword [ebp - 0x9c], 1
jmp 0x10048792
and dword [ebp - 0x9c], 0
push 0
lea ecx, [ebp - 0xf4]
call fcn.100154a2
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [eax]
jl 0x100487b5
mov dword [ebp - 0xa4], 1
jmp 0x100487bc
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0x4174aa7f
jle 0x100487d4
mov dword [ebp - 0xb4], 1
jmp 0x100487db
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0xb4]
jne 0x100487f2
mov dword [ebp - 0x68], 1
jmp 0x100487f6
and dword [ebp - 0x68], 0
push 0
lea ecx, [ebp - 0xf4]
call fcn.100154a2
mov eax, dword [eax]
cmp eax, dword [ebp - 0x68]
jl 0x10048813
mov dword [ebp - 0x6c], 1
jmp 0x10048817
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1004883d
push 0x2670
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf4]
call fcn.10015486
jmp 0x100484f2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.10015486
cmp dword [ebp - 0x11c], 0
je 0x1004887a
push 2
push dword [ebp - 0x114]
push dword [ebp - 0x118]
call dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret