Function at 0x44d720
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
push edi
push dword [ebp + 0x24]
mov ebx, ecx
push dword [ebp + 0x20]
mov dword [esp + 0x1c], ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.0045b960
mov dword [esp + 0x18], eax
test eax, eax
je 0x44dd1e
mov esi, dword [ebp + 0x10]
xor dl, dl
mov ebx, dword [ebp + 0x14]
mov edi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dword [esp + 0x1c], 2
movzx eax, word [esi]
mov byte [esp + 0x12], dl
mov byte [esp + 0x13], 1
mov dword [esp + 0x30], connect
mov dword [esp + 0x34], connect
test ax, ax
je 0x44d7ef
mov ecx, eax
nop dword [eax + eax]
movzx edi, cx
test edi, 0xffffff80
je 0x44d79f
xor eax, eax
jmp 0x44d7ab
push 2
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
mov ecx, edi
and ecx, 0xffffffdf
test eax, eax
cmove ecx, edi
add ecx, 0xffffffbc
cmp ecx, 0x15
ja case.0x44d7c4.69
movzx eax, byte [ecx + 0x44dd84]
jmp dword [eax*4 + 0x44dd68]
mov dword [esp + 0x1c], 0
mov edi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dl, byte [esp + 0x12]
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x44d790
test dl, dl
jne 0x44d808
mov ecx, dword [esp + 0x18]
mov edx, ebx
call fcn.004a1a80
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
jne 0x44d9e4
push 0x30
lea eax, [esp + 0x5c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esp + 0x80], 1
movzx eax, word [ebx]
mov esi, eax
cmp eax, 0x20
je 0x44d834
cmp eax, 9
jne 0x44d8c6
add ebx, 2
jmp 0x44d821
mov dword [esp + 0x1c], 1
jmp case.0x44d7c4.69
mov cx, word [esi + 2]
call fcn.00413070
mov dl, byte [esp + 0x12]
mov edi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
cmp ax, 0x41
jne 0x44d7dd
add esi, 2
mov byte [esp + 0x13], 0
jmp 0x44d7dd
push 3
push 0x4d034c
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
mov edi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 0xc
test eax, eax
jne 0x44d7d9
mov dl, 1
add esi, 4
mov byte [esp + 0x12], dl
jmp 0x44d7dd
mov edi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
lea eax, [esi + 2]
push eax
call edi
add esp, 4
mov dword [esp + 0x30], eax
jmp 0x44d7d9
mov edi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
lea eax, [esi + 2]
push eax
call edi
add esp, 4
mov dword [esp + 0x34], eax
jmp 0x44d7d9
test eax, 0xffffff80
je 0x44d8d1
xor eax, eax
jmp 0x44d8dd
push 2
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
mov ecx, esi
and ecx, 0xffdf
test eax, eax
movzx edx, cx
mov ecx, esi
cmove edx, ecx
cmp dx, 0x58
jne case.0x44daec.3
add ebx, 2
cmp word [ebx], 0
je case.0x44daec.3
mov ecx, ebx
call fcn.00404a50
test al, al
je 0x44d921
push 0x10
push 0
push ebx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
add esp, 0xc
jmp 0x44d927
push ebx
call edi
add esp, 4
mov edx, 0x4cf49c
mov dword [esp + 0x58], eax
mov ecx, ebx
call fcn.00406460
test eax, eax
je case.0x44daec.3
lea esi, [eax + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x44d94f
cmp eax, 9
jne 0x44d954
add esi, 2
jmp 0x44d942
test ax, ax
je case.0x44daec.3
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towupper]
add esp, 4
cmp ax, 0x59
jne case.0x44daec.3
cmp word [esi + 2], 0
lea ecx, [esi + 2]
je case.0x44daec.3
call fcn.00417020
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x48]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x48]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
add dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
push eax
push 0x454cd0
push ebx
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [esp + 0x70]
mov esi, ebx
test eax, eax
cmovne esi, eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push eax
push esi
mov dword [esp + 0x28], esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edi, dword [ebp + 0xc]
cmp edi, 1
jl 0x44dcfb
mov ecx, dword [esp + 0x30]
cmp ecx, 0x80000000
je 0x44da07
mov eax, dword [esp + 0x34]
cmp eax, 0x80000000
jne 0x44da56
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je case.0x44daec.3
mov ecx, dword [esp + 0x30]
cmp ecx, 0x80000000
jne 0x44da3a
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x34]
cmp eax, 0x80000000
jne 0x44da56
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x34], eax
movzx edx, ax
shl edx, 0x10
movzx eax, cx
or edx, eax
mov dword [esp + 0x24], 0
mov al, byte [ebp + 8]
mov dword [esp + 0x28], edx
cmp al, 0x9f
je 0x44da7c
cmp al, 0x9e
je 0x44da7c
xor bh, bh
jmp 0x44da7e
mov bh, 1
cmp al, 0x9c
je 0x44da8a
cmp al, 0x9d
je 0x44da8a
xor bl, bl
jmp 0x44da8c
mov bl, 1
test bh, bh
je 0x44dab7
cmp al, 0x9f
mov esi, 0xffffff88
mov eax, dword [esp + 0x2c]
mov ecx, 0x78
cmove esi, ecx
mov dword [esp + 0x14], eax
imul esi, edi
mov edi, 0x20a
shl esi, 0x10
jmp 0x44db58
test bl, bl
je 0x44dadf
cmp al, 0x9c
mov esi, 0x78
mov eax, dword [esp + 0x2c]
mov ecx, 0xffffff88
cmove esi, ecx
mov dword [esp + 0x14], eax
imul esi, edi
mov edi, 0x20e
shl esi, 0x10
jmp 0x44db58
movzx eax, al
dec eax
cmp eax, 5
ja case.0x44daec.3
jmp dword [eax*4 + 0x44dd9c]
mov edi, 0x201
mov dword [esp + 0x14], 0x202
mov esi, 1
jmp 0x44db58
mov edi, 0x204
mov dword [esp + 0x14], 0x205
mov esi, 2
jmp 0x44db58
mov edi, 0x207
mov dword [esp + 0x14], 0x208
mov esi, 0x10
jmp 0x44db58
mov dword [esp + 0x24], 0x10000
mov esi, 0x10020
jmp 0x44db4b
mov dword [esp + 0x24], 0x20000
mov esi, 0x20040
mov dword [esp + 0x14], 0x20c
mov edi, 0x20b
cmp byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
je 0x44dbb6
push 0
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x44dba6
cmp eax, dword [0x4e6ce0]
je 0x44dba6
mov ecx, dword [esp + 0x18]
call fcn.004a1f60
test al, al
jne 0x44dba6
push 1
push dword [esp + 0x30]
push dword [0x4e6ce0]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x12]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x28]
jmp 0x44dbbe
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
test bh, bh
jne 0x44dc99
test bl, bl
jne 0x44dc99
cmp dword [ebp + 0xc], 0
jle 0x44dce2
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x1c], 1
je 0x44dc32
push edx
push esi
push edi
push dword [esp + 0x2c]
call eax
mov eax, dword [0x4e211c]
cmp dword [eax + 0x58], 0xffffffff
jle 0x44dc2d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4e6ce0], eax
jne 0x44dc1f
mov ecx, dword [0x4e211c]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401a30
jmp 0x44dc2d
mov eax, dword [0x4e211c]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [esp + 0x1c], 0
je 0x44dc84
push dword [esp + 0x28]
push dword [esp + 0x28]
push ebx
push dword [esp + 0x2c]
call eax
mov eax, dword [0x4e211c]
cmp dword [eax + 0x58], 0xffffffff
jle 0x44dc84
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4e6ce0], eax
jne 0x44dc76
mov ecx, dword [0x4e211c]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401a30
jmp 0x44dc84
mov eax, dword [0x4e211c]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp + 0xc], 1
mov edx, dword [esp + 0x28]
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
jne 0x44dbe1
jmp 0x44dce2
push edx
push esi
push edi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x4e211c]
cmp dword [eax + 0x58], 0xffffffff
jle 0x44dce2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4e6ce0], eax
jne 0x44dcd4
mov ecx, dword [0x4e211c]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401a30
jmp 0x44dce2
mov eax, dword [0x4e211c]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esp + 0x12], 0
je 0x44dcfb
push 0
push dword [esp + 0x30]
push dword [0x4e6ce0]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [0x4e4b80]
push 1
push 0
push 0xffffffffffffffff
push 0x4b8cc8
call fcn.004a0110
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ebx, dword [esp + 0x14]
mov eax, dword [0x4e211c]
test byte [eax + 0x100], 1
jne 0x44dd4b
mov ecx, dword [0x4e4b80]
push 1
push 0
push 0xffffffffffffffff
push 0x4cefc4
call fcn.004a0110
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0x4b8c14
push 0
push 0x4cefc4
mov ecx, ebx
call fcn.004473a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20