Function at 0x1003a460
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
sub esp, 0x40
mov eax, dword [0x10060008]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [0x100646fc]
push ebx
push ebp
push esi
cmp dword [eax + 4], 0
mov ebx, edx
push edi
mov dword [esp + 0x14], ebx
mov ebp, ecx
mov dword [esp + 0x28], 0
je 0x1003a81d
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0x188
xorps xmm0, xmm0
push ebp
movups xmmword [esp + 0x50], xmm0
call edi
push eax
push 0x198
push ebp
call edi
mov esi, dword [0x100646fc]
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x14], 0x63
jne 0x1003a4f3
cmp ebx, 0x27
jne 0x1003a4d5
cmp dword [ecx + 0x18], 0
jne 0x1003a4e0
jmp 0x1003a4f3
cmp ebx, 0x25
jne 0x1003a4f3
cmp dword [ecx + 0x18], 0
jne 0x1003a4f3
call fcn.1003be00
mov esi, dword [0x100646fc]
mov dword [esp + 0x28], 1
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x14], 8
jne 0x1003a551
cmp ebx, 0x20
je 0x1003a56b
cmp ebx, 0xd
je 0x1003a56b
cmp ebx, 0x1b
jne 0x1003a52a
mov dword [ecx + 8], 0x100588e4
push 0x105
push 0
lea eax, [esp + 0x44]
push eax
push ebp
call dword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x1003a816
lea eax, [ebx - 0x25]
cmp eax, 3
ja 0x1003a551
push 0x100588e8
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x1003a84b
mov esi, dword [0x100646fc]
cmp ebx, 9
jne 0x1003ab8b
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x24]
cmp dword [eax + 0x14], 4
jne 0x1003a5d2
add ecx, 0x15
jmp 0x1003a5d3
mov esi, dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
push str.TTFTFTTFT
push dword [ecx + 8]
call esi
add esp, 8
test eax, eax
jne 0x1003a816
mov eax, dword [0x100646fc]
push 0x100588d8
mov eax, dword [eax + 4]
push dword [eax + 0x10]
call esi
add esp, 8
mov edx, 0x100588e0
test eax, eax
mov ecx, 0x100588dc
mov eax, dword [0x100646fc]
cmovne ecx, edx
push 0x105
push 0
mov eax, dword [eax + 4]
mov dword [eax + 0x10], ecx
lea eax, [esp + 0x44]
push eax
push ebp
call dword [sym.imp.USER32.dll_RedrawWindow]
call fcn.10037df0
jmp 0x1003a816
inc ecx
mov dword [esp + 0x3c], ecx
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov edx, dword [eax + 0x14]
cmp edx, 0x63
ja case.0x1003a5f1.4
movzx eax, byte [edx + 0x1003ac10]
jmp dword [eax*4 + 0x1003abf4]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x1003a816
movups xmm0, xmmword [esp + 0x3c]
movups xmmword [esp + 0x2c], xmm0
psrldq xmm0, 4
movd edx, xmm0
inc edx
cmp dword [esi + 0x1c], 0
mov dword [esp + 0x18], edx
jne 0x1003a6ac
push 0
push dword [esi]
push 0x7d3
push ebp
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x40001084
push 0x10057995
push 0x100584fc
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
je 0x1003a69a
push 0
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push 0x30
push esi
call edi
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
push 0x10058504
push esi
call dword [sym.imp.USER32.dll_SetPropA]
push 0x1003d6b0
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [0x100646fc]
mov edx, dword [esp + 0x18]
mov dword [eax + 0x1c], esi
mov esi, dword [0x100646fc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
sub eax, edx
push 1
push eax
mov eax, dword [esp + 0x3c]
sub eax, ecx
push eax
push edx
push ecx
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esp + 0x1c]
mov eax, dword [0x100646fc]
push dword [edx + 0x10]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x100646fc]
push 5
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x100646fc]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [0x100646fc]
push 0xffffffffffffffff
push 0
push 0xb1
push dword [eax + 0x1c]
call edi
jmp 0x1003a816
movups xmm0, xmmword [esp + 0x3c]
movups xmmword [esp + 0x2c], xmm0
psrldq xmm0, 4
movd eax, xmm0
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
add eax, 0x64
mov dword [esp + 0x18], eax
cmp edx, 1
jne 0x1003a74d
cmp dword [esi + 0x1c], 0
jne 0x1003a775
push 0
push 0x7d8
jmp 0x1003a75a
cmp dword [esi + 0x1c], 0
jne 0x1003a775
push 1
push 0x7d9
mov ecx, dword [esi]
mov edx, ebp
call fcn.1003c560
mov ecx, dword [0x100646fc]
add esp, 8
mov dword [ecx + 0x1c], eax
mov esi, dword [0x100646fc]
mov ebx, dword [esi + 0x1c]
push 0
push 0
push 0x14b
push ebx
call edi
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
sub eax, edx
push 1
push eax
mov eax, dword [esp + 0x3c]
sub eax, ecx
push eax
push edx
push ecx
push ebx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 8]
cmp byte [esi], 0
je 0x1003a7e1
push esi
push 0
push 0x158
push ebx
call edi
cmp eax, 0xffffffff
jne 0x1003a7cc
push esi
push 0
push 0x143
push ebx
call edi
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a7d1
sub ecx, edx
inc esi
add esi, ecx
cmp byte [esi], al
jne 0x1003a7b1
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [esp + 0x1c]
push dword [esi + 0x10]
push 0
push 0x158
push ebx
call edi
push 0
cmp eax, 0xffffffff
je 0x1003a85e
push eax
push 0x14e
push ebx
call edi
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x28], 0
jne 0x1003a84b
mov eax, dword [esp + 0x5c]
movzx ecx, ax
mov eax, dword [esp + 0x58]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push ebx
push 0x100
push ebp
push 0x1005847c
push ebp
call dword [sym.imp.USER32.dll_GetPropA]
push eax
call dword [sym.imp.USER32.dll_CallWindowProcA]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.100076a5
add esp, 0x40
ret
push 0
push 0x14e
push ebx
call edi
push dword [esi + 0x10]
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0xffff0000
push 0
push 0x142
jmp 0x1003a80f
movups xmm0, xmmword [esp + 0x3c]
movups xmmword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
psrldq xmm0, 4
movd edx, xmm0
inc edx
cmp dword [esi + 0x1c], 0
mov dword [esp + 0x18], edx
jne 0x1003a95c
mov esi, dword [esi]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 8
mov dword [esp + 0x28], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
jne 0x1003a8cf
xor esi, esi
jmp 0x1003a942
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x18]
push 0
push esi
push 0x7d5
push ebp
push eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
push eax
push 0x80000000
push 0x80000000
push 0x40000000
push 0
push str.SysIPAddress32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
je 0x1003a942
push 0
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push 0x30
push esi
call edi
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
push 0x10058550
push esi
call dword [sym.imp.USER32.dll_SetPropA]
push 0x1003d2b0
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [0x100646fc]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov dword [eax + 0x1c], esi
mov esi, dword [0x100646fc]
mov eax, dword [esp + 0x38]
push 1
sub eax, edx
push eax
mov eax, dword [esp + 0x34]
sub ecx, eax
push ecx
push edx
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x19]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x1e]
push eax
lea eax, [esp + 0x23]
push eax
push 0x10058880
push dword [edx + 0x10]
call fcn.100043f0
mov eax, dword [0x100646fc]
add esp, 0x18
push dword [esp + 0x14]
push 0
push 0x465
push dword [eax + 0x1c]
call edi
mov eax, dword [0x100646fc]
push 5
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x100646fc]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x1003a816
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x1003aa0d
mov eax, dword [esp + 0x5c]
movzx ecx, ax
mov eax, dword [esp + 0x58]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0x1b
push 0x100
push ebp
call edi
jmp 0x1003a512
mov eax, dword [0x100646fc]
push 0x100588ec
mov eax, dword [eax + 4]
push dword [eax + 8]
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
add esp, 8
test eax, eax
mov eax, dword [0x100646fc]
mov eax, dword [eax + 4]
jne 0x1003aa4c
mov dword [eax + 8], 0x100588f0
mov eax, dword [0x100646fc]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x1003a512
mov dword [eax + 8], 0x100588f4
jmp 0x1003a512
movups xmm0, xmmword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
sub esp, 0x10
mov eax, esp
mov ecx, ebp
movups xmmword [eax], xmm0
call fcn.1003ada0
add esp, 0x10
jmp 0x1003a816
movups xmm0, xmmword [esp + 0x3c]
movups xmmword [esp + 0x2c], xmm0
mov ebx, dword [esp + 0x34]
psrldq xmm0, 8
movd edx, xmm0
mov eax, edx
sub eax, ecx
cmp eax, 0x13
jle 0x1003aaa4
lea ecx, [edx - 0x13]
sub ebx, 2
mov dword [esp + 0x18], ecx
jmp 0x1003aaac
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
add ecx, 2
add eax, 0xfffffffe
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x1c], 0
mov dword [esp + 0x20], eax
jne 0x1003ab51
push 0
push dword [esi]
push 0x7d4
push ebp
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x50000000
push 0x10058568
push str.Button
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
je 0x1003ab3b
push 0
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push 0x30
push esi
call edi
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
push 0x10058574
push esi
call dword [sym.imp.USER32.dll_SetPropA]
push 0x1003d040
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [0x100646fc]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x1c], esi
mov esi, dword [0x100646fc]
mov eax, dword [esp + 0x20]
push 1
sub eax, ecx
push eax
mov eax, dword [esp + 0x20]
sub ebx, eax
push ebx
push ecx
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x100646fc]
push 5
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x100646fc]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x1003a812
cmp ebx, 0x21
jne 0x1003abbd
movzx ecx, word [esp + 0x5c]
movzx eax, word [esp + 0x58]
shl ecx, 0x10
or ecx, eax
push ecx
push 0x24
push 0x100
push ebp
call edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.100076a5
add esp, 0x40
ret
cmp ebx, 0x22
jne 0x1003a816
movzx ecx, word [esp + 0x5c]
movzx eax, word [esp + 0x58]
shl ecx, 0x10
or ecx, eax
push ecx
push 0x23
push 0x100
push ebp
call edi
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100076a5
add esp, 0x40
ret