Function at 0x478f70
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [esp + 0x10], ebx
call fcn.0042aad0
mov edx, eax
mov dword [esp + 0x18], edx
test edx, edx
je 0x4794dc
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004642e0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4794dc
mov edi, dword [ebp + 0x10]
mov ecx, eax
mov edx, edi
call fcn.004b21c0
mov ebx, eax
test ebx, ebx
je 0x4794d8
mov ecx, dword [esp + 0x18]
mov eax, dword fs:[0x24]
mov dword [esp + 0x24], eax
lea eax, [ecx - 1]
cmp eax, 0x10
ja case.default.0x478fe8
jmp dword [eax*4 + 0x479904]
lea eax, [esp + 0x14]
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 0x4794d8
xor eax, eax
cmp dword [esp + 0x18], 1
sete al
cmp dword [esp + 0x14], eax
je case.default.0x478fe8
mov esi, dword [esp + 0x1c]
push 0
push esi
mov byte [esp + 0x17], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x47906c
cmp edi, dword [0x4dba60]
je 0x47906c
mov ecx, esi
call fcn.004b2670
test al, al
jne 0x47906c
push 1
push edi
push dword [0x4dba60]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0xf]
cmp esi, ebx
jne 0x47909d
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, ebx
push 0xfffffffffffffff0
push ebx
call edi
test eax, 0x40000000
je 0x47909d
push esi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x47909d
push 0xfffffffffffffff0
push eax
mov esi, eax
call edi
test eax, 0x40000000
jne 0x479084
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
lea eax, [esp + 0x28]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
jne 0x4790cc
xor edx, edx
mov dword [esp + 0x34], eax
xor ecx, ecx
mov dword [esp + 0x2c], edx
xor esi, esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], esi
jmp 0x4790dc
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
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 + 0xf], 0
je case.default.0x478fe8
push 0
push dword [esp + 0x20]
push dword [0x4dba60]
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp case.default.0x478fe8
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x478fe8
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x478fe8
push 4
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x478fe8
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x478fe8
cmp byte [esi], 0
jne 0x479180
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
xor eax, eax
cmp ecx, 7
sete al
lea eax, [eax*4 - 0x14]
push eax
push ebx
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
movsx ecx, byte [esi]
mov edi, eax
push ecx
push 0x4cdd70
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbschr]
add esp, 8
test eax, eax
jne 0x47921c
mov ecx, esi
mov al, byte [ecx]
cmp al, 0x20
je 0x4791bf
cmp al, 9
jne 0x4791c2
inc ecx
jmp 0x4791b5
test al, al
je 0x47920b
cmp al, 0x2d
je 0x4791ce
cmp al, 0x2b
jne 0x4791d5
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x47920b
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4791e4
cmp al, 0x58
jne 0x47920b
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 0x47920b
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 0x4792a4
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__atoi64]
add esp, 4
mov esi, eax
jmp 0x4792a4
inc esi
mov ecx, esi
nop
mov al, byte [ecx]
cmp al, 0x20
je 0x47922a
cmp al, 9
jne 0x47922d
inc ecx
jmp 0x479220
test al, al
je 0x479271
cmp al, 0x2d
je 0x479239
cmp al, 0x2b
jne 0x479240
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x479271
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x47924f
cmp al, 0x58
jne 0x479271
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 0x479271
push 0x10
push 0
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__strtoi64]
add esp, 0xc
jmp 0x47927b
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 [ebp + 0xc]
movsx eax, byte [eax]
sub eax, 0x2b
je 0x4792a2
sub eax, 2
je 0x47929c
sub eax, 0x31
jne 0x479296
xor esi, edi
jmp 0x4792a4
mov esi, dword [esp + 0x24]
jmp 0x4792a4
not esi
and esi, edi
jmp 0x4792a4
or esi, edi
cmp esi, edi
je 0x4792ea
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
mov esi, dword [esp + 0x20]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
test eax, eax
jne 0x4792cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4794d8
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, edi
je 0x4794d8
push 1
push 0
push ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [0x4d995c]
push 1
push 0
push 0xffffffffffffffff
push 0x4c3cb0
call fcn.004b04f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
lea eax, [esp + 0x14]
push eax
push 0x7d0
xor eax, eax
cmp ecx, 9
push 2
push 0
sete al
push eax
push 0x14f
jmp 0x479891
mov al, byte [esi]
test al, al
je 0x4793c2
mov ecx, esi
cmp al, 0x20
je 0x47933e
cmp al, 9
jne 0x479344
mov al, byte [ecx + 1]
inc ecx
jmp 0x479336
test al, al
je 0x479388
cmp al, 0x2d
je 0x479350
cmp al, 0x2b
jne 0x479357
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x479388
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x479366
cmp al, 0x58
jne 0x479388
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 0x479388
push 0x10
push 0
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
jmp 0x479392
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edx, dword [esp + 0x18]
mov esi, eax
cmp edx, 0xb
setne al
xor dl, dl
lea eax, [eax*2 + 0x25]
mov cl, al
mov dword [esp + 0x18], eax
call fcn.0041df10
movzx edi, ax
shl edi, 0x10
test esi, esi
jle case.default.0x478fe8
jmp 0x4793e7
cmp ecx, 0xb
mov esi, 1
setne al
xor dl, dl
lea eax, [eax*2 + 0x25]
mov cl, al
mov byte [esp + 0x18], al
call fcn.0041df10
movzx edi, ax
shl edi, 0x10
mov eax, dword [esp + 0x18]
mov ecx, edi
or ecx, 1
movzx eax, al
mov dword [esp + 0x18], eax
or edi, 0xc0000001
mov dword [esp + 0x20], ecx
push ecx
push eax
push 0x100
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x24]
mov dword [0x4d70ec], 0
cmp dword [0x4dba60], eax
je 0x47942f
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x47943b
mov edx, 1
xor ecx, ecx
call fcn.00401870
push edi
push dword [esp + 0x1c]
mov dword [0x4d70ec], 1
push 0x101
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
sub esi, 1
jne 0x479401
jmp case.default.0x478fe8
cmp byte [edi], 0
jne 0x47947f
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edi, [esp + 0x38]
mov edx, str.Combo
mov ecx, edi
call fcn.004ac1a0
test eax, eax
je 0x479496
mov eax, 0x143
jmp 0x4794ab
mov edx, str.List
mov ecx, edi
call fcn.004ac1a0
test eax, eax
je 0x4794d8
mov eax, 0x180
lea ecx, [esp + 0x14]
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 0x4794d8
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x4794d8
cmp eax, 0xfffffffe
jne case.default.0x478fe8
mov ebx, dword [esp + 0x10]
mov eax, dword [0x4d70f4]
test byte [eax + 0xe0], 1
jne 0x4798e8
mov ecx, dword [0x4d995c]
push 1
push 0
push 0xffffffffffffffff
push 0x4c40b0
call fcn.004b04f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov al, byte [esi]
test al, al
je 0x4794d8
mov ecx, esi
cmp al, 0x20
je 0x47951d
cmp al, 9
jne 0x479523
mov al, byte [ecx + 1]
inc ecx
jmp 0x479515
test al, al
je 0x479567
cmp al, 0x2d
je 0x47952f
cmp al, 0x2b
jne 0x479536
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x479567
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x479545
cmp al, 0x58
jne 0x479567
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 0x479567
push 0x10
push 0
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
jmp 0x479571
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 0x4794d8
cmp byte [edi], 0
jne 0x479593
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edi, [esp + 0x38]
mov edx, str.Combo
mov ecx, edi
call fcn.004ac1a0
test eax, eax
je 0x4795aa
mov eax, 0x144
jmp 0x4795c3
mov edx, str.List
mov ecx, edi
call fcn.004ac1a0
test eax, eax
je 0x4794d8
mov eax, 0x182
lea ecx, [esp + 0x14]
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 0x4794d8
cmp dword [esp + 0x14], 0xffffffff
jmp 0x47989a
mov al, byte [esi]
test al, al
je 0x4794d8
mov ecx, esi
cmp al, 0x20
je 0x479600
cmp al, 9
jne 0x479606
mov al, byte [ecx + 1]
inc ecx
jmp 0x4795f8
test al, al
je 0x47964a
cmp al, 0x2d
je 0x479612
cmp al, 0x2b
jne 0x479619
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x47964a
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x479628
cmp al, 0x58
jne 0x47964a
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 0x47964a
push 0x10
push 0
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
jmp 0x479654
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 0x4794d8
cmp byte [edi], 0
jne 0x479676
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edi, [esp + 0x38]
mov edx, str.Combo
mov ecx, edi
call fcn.004ac1a0
test eax, eax
je 0x4796a4
mov ecx, 0x14e
mov edi, 9
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push 0
push esi
jmp 0x479734
mov edx, str.List
mov ecx, edi
call fcn.004ac1a0
test eax, eax
je 0x4794d8
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 0x479690
lea eax, [esp + 0x14]
push eax
push 0x7d0
push edi
push esi
push 1
push 0x185
jmp 0x479735
cmp byte [edi], 0
jne 0x479707
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edi, [esp + 0x38]
mov edx, str.Combo
mov ecx, edi
call fcn.004ac1a0
test eax, eax
je 0x4797df
mov ecx, 0x14d
mov edi, 9
lea eax, [esp + 0x14]
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 0x4794d8
cmp dword [esp + 0x14], 0xffffffff
je 0x4794d8
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4794d8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x47978d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4794d8
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x14]
movzx eax, ax
push ecx
push 0x7d0
push 2
push ebx
mov dword [esp + 0x34], eax
or eax, 0x10000
push eax
push 0x111
push dword [esp + 0x30]
call esi
test eax, eax
je 0x4794d8
lea eax, [esp + 0x14]
shl edi, 0x10
or edi, dword [esp + 0x24]
push eax
push 0x7d0
push 2
push ebx
push edi
push 0x111
push dword [esp + 0x30]
call esi
jmp 0x479898
mov edx, str.List
mov ecx, edi
call fcn.004ac1a0
test eax, eax
je 0x4794d8
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 0x479725
lea eax, [esp + 0x20]
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 0x4794d8
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x4794d8
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push edi
push eax
push 1
push 0x185
push ebx
call esi
test eax, eax
je 0x4794d8
cmp dword [esp + 0x14], 0xffffffff
jne 0x479751
jmp 0x4794d8
lea eax, [esp + 0x14]
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 0x4794d8
mov eax, dword [0x4d70f4]
cmp dword [eax + 0x58], 0xffffffff
jle 0x4792ea
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4dba60], eax
je 0x4798d0
mov eax, dword [0x4d70f4]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4792ea
mov ecx, dword [0x4d70f4]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401870
jmp 0x4792ea
push 0x4c3c29
push 0
push 0x4c40b0
mov ecx, ebx
call fcn.0044d1f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c