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

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040d1f0
mov dword [section..data], 0x234
mov dword [section..data], 0x237
mov dword [section..data], 0x239
call fcn.0040a58c
mov dword [esp], eax
mov dword [section..data], 0x23b
call fcn.0040a594
mov dword [esp + 4], eax
mov dword [section..data], 0x23d
call fcn.0040a5a3
mov dword [esp + 8], eax
mov dword [section..data], 0x23f
call fcn.0040a5b2
mov dword [esp + 0xc], eax
mov dword [section..data], 0x243
mov ebx, dword [esp]
cmp ebx, 0x332c
jne 0x402b4f
mov dword [section..data], 0x244
mov ebx, dword [esp + 8]
cmp ebx, 0x31
jne 0x4029e8
mov ebx, dword [esp + 0xc]
and ebx, ebx
jne 0x4029e8
mov eax, 1
jmp 0x4029ea
xor eax, eax
and eax, eax
je 0x402a18
mov dword [section..data], 0x245
push 0
lea eax, [0x405eb9]
push eax
call fcn.00407197
mov dword [section..data], 0x246
jmp 0x402b36
mov dword [section..data], 0x246
mov ebx, dword [esp + 8]
cmp ebx, 0x12
jne 0x402a3a
mov ebx, dword [esp + 0xc]
and ebx, ebx
jne 0x402a3a
mov eax, 1
jmp 0x402a3c
xor eax, eax
and eax, eax
je 0x402a6a
mov dword [section..data], 0x247
push 0
lea eax, [0x4052f2]
push eax
call fcn.00407197
mov dword [section..data], 0x248
jmp 0x402b36
mov dword [section..data], 0x248
mov ebx, dword [esp + 8]
cmp ebx, 0x1f
jne 0x402a8c
mov ebx, dword [esp + 0xc]
and ebx, ebx
jne 0x402a8c
mov eax, 1
jmp 0x402a8e
xor eax, eax
and eax, eax
je 0x402ab9
mov dword [section..data], 0x249
push 0
lea eax, [0x406760]
push eax
call fcn.00407197
mov dword [section..data], 0x24a
jmp 0x402b36
mov dword [section..data], 0x24a
mov ebx, dword [esp + 8]
cmp ebx, 0x25
jne 0x402adb
mov ebx, dword [esp + 0xc]
and ebx, ebx
jne 0x402adb
mov eax, 1
jmp 0x402add
xor eax, eax
and eax, eax
je 0x402b08
mov dword [section..data], 0x24b
push 0
lea eax, [0x402665]
push eax
call fcn.00407197
mov dword [section..data], 0x24c
jmp 0x402b36
mov dword [section..data], 0x24c
mov ebx, dword [esp + 8]
cmp ebx, 1
jne 0x402b36
mov dword [section..data], 0x24d
push 0
lea eax, [0x406536]
push eax
call fcn.00407197
mov dword [section..data], 0x24e
mov dword [section..data], 0x24f
jmp 0x402f6e
mov dword [section..data], 0x24f
mov ebx, dword [esp]
cmp ebx, 0x332d
jne 0x402db1
mov dword [section..data], 0x250
call fcn.0040a5c1
push eax
mov dword [section..data], 0x251
mov ebx, 1
cmp ebx, dword [esp]
jne 0x402c03
mov dword [section..data], 0x252
push 5
call fcn.0040a5d0
mov ebx, eax
and ebx, ebx
jne 0x402bc1
mov dword [section..data], 0x253
call fcn.00404754
mov dword [section..data], 0x254
jmp 0x402bea
mov dword [section..data], 0x254
mov dword [section..data], 0x255
push 1
push 5
call fcn.0040a5e2
push eax
call sub.USER32.dll_ShowWindow
mov dword [section..data], 0x256
mov dword [section..data], 0x257
jmp 0x402d97
mov dword [section..data], 0x257
mov ebx, 2
cmp ebx, dword [esp]
jne 0x402c93
mov dword [section..data], 0x258
push 0x2a
call fcn.0040a5d0
mov ebx, eax
and ebx, ebx
jne 0x402c51
mov dword [section..data], 0x259
push 1
call fcn.004041ac
mov dword [section..data], 0x25a
jmp 0x402c7a
mov dword [section..data], 0x25a
mov dword [section..data], 0x25b
push 1
push 0x2a
call fcn.0040a5e2
push eax
call sub.USER32.dll_ShowWindow
mov dword [section..data], 0x25c
mov dword [section..data], 0x25d
jmp 0x402d97
mov dword [section..data], 0x25d
mov ebx, 3
cmp ebx, dword [esp]
jne 0x402d1b
mov dword [section..data], 0x25e
push 0x14
call fcn.0040a5d0
mov ebx, eax
and ebx, ebx
jne 0x402cdc
mov dword [section..data], 0x25f
call fcn.00404413
mov dword [section..data], 0x260
jmp 0x402d05
mov dword [section..data], 0x260
mov dword [section..data], 0x261
push 1
push 0x14
call fcn.0040a5e2
push eax
call sub.USER32.dll_ShowWindow
mov dword [section..data], 0x262
mov dword [section..data], 0x263
jmp 0x402d97
mov dword [section..data], 0x263
mov ebx, 4
cmp ebx, dword [esp]
jne 0x402d97
mov dword [section..data], 0x264
push 0x23
call fcn.0040a5d0
mov ebx, eax
and ebx, ebx
jne 0x402d64
mov dword [section..data], 0x265
call fcn.00403f5c
mov dword [section..data], 0x266
jmp 0x402d8d
mov dword [section..data], 0x266
mov dword [section..data], 0x267
push 1
push 0x23
call fcn.0040a5e2
push eax
call sub.USER32.dll_ShowWindow
mov dword [section..data], 0x268
mov dword [section..data], 0x269
pop eax
mov dword [section..data], 0x26b
jmp 0x402f6e
mov dword [section..data], 0x26b
mov ebx, dword [esp]
cmp ebx, 0x10
jne 0x402f6e
mov dword [section..data], 0x26c
push dword [esp + 4]
mov dword [section..data], 0x26d
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x402e07
mov dword [section..data], 0x26e
mov dword [esp + 0x14], 1
mov dword [section..data], 0x26f
jmp 0x402f63
mov dword [section..data], 0x26f
mov ebx, 0x2a
cmp ebx, dword [esp]
jne 0x402e5d
mov dword [section..data], 0x270
push 0
push 0x2a
call fcn.0040a5e2
push eax
call sub.USER32.dll_ShowWindow
mov dword [section..data], 0x271
push 0
call fcn.0040a5fe
mov dword [section..data], 0x272
jmp 0x402f63
mov dword [section..data], 0x272
mov ebx, 5
cmp ebx, dword [esp]
jne 0x402eb3
mov dword [section..data], 0x273
push 0
push 5
call fcn.0040a5e2
push eax
call sub.USER32.dll_ShowWindow
mov dword [section..data], 0x274
push 0
call fcn.0040a5fe
mov dword [section..data], 0x275
jmp 0x402f63
mov dword [section..data], 0x275
mov ebx, 0x14
cmp ebx, dword [esp]
jne 0x402f06
mov dword [section..data], 0x276
push 0
push 0x14
call fcn.0040a5e2
push eax
call sub.USER32.dll_ShowWindow
mov dword [section..data], 0x277
push 0
call fcn.0040a5fe
mov dword [section..data], 0x278
jmp 0x402f63
mov dword [section..data], 0x278
mov ebx, 0x23
cmp ebx, dword [esp]
jne 0x402f59
mov dword [section..data], 0x279
push 0
push 0x23
call fcn.0040a5e2
push eax
call sub.USER32.dll_ShowWindow
mov dword [section..data], 0x27a
push 0
call fcn.0040a5fe
mov dword [section..data], 0x27b
jmp 0x402f63
mov dword [section..data], 0x27b
mov dword [section..data], 0x27d
pop eax
mov dword [section..data], 0x27e
mov dword [section..data], 0x27f
push 0x1b
call sub.USER32.dll_GetAsyncKeyState
mov ebx, eax
cmp ebx, 0xffff8001
jne 0x402fe4
mov dword [section..data], 0x280
mov ebx, dword [esp + 4]
and ebx, ebx
je 0x402fda
mov dword [section..data], 0x282
push 0
push dword [esp + 8]
call fcn.0040a5e2
push eax
call sub.USER32.dll_ShowWindow
mov dword [section..data], 0x285
push 0
call fcn.0040a5fe
mov dword [section..data], 0x287
mov dword [section..data], 0x288
mov dword [section..data], 0x289
mov ebx, dword [esp + 0x10]
cmp ebx, 1
jne 0x402958
mov dword [section..data], 0x28b
xor eax, eax
add esp, 0x14
pop ebx
ret