Function at 0x46acf0
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
mov ebx, ecx
mov ecx, dword [esp + 0x48]
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
call fcn.0046a010
mov edx, eax
mov dword [esp + 0x50], edx
test edx, edx
je 0x46b264
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.00455d60
mov ebp, eax
test ebp, ebp
je 0x46b264
mov edi, dword [esp + 0x54]
mov ecx, ebp
mov edx, edi
call fcn.004a4a80
mov ebx, eax
test ebx, ebx
je 0x46b260
mov ecx, dword [esp + 0x50]
mov eax, dword fs:[0x24]
mov dword [esp + 0x64], eax
lea eax, [ecx - 1]
cmp eax, 0x10
ja case.default.0x46ad6c
jmp dword [eax*4 + 0x46b678]
lea eax, [esp + 0x4c]
push eax
push 0x7d0
push 2
push 0
push 0
push 0xf0
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
je 0x46b260
xor eax, eax
cmp dword [esp + 0x50], 1
sete al
cmp dword [esp + 0x4c], eax
je case.default.0x46ad6c
push 0
push ebp
mov byte [esp + 0x58], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
mov dword [esp + 0x64], esi
test esi, esi
je 0x46adec
cmp esi, dword [0x4cc810]
je 0x46adec
mov ecx, ebp
call fcn.004a4f30
test al, al
jne 0x46adec
push 1
push esi
push dword [0x4cc810]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x50]
cmp ebp, ebx
jne 0x46ae27
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, ebx
push 0xfffffffffffffff0
push ebx
call edi
test eax, 0x40000000
je 0x46ae29
mov ebp, dword [sym.imp.USER32.dll_GetParent]
nop word [eax + eax]
push esi
call ebp
test eax, eax
je 0x46ae29
push 0xfffffffffffffff0
push eax
mov esi, eax
call edi
test eax, 0x40000000
jne 0x46ae10
jmp 0x46ae29
mov esi, ebp
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
jne 0x46ae58
xor edx, edx
mov dword [esp + 0x24], eax
xor ecx, ecx
mov dword [esp + 0x1c], edx
xor esi, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], esi
jmp 0x46ae68
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
sub eax, edx
sub ecx, esi
cdq
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
sub eax, edx
sar eax, 1
movzx edi, ax
mov eax, ecx
cdq
sub eax, edx
shl edi, 0x10
sar eax, 1
movzx eax, ax
or edi, eax
push edi
push 1
push 0x201
push ebx
call esi
push edi
push 0
push 0x202
push ebx
call esi
cmp byte [esp + 0x50], 0
je case.default.0x46ad6c
push 0
push dword [esp + 0x68]
push dword [0x4cc810]
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp case.default.0x46ad6c
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x46ad6c
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x46ad6c
push 4
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x46ad6c
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x46ad6c
cmp byte [esi], 0
jne 0x46af0d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x38
ret 0x1c
mov ebp, dword [sym.imp.USER32.dll_GetWindowLongA]
xor eax, eax
cmp ecx, 7
sete al
lea eax, [eax*4 - 0x14]
push eax
push ebx
mov dword [esp + 0x58], eax
call ebp
movsx ecx, byte [esi]
mov edi, eax
push ecx
push 0x4bf37c
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbschr]
add esp, 8
test eax, eax
jne 0x46afab
mov ecx, esi
mov al, byte [ecx]
cmp al, 0x20
je 0x46af4e
cmp al, 9
jne 0x46af51
inc ecx
jmp 0x46af44
test al, al
je 0x46af9a
cmp al, 0x2d
je 0x46af5d
cmp al, 0x2b
jne 0x46af64
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x46af9a
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x46af73
cmp al, 0x58
jne 0x46af9a
movsx eax, byte [ecx + 2]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
add esp, 4
test eax, eax
je 0x46af9a
push 0x10
push 0
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__strtoi64]
add esp, 0xc
mov esi, eax
jmp 0x46b035
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__atoi64]
add esp, 4
mov esi, eax
jmp 0x46b035
inc esi
mov ecx, esi
nop
mov al, byte [ecx]
cmp al, 0x20
je 0x46afba
cmp al, 9
jne 0x46afbd
inc ecx
jmp 0x46afb0
test al, al
je 0x46b001
cmp al, 0x2d
je 0x46afc9
cmp al, 0x2b
jne 0x46afd0
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x46b001
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x46afdf
cmp al, 0x58
jne 0x46b001
movsx eax, byte [ecx + 2]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
add esp, 4
test eax, eax
je 0x46b001
push 0x10
push 0
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__strtoi64]
add esp, 0xc
jmp 0x46b00b
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__atoi64]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x14]
movsx eax, byte [eax]
sub eax, 0x2b
je 0x46b033
sub eax, 2
je 0x46b02d
sub eax, 0x31
jne 0x46b027
xor esi, edi
jmp 0x46b035
mov esi, dword [esp + 0x50]
jmp 0x46b035
not esi
and esi, edi
jmp 0x46b035
or esi, edi
cmp esi, edi
je 0x46b077
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
mov esi, dword [esp + 0x54]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
test eax, eax
jne 0x46b060
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x46b260
push esi
push ebx
call ebp
cmp eax, edi
je 0x46b260
push 1
push 0
push ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push 0xffffffffffffffff
push 0x4b6c08
mov ecx, dword [0x4ca738]
call fcn.004a2db0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x1c
lea eax, [esp + 0x4c]
push eax
push 0x7d0
xor eax, eax
cmp ecx, 9
push 2
push 0
sete al
push eax
push 0x14f
jmp 0x46b604
mov al, byte [esi]
test al, al
je 0x46b150
mov ecx, esi
cmp al, 0x20
je 0x46b0cc
cmp al, 9
jne 0x46b0d2
mov al, byte [ecx + 1]
inc ecx
jmp 0x46b0c4
test al, al
je 0x46b116
cmp al, 0x2d
je 0x46b0de
cmp al, 0x2b
jne 0x46b0e5
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x46b116
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x46b0f4
cmp al, 0x58
jne 0x46b116
movsx eax, byte [ecx + 2]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
add esp, 4
test eax, eax
je 0x46b116
push 0x10
push 0
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
jmp 0x46b120
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edx, dword [esp + 0x50]
mov esi, eax
cmp edx, 0xb
setne al
xor dl, dl
lea eax, [eax*2 + 0x25]
mov cl, al
mov dword [esp + 0x50], eax
call fcn.004162f0
movzx edi, ax
shl edi, 0x10
test esi, esi
jle case.default.0x46ad6c
jmp 0x46b175
cmp ecx, 0xb
mov esi, 1
setne al
xor dl, dl
lea eax, [eax*2 + 0x25]
mov cl, al
mov byte [esp + 0x50], al
call fcn.004162f0
movzx edi, ax
shl edi, 0x10
mov eax, dword [esp + 0x50]
movzx ebp, al
mov eax, edi
or eax, 1
or edi, 0xc0000001
mov dword [esp + 0x50], eax
nop dword [eax + eax]
push eax
push ebp
push 0x100
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x64]
mov dword [0x4c801c], 0
cmp dword [0x4cc810], eax
je 0x46b1be
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x46b1ca
mov edx, 1
xor ecx, ecx
call fcn.00401730
push edi
push ebp
push 0x101
push ebx
mov dword [0x4c801c], 1
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x50]
sub esi, 1
jne 0x46b190
jmp case.default.0x46ad6c
cmp byte [edi], 0
jne 0x46b207
push 0x20
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edi, [esp + 0x28]
mov edx, str.Combo
mov ecx, edi
call fcn.0049eb30
test eax, eax
je 0x46b21e
mov eax, 0x143
jmp 0x46b233
mov edx, str.List
mov ecx, edi
call fcn.0049eb30
test eax, eax
je 0x46b260
mov eax, 0x180
lea ecx, [esp + 0x4c]
push ecx
push 0x7d0
push 2
push esi
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
je 0x46b260
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
je 0x46b260
cmp eax, 0xfffffffe
jne case.default.0x46ad6c
mov ebx, dword [esp + 0x10]
mov eax, dword [0x4c8024]
test byte [eax + 0xe0], 1
jne 0x46b65b
push 1
push 0
push 0xffffffffffffffff
push 0x4bb578
jmp 0x46b082
mov al, byte [esi]
test al, al
je 0x46b260
mov ecx, esi
nop
cmp al, 0x20
je 0x46b298
cmp al, 9
jne 0x46b29e
mov al, byte [ecx + 1]
inc ecx
jmp 0x46b290
test al, al
je 0x46b2e2
cmp al, 0x2d
je 0x46b2aa
cmp al, 0x2b
jne 0x46b2b1
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x46b2e2
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x46b2c0
cmp al, 0x58
jne 0x46b2e2
movsx eax, byte [ecx + 2]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
add esp, 4
test eax, eax
je 0x46b2e2
push 0x10
push 0
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
jmp 0x46b2ec
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
lea esi, [eax - 1]
test esi, esi
js 0x46b260
cmp byte [edi], 0
jne 0x46b30e
push 0x20
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edi, [esp + 0x28]
mov edx, str.Combo
mov ecx, edi
call fcn.0049eb30
test eax, eax
je 0x46b325
mov eax, 0x144
jmp 0x46b33e
mov edx, str.List
mov ecx, edi
call fcn.0049eb30
test eax, eax
je 0x46b260
mov eax, 0x182
lea ecx, [esp + 0x4c]
push ecx
push 0x7d0
push 2
push 0
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
je 0x46b260
cmp dword [esp + 0x4c], 0xffffffff
jmp 0x46b60d
mov al, byte [esi]
test al, al
je 0x46b260
mov ecx, esi
cmp al, 0x20
je 0x46b37b
cmp al, 9
jne 0x46b381
mov al, byte [ecx + 1]
inc ecx
jmp 0x46b373
test al, al
je 0x46b3c5
cmp al, 0x2d
je 0x46b38d
cmp al, 0x2b
jne 0x46b394
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x46b3c5
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x46b3a3
cmp al, 0x58
jne 0x46b3c5
movsx eax, byte [ecx + 2]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
add esp, 4
test eax, eax
je 0x46b3c5
push 0x10
push 0
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
jmp 0x46b3cf
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
lea esi, [eax - 1]
test esi, esi
js 0x46b260
cmp byte [edi], 0
jne 0x46b3f1
push 0x20
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edi, [esp + 0x28]
mov edx, str.Combo
mov ecx, edi
call fcn.0049eb30
test eax, eax
je 0x46b41f
mov ecx, 0x14e
mov edi, 9
lea eax, [esp + 0x4c]
push eax
push 0x7d0
push 2
push 0
push esi
jmp 0x46b4af
mov edx, str.List
mov ecx, edi
call fcn.0049eb30
test eax, eax
je 0x46b260
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0x808
mov edi, 2
mov ecx, eax
neg ecx
sbb ecx, ecx
add ecx, 0x186
test eax, eax
je 0x46b40b
lea eax, [esp + 0x4c]
push eax
push 0x7d0
push edi
push esi
push 1
push 0x185
jmp 0x46b4b0
cmp byte [edi], 0
jne 0x46b482
push 0x20
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edi, [esp + 0x28]
mov edx, str.Combo
mov ecx, edi
call fcn.0049eb30
test eax, eax
je 0x46b552
mov ecx, 0x14d
mov edi, 9
lea eax, [esp + 0x4c]
push eax
push 0x7d0
push 2
push esi
push 0xffffffffffffffff
push ecx
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
push ebx
call esi
test eax, eax
je 0x46b260
cmp dword [esp + 0x4c], 0xffffffff
je 0x46b260
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
test ebp, ebp
je 0x46b260
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [esp + 0x50], eax
test eax, eax
jne 0x46b506
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x46b260
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x4c]
movzx eax, ax
push ecx
push 0x7d0
push 2
push ebx
mov dword [esp + 0x60], eax
or eax, 0x10000
push eax
push 0x111
push ebp
call esi
test eax, eax
je 0x46b260
lea eax, [esp + 0x4c]
shl edi, 0x10
or edi, dword [esp + 0x50]
push eax
push 0x7d0
push 2
push ebx
push edi
push 0x111
push ebp
call esi
jmp 0x46b60b
mov edx, str.List
mov ecx, edi
call fcn.0049eb30
test eax, eax
je 0x46b260
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0x808
mov ecx, 0x18f
mov edx, 0x18c
mov edi, 2
cmove ecx, edx
test eax, 0x808
je 0x46b4a0
lea eax, [esp + 0x60]
push eax
push 0x7d0
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
push 0xffffffffffffffff
push 0x18f
push ebx
call esi
test eax, eax
je 0x46b260
mov eax, dword [esp + 0x60]
cmp eax, 0xffffffff
je 0x46b260
lea ecx, [esp + 0x4c]
push ecx
push 0x7d0
push edi
push eax
push 1
push 0x185
push ebx
call esi
test eax, eax
je 0x46b260
cmp dword [esp + 0x4c], 0xffffffff
jne 0x46b4cc
jmp 0x46b260
lea eax, [esp + 0x4c]
push eax
push 0x7d0
push 2
push esi
push 1
push 0xc2
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
je 0x46b260
mov eax, dword [0x4c8024]
cmp dword [eax + 0x58], 0xffffffff
jle 0x46b077
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4cc810], eax
je 0x46b643
mov eax, dword [0x4c8024]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x46b077
mov ecx, dword [0x4c8024]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401730
jmp 0x46b077
push 0x4b6ba9
push 0
push 0x4bb578
mov ecx, ebx
call fcn.0043e6c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x1c