Function at 0x44e860
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.0045cab0
mov dword [esp + 0x18], eax
test eax, eax
je 0x44ee5e
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], SysReAllocString
mov dword [esp + 0x34], SysReAllocString
test ax, ax
je 0x44e92f
mov ecx, eax
nop dword [eax + eax]
movzx edi, cx
test edi, 0xffffff80
je 0x44e8df
xor eax, eax
jmp 0x44e8eb
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.0x44e904.69
movzx eax, byte [ecx + 0x44eec4]
jmp dword [eax*4 + 0x44eea8]
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 0x44e8d0
test dl, dl
jne 0x44e948
mov ecx, dword [esp + 0x18]
mov edx, ebx
call fcn.004a3300
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
jne 0x44eb24
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 0x44e974
cmp eax, 9
jne 0x44ea06
add ebx, 2
jmp 0x44e961
mov dword [esp + 0x1c], 1
jmp case.0x44e904.69
mov cx, word [esi + 2]
call fcn.004133b0
mov dl, byte [esp + 0x12]
mov edi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
cmp ax, 0x41
jne 0x44e91d
add esi, 2
mov byte [esp + 0x13], 0
jmp 0x44e91d
push 3
push 0x4d26d8
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 0x44e919
mov dl, 1
add esi, 4
mov byte [esp + 0x12], dl
jmp 0x44e91d
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 0x44e919
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 0x44e919
test eax, 0xffffff80
je 0x44ea11
xor eax, eax
jmp 0x44ea1d
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.0x44ec2c.3
add ebx, 2
cmp word [ebx], 0
je case.0x44ec2c.3
mov ecx, ebx
call fcn.00404c80
test al, al
je 0x44ea61
push 0x10
push 0
push ebx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
add esp, 0xc
jmp 0x44ea67
push ebx
call edi
add esp, 4
mov edx, 0x4d1604
mov dword [esp + 0x58], eax
mov ecx, ebx
call fcn.004065e0
test eax, eax
je case.0x44ec2c.3
lea esi, [eax + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x44ea8f
cmp eax, 9
jne 0x44ea94
add esi, 2
jmp 0x44ea82
test ax, ax
je case.0x44ec2c.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.0x44ec2c.3
cmp word [esi + 2], 0
lea ecx, [esi + 2]
je case.0x44ec2c.3
call fcn.00418450
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 0x455e70
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 0x44ee3b
mov ecx, dword [esp + 0x30]
cmp ecx, 0x80000000
je 0x44eb47
mov eax, dword [esp + 0x34]
cmp eax, 0x80000000
jne 0x44eb96
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je case.0x44ec2c.3
mov ecx, dword [esp + 0x30]
cmp ecx, 0x80000000
jne 0x44eb7a
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 0x44eb96
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 0x44ebbc
cmp al, 0x9e
je 0x44ebbc
xor bh, bh
jmp 0x44ebbe
mov bh, 1
cmp al, 0x9c
je 0x44ebca
cmp al, 0x9d
je 0x44ebca
xor bl, bl
jmp 0x44ebcc
mov bl, 1
test bh, bh
je 0x44ebf7
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 0x44ec98
test bl, bl
je 0x44ec1f
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 0x44ec98
movzx eax, al
dec eax
cmp eax, 5
ja case.0x44ec2c.3
jmp dword [eax*4 + 0x44eedc]
mov edi, 0x201
mov dword [esp + 0x14], 0x202
mov esi, 1
jmp 0x44ec98
mov edi, 0x204
mov dword [esp + 0x14], 0x205
mov esi, 2
jmp 0x44ec98
mov edi, 0x207
mov dword [esp + 0x14], 0x208
mov esi, 0x10
jmp 0x44ec98
mov dword [esp + 0x24], 0x10000
mov esi, 0x10020
jmp 0x44ec8b
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 0x44ecf6
push 0
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x44ece6
cmp eax, dword [0x4e82ec]
je 0x44ece6
mov ecx, dword [esp + 0x18]
call fcn.004a37e0
test al, al
jne 0x44ece6
push 1
push dword [esp + 0x30]
push dword [0x4e82ec]
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 0x44ecfe
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
test bh, bh
jne 0x44edd9
test bl, bl
jne 0x44edd9
cmp dword [ebp + 0xc], 0
jle 0x44ee22
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x1c], 1
je 0x44ed72
push edx
push esi
push edi
push dword [esp + 0x2c]
call eax
mov eax, dword [0x4e40f4]
cmp dword [eax + 0x58], 0xffffffff
jle 0x44ed6d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4e82ec], eax
je 0x44ed5a
mov eax, dword [0x4e40f4]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44ed6d
mov ecx, dword [0x4e40f4]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.004019f0
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [esp + 0x1c], 0
je 0x44edc4
push dword [esp + 0x28]
push dword [esp + 0x28]
push ebx
push dword [esp + 0x2c]
call eax
mov eax, dword [0x4e40f4]
cmp dword [eax + 0x58], 0xffffffff
jle 0x44edc4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4e82ec], eax
je 0x44edb1
mov eax, dword [0x4e40f4]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44edc4
mov ecx, dword [0x4e40f4]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.004019f0
sub dword [ebp + 0xc], 1
mov edx, dword [esp + 0x28]
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
jne 0x44ed21
jmp 0x44ee22
push edx
push esi
push edi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x4e40f4]
cmp dword [eax + 0x58], 0xffffffff
jle 0x44ee22
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4e82ec], eax
je 0x44ee0f
mov eax, dword [0x4e40f4]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44ee22
mov ecx, dword [0x4e40f4]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.004019f0
cmp byte [esp + 0x12], 0
je 0x44ee3b
push 0
push dword [esp + 0x30]
push dword [0x4e82ec]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [0x4e69cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4bacf8
call fcn.004a1950
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ebx, dword [esp + 0x14]
mov eax, dword [0x4e40f4]
test byte [eax + 0x100], 1
jne 0x44ee8b
mov ecx, dword [0x4e69cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4d112c
call fcn.004a1950
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0x4bac30
push 0
push 0x4d112c
mov ecx, ebx
call fcn.00448320
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20