Function at 0x1003a158
Capabilities:
Connect pipe
Get geographical location
Log keystrokes via polling
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003a69e
mov dword [ebp - 0x2c], 0x622ba394
mov dword [ebp - 0x20], 0x8e92eda8
mov dword [ebp - 0x44], 0
jmp 0x1003a18b
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x1003a1a1
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0xe8], 1
jmp 0x1003a184
mov dword [ebp - 0x2c], 1
jmp 0x1003a1b1
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x1003a333
mov dword [ebp - 0x74], 6
mov dword [ebp - 0x3c], 0
jmp 0x1003a1d2
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x1003a1e8
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0xbc], 1
jmp 0x1003a1cb
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0xbc], 0
jmp 0x1003a216
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xbc]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0xbc], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xbc], 1
jg 0x1003a304
mov dword [ebp - 0x1c], 0xd49f
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp + eax*4 - 0xe8]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xfffa
jae 0x1003a254
mov dword [ebp - 0xac], 1
jmp 0x1003a25b
and dword [ebp - 0xac], 0
mov dword [ebp - 0x1c], 0x1509cf13
cmp dword [ebp - 0x1c], 0
jne 0x1003a274
cmp dword [ebp - 0x1c], 0
jne 0x1003a274
and dword [ebp - 0x6c], 0
jmp 0x1003a27b
mov dword [ebp - 0x6c], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xbc]
cmp dword [ebp - 0x6c], eax
jg 0x1003a296
mov dword [ebp - 0x64], 1
jmp 0x1003a29a
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0x64]
jle 0x1003a2b1
mov dword [ebp - 0xb4], 1
jmp 0x1003a2b8
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
jmp 0x1003a2d1
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jg 0x1003a2ff
mov dword [ebp - 0x20], 0
jmp 0x1003a2e7
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1003a2fd
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xe8], 0xfffffffc
jmp 0x1003a2e0
jmp 0x1003a2ca
jmp 0x1003a1fb
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x1003a32e
push 0x37d
push 0x1e49
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
jmp 0x1003a1aa
mov dword [ebp - 0x5c], 0xffffffff
mov dword [ebp - 0xdc], 0x3bc6e5c7
mov byte [ebp - 0x13], 0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x1003a35f
push 0xcab
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x5c], 0xfffffff9
jmp 0x1003a36f
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xffffffff
jle 0x1003a38d
mov dword [ebp - 0xc4], 0xffffffff
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xdc], eax
jmp 0x1003a368
mov dword [ebp - 0x24], 0x9fdf99ff
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x34], 0xffffffed
jmp 0x1003a3ab
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x17
je 0x1003a3db
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1003a3c5
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x1003a3d9
push 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1003a3a4
mov byte [ebp - 0x14], 0
movzx eax, byte [ebp - 0x14]
test eax, eax
je 0x1003a3f8
push 0x1682
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x24], 0
jmp 0x1003a408
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xe
jge 0x1003a433
mov byte [ebp - 0x10], 0
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x1003a429
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
cmp dword [ebp - 0x24], 0
je 0x1003a431
jmp 0x1003a433
jmp 0x1003a401
mov byte [ebp - 0x18], 0
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x1003a44e
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov dword [ebp - 0xe0], 3
mov dword [ebp - 0xc0], 0xe08cccdd
mov dword [ebp - 4], 0
jmp 0x1003a472
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x1003a488
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x104], 0x52cb1363
jmp 0x1003a46b
mov dword [ebp - 4], 0
jmp 0x1003a498
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x1003a4ae
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x118], 0xc4530722
jmp 0x1003a491
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xe0]
mov dword [ebp + eax - 0x104], ecx
mov eax, dword [ebp - 0xc0]
dec eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x28], 0xfffffff9
mov dword [ebp - 0xf0], 0xfffffffe
mov dword [ebp - 0xc8], 4
mov dword [ebp - 0xa8], 0x1e19e95d
mov dword [ebp - 0xd0], 0xdf628589
mov dword [ebp - 0x60], 0x1191
mov dword [ebp - 0x54], 0
jmp 0x1003a51a
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x1003a530
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0xec], 0xfffffffe
jmp 0x1003a513
cmp dword [ebp - 0x7c], 0xfff9
je 0x1003a542
mov dword [ebp - 0x80], 1
jmp 0x1003a546
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0
jne 0x1003a558
mov dword [ebp - 0x88], 1
jmp 0x1003a55f
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xd0]
inc ecx
sub eax, ecx
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0xd8], 0
jne 0x1003a58d
mov dword [ebp - 0xa0], 1
jmp 0x1003a594
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 5
jne 0x1003a5a9
mov dword [ebp - 0xb0], 1
jmp 0x1003a5b0
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0xb0]
jle 0x1003a5ca
mov dword [ebp - 0x90], 1
jmp 0x1003a5d1
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0xa8]
je 0x1003a5ee
mov dword [ebp - 0x98], 1
jmp 0x1003a5f5
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0x98], eax
je 0x1003a60c
mov dword [ebp - 0x78], 1
jmp 0x1003a610
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0xc8]
imul eax, dword [ebp - 0x78]
cmp dword [ebp - 0x7c], eax
jle 0x1003a683
mov dword [ebp - 0x28], 0
jmp 0x1003a62f
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x1003a681
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1003a655
push 0
push 0x1808
push 0
push 0x4a5
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x1003a67f
push 0x1dc7
push 0xd0d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
jmp 0x1003a628
jmp 0x1003a699
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x1003a699
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
jmp 0x1003a998
mov dword [ebp - 0xa4], 0xeec54165
mov dword [ebp - 0x9c], 0xffffffff
mov dword [ebp - 8], 0
jmp 0x1003a6c2
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x1003a6d5
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xc], 1
jmp 0x1003a6bb
mov dword [ebp - 8], 0
jmp 0x1003a6e5
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x1003a6fb
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xd4], 0xc299e885
jmp 0x1003a6de
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xc], 0
jmp 0x1003a720
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xc], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc], 0x1d
je 0x1003a82d
mov dword [ebp - 0x30], 0xfffffff9
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x30], eax
jle 0x1003a74c
mov dword [ebp - 0x84], 1
jmp 0x1003a753
and dword [ebp - 0x84], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
cmp dword [ebp - 0x84], eax
jg 0x1003a771
mov dword [ebp - 0x8c], 1
jmp 0x1003a778
and dword [ebp - 0x8c], 0
imul eax, dword [ebp - 0x8c], 0x849b
test eax, eax
jne 0x1003a795
cmp dword [ebp - 0x30], 0
jne 0x1003a795
and dword [ebp - 0x94], 0
jmp 0x1003a79f
mov dword [ebp - 0x94], 1
mov eax, dword [ebp - 0x94]
add eax, 0xd7d3
mov dword [ebp - 0x9c], eax
imul eax, dword [ebp - 0x9c], 0xffff
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xc]
neg ecx
cmp ecx, eax
jne 0x1003a7d6
mov dword [ebp - 0xcc], 1
jmp 0x1003a7dd
and dword [ebp - 0xcc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0x30]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0xc]
jl 0x1003a814
mov dword [ebp - 0x68], 1
jmp 0x1003a818
and dword [ebp - 0x68], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax - 0xd4], ecx
jmp 0x1003a70b
mov dword [ebp - 0x4c], 0
jmp 0x1003a83d
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jge 0x1003a850
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x38], 0xc75b57fd
jmp 0x1003a836
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x38], 0xffffffff
jmp 0x1003a875
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x38]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x38], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x38], 0x15
jg 0x1003a8e5
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x40], 0
jmp 0x1003a899
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x1003a8af
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x124], 0x2c7c
jmp 0x1003a892
mov dword [ebp - 0x48], 2
jmp 0x1003a8bf
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x1003a8e0
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x1003a8de
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x1003a8b8
jmp 0x1003a860
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1003a93b
push 0x2465
push 0xd36
push 0
push 0
push 0xe21
push 0xefc
push 0x21c8
push 0x1bb7
push 0x617
push 0x169a
push 0x442
push 0x17e2
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_StretchDIBits]
mov dword [ebp - 0x58], 5
mov dword [ebp - 0xf8], 9
mov dword [ebp - 0x50], 0
jmp 0x1003a95c
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jge 0x1003a972
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x10c], 0
jmp 0x1003a955
mov dword [ebp - 0x58], 0
jmp 0x1003a982
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 1
jg 0x1003a998
mov dword [ebp - 0x70], 0xcbd94543
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
jmp 0x1003a97b
mov esp, ebp
pop ebp
ret