Function at 0x10049e3d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x10], 0
jmp 0x10049e60
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x10049e76
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x124], 0xffffffff
jmp 0x10049e59
mov dword [ebp - 0x10], 0
jmp 0x10049e86
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10049e99
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x38], 1
jmp 0x10049e7f
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x124], 0
je 0x10049f76
mov dword [ebp - 0x2c], 0x5ae649f6
mov dword [ebp - 0x128], 0x3d6c1dfe
imul eax, dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], eax
jle 0x10049ed0
mov dword [ebp - 0x40], 1
jmp 0x10049ed4
and dword [ebp - 0x40], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
mov dword [ebp + eax - 0x38], ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x124]
imul eax, dword [ebp - 0x40]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x90], eax
jl 0x10049f0f
mov dword [ebp - 0x118], 1
jmp 0x10049f16
and dword [ebp - 0x118], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x124]
imul eax, dword [ebp - 0x118]
mov dword [ebp - 0x2c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp + eax - 0x124], ecx
jl 0x10049f4b
mov dword [ebp - 0xd4], 1
jmp 0x10049f52
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0xcdf11bbb
jae 0x10049f67
mov dword [ebp - 0x68], 1
jmp 0x10049f6b
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x128], eax
jmp 0x10049fa3
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10049f8f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov eax, dword [ebp + eax - 0x38]
mov dword [ebp + ecx - 0x38], eax
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1004a65c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x15c], eax
mov dword [ebp - 4], 0xfffffffa
mov dword [ebp - 0x30], 0
jmp 0x10049fcf
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x10049fe2
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x4c], 0xfffffffa
jmp 0x10049fc8
mov dword [ebp - 4], 0
jmp 0x10049ff2
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jg 0x1004a00a
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x4c]
neg eax
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x4c], eax
jmp 0x10049feb
mov dword [ebp - 4], 0
jmp 0x1004a01a
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jg 0x1004a169
mov dword [ebp - 0x8c], 0x9968cb66
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp + ecx*4 - 0x4c]
cmp dword [ebp + eax - 0x4c], ecx
jne 0x1004a04c
mov dword [ebp - 0xf0], 1
jmp 0x1004a053
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
add eax, 0x93c1
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x4c]
jge 0x1004a072
mov dword [ebp - 0x70], 1
jmp 0x1004a076
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x4c]
cmp eax, dword [ebp - 0x70]
jle 0x1004a08e
mov dword [ebp - 0xf8], 1
jmp 0x1004a095
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0xb060
jle 0x1004a0aa
mov dword [ebp - 0x78], 1
jmp 0x1004a0ae
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x4c]
cmp eax, dword [ebp - 0x78]
je 0x1004a0c6
mov dword [ebp - 0x100], 1
jmp 0x1004a0cd
and dword [ebp - 0x100], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x4c]
add eax, dword [ebp - 0x100]
jne 0x1004a0ee
mov eax, 0x3b8a277e
test eax, eax
jne 0x1004a0ee
and dword [ebp - 0x80], 0
jmp 0x1004a0f5
mov dword [ebp - 0x80], 1
cmp dword [ebp - 0x80], 0xffffffff
jle 0x1004a107
mov dword [ebp - 0x108], 1
jmp 0x1004a10e
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x4c]
cmp eax, dword [ebp - 0x108]
jg 0x1004a12c
cmp dword [ebp - 4], 0
je 0x1004a12c
mov dword [ebp - 0x3c], 1
jmp 0x1004a130
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x4c], ecx
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x3c], eax
je 0x1004a151
mov dword [ebp - 0x110], 1
jmp 0x1004a158
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x8c], eax
jmp 0x1004a013
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x158], 0xf3ccd246
mov dword [ebp - 0x160], 0x23b4709b
mov dword [ebp - 0x150], 0xc4e2bf5
mov dword [ebp - 0x134], 0xfffffff9
mov dword [ebp - 0x1a4], 0x77cccaea
mov dword [ebp - 0x184], 0x9a023703
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x170], 0x2c78ef8a
mov dword [ebp - 0x178], 0xfffffff6
mov dword [ebp - 0x198], 0xe5c7
mov dword [ebp - 0x180], 0xec253d5a
mov dword [ebp - 0xe4], 0xfffffffb
mov dword [ebp - 0x18], 0
jmp 0x1004a202
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x1004a218
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1c4], 4
jmp 0x1004a1fb
mov dword [ebp - 0x18], 0
jmp 0x1004a228
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x1004a23e
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1d4], 0xa3f0bde8
jmp 0x1004a221
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x1c], 1
je 0x1004a262
mov dword [ebp - 0xfc], 1
jmp 0x1004a269
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xfc], eax
je 0x1004a280
mov dword [ebp - 0x94], 1
jmp 0x1004a287
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0x245f
jl 0x1004a29f
mov dword [ebp - 0xdc], 1
jmp 0x1004a2a6
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x158]
cmp dword [ebp - 0xdc], eax
jge 0x1004a2c0
mov dword [ebp - 0x9c], 1
jmp 0x1004a2c7
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
add eax, 0x866
je 0x1004a2e6
cmp dword [ebp - 0x160], 0
je 0x1004a2e6
and dword [ebp - 0x11c], 0
jmp 0x1004a2f0
mov dword [ebp - 0x11c], 1
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x11c]
jg 0x1004a307
mov dword [ebp - 0x14c], 1
jmp 0x1004a30e
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1c]
sub eax, 0x37d45db3
je 0x1004a333
cmp dword [ebp - 0x150], 0
jne 0x1004a333
and dword [ebp - 0xa4], 0
jmp 0x1004a33d
mov dword [ebp - 0xa4], 1
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0xe4]
dec eax
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x5c], 0xb4e1a362
mov dword [ebp - 0x58], 0xb4e1a362
mov dword [ebp - 0x54], 0xb4e1a362
mov dword [ebp - 0x50], 0xb4e1a362
mov dword [ebp - 8], 0xfffffffc
mov dword [ebp - 0xbc], 0xa82e77e8
mov dword [ebp - 0x154], 1
mov dword [ebp - 0x144], 0
mov dword [ebp - 8], 3
jmp 0x1004a3b3
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x1004a626
mov dword [ebp - 0x98], 0x189d
mov dword [ebp - 0x88], 0xc2a41b87
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x98]
cmp dword [ebp + eax*4 - 0x5c], ecx
jle 0x1004a3ec
mov dword [ebp - 0xac], 1
jmp 0x1004a3f3
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0xac], eax
jne 0x1004a40d
mov dword [ebp - 0x104], 1
jmp 0x1004a414
and dword [ebp - 0x104], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x5c]
cmp dword [ebp - 0x104], eax
jne 0x1004a432
mov dword [ebp - 0xb4], 1
jmp 0x1004a439
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0xfffffff7
je 0x1004a44e
mov dword [ebp - 0xec], 1
jmp 0x1004a455
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x5c]
cmp dword [ebp - 0xec], eax
je 0x1004a47f
mov eax, 0xffff
test eax, eax
jne 0x1004a47f
mov eax, 0x5b45beac
test eax, eax
jne 0x1004a47f
and dword [ebp - 0x114], 0
jmp 0x1004a489
mov dword [ebp - 0x114], 1
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0x114]
je 0x1004a4ad
mov dword [ebp - 0xc4], 1
jmp 0x1004a4b4
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0xc4]
test eax, eax
jne 0x1004a4d1
cmp dword [ebp - 8], 0
jne 0x1004a4d1
and dword [ebp - 0xf4], 0
jmp 0x1004a4db
mov dword [ebp - 0xf4], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x5c]
cmp dword [ebp - 0xf4], eax
jle 0x1004a4f9
mov dword [ebp - 0xcc], 1
jmp 0x1004a500
and dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 0x7a23
je 0x1004a518
mov dword [ebp - 0x10c], 1
jmp 0x1004a51f
and dword [ebp - 0x10c], 0
cmp dword [ebp - 0x10c], 0xa6c9cd49
jbe 0x1004a537
mov dword [ebp - 0x13c], 1
jmp 0x1004a53e
and dword [ebp - 0x13c], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x5c]
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x154], 0x3b03c3fa
jl 0x1004a570
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x5c], 0
jne 0x1004a570
and dword [ebp - 0x84], 0
jmp 0x1004a57a
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x144]
sub eax, dword [ebp - 0x88]
jne 0x1004a5a1
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x5c], 0
jne 0x1004a5a1
and dword [ebp - 0x60], 0
jmp 0x1004a5a8
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x60]
sub eax, 0x56cd
cmp eax, dword [ebp - 0x98]
jg 0x1004a5c4
mov dword [ebp - 0xa0], 1
jmp 0x1004a5cb
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
dec eax
dec eax
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x5c]
jl 0x1004a5ea
mov dword [ebp - 0xa8], 1
jmp 0x1004a5f1
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x5c]
imul eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x5c], eax
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1004a621
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ShowOwnedPopups]
jmp 0x1004a3ac
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x1004a63a
push 0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x164]
movzx eax, byte [eax]
test eax, eax
je 0x1004a657
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
jmp 0x1004a94d
mov dword [ebp - 0x14], 0x801897a4
mov dword [ebp - 0xc], 0
jmp 0x1004a673
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x1004a689
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x16c], 0xffffffff
jmp 0x1004a66c
mov dword [ebp - 0xc], 0
jmp 0x1004a699
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x1004a6af
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x1b4], 1
jmp 0x1004a692
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x1004a6d8
push 0x2237
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_PolyPolyline]
mov dword [ebp - 0x14], 1
jmp 0x1004a6e8
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1004a93c
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0x12c], 0xffffffff
mov dword [ebp - 0x138], 0x483b
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1004a72b
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
mov dword [ebp - 0x24], 0
jmp 0x1004a73b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jg 0x1004a937
mov dword [ebp - 0x34], 0xb0fe2cf4
mov dword [ebp - 0x148], 0x9d012742
mov dword [ebp - 0x12c], 4
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x34], eax
je 0x1004a774
mov dword [ebp - 0xb0], 1
jmp 0x1004a77b
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0
je 0x1004a790
mov dword [ebp - 0x130], 1
jmp 0x1004a797
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x138], 0xfffffffb
je 0x1004a7b5
mov dword [ebp - 0xb8], 1
jmp 0x1004a7bc
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xb8]
je 0x1004a7d3
mov dword [ebp - 0xc0], 1
jmp 0x1004a7da
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xc0], eax
jle 0x1004a7f1
mov dword [ebp - 0x140], 1
jmp 0x1004a7f8
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x17c], eax
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x1b4], 0x67bb
mov eax, 0x67bb
cmp eax, 0x1b55
jge 0x1004a832
mov dword [ebp - 0xc8], 1
jmp 0x1004a839
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0x14]
cmp eax, 7
jae 0x1004a853
mov dword [ebp - 0xd0], 1
jmp 0x1004a85a
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 0xc5c3c3ae
ja 0x1004a872
mov dword [ebp - 0xe8], 1
jmp 0x1004a879
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x16c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xd8]
mov dword [ebp + eax*4 - 0x16c], ecx
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0xe8]
jge 0x1004a8bc
mov dword [ebp - 0x64], 1
jmp 0x1004a8c0
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
sub eax, 0xa164
cmp eax, 0x2b50
jne 0x1004a8d8
mov dword [ebp - 0x6c], 1
jmp 0x1004a8dc
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x6c], eax
je 0x1004a8ed
mov dword [ebp - 0x74], 1
jmp 0x1004a8f1
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x74], eax
jne 0x1004a902
mov dword [ebp - 0x7c], 1
jmp 0x1004a906
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x148], eax
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x1004a932
push 0x22ee
push 0x2eb
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x1004a734
jmp 0x1004a6e1
push 0x1244
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esp, ebp
pop ebp
ret