Function at 0x445930
Capabilities:
Log keystrokes
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
push dword [ebp + 0x24]
mov ebx, ecx
push dword [ebp + 0x20]
mov dword [esp + 0x18], ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.00455d60
mov dword [esp + 0x14], eax
test eax, eax
je 0x445b9f
mov esi, dword [ebp + 0x10]
xor cl, cl
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x18], 2
mov byte [esp + 0xc], cl
mov bl, byte [esi]
mov byte [esp + 0xd], 1
mov dword [esp + 0x28], CreateStatusWindowA
mov dword [esp + 0x2c], CreateStatusWindowA
test bl, bl
je 0x445a98
movzx eax, bl
test eax, 0xffffff80
je 0x4459a0
xor eax, eax
jmp 0x4459ac
push 2
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
mov cl, bl
and cl, 0xdf
test eax, eax
movzx edx, cl
movzx ecx, bl
cmove edx, ecx
movsx eax, dl
add eax, 0xffffffbc
cmp eax, 0x15
ja case.0x4459d2.69
movzx eax, byte [eax + 0x446020]
jmp dword [eax*4 + 0x446004]
mov dword [esp + 0x18], 0
jmp case.0x4459d2.69
mov dword [esp + 0x18], 1
jmp case.0x4459d2.69
mov ch, byte [esi + 1]
lea ebx, [esi + 1]
movzx eax, ch
mov byte [esp + 0xf], ch
test eax, 0xffffff80
je 0x445a0b
xor eax, eax
jmp 0x445a1b
push 2
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
mov ch, byte [esp + 0x17]
add esp, 8
mov cl, ch
and cl, 0xdf
test eax, eax
movzx eax, byte [esp + 0xd]
movzx edx, cl
movzx ecx, ch
cmove edx, ecx
xor ecx, ecx
cmp dl, 0x41
cmovne ecx, eax
cmovne ebx, esi
mov byte [esp + 0xd], cl
mov esi, ebx
jmp case.0x4459d2.69
push 3
push 0x4bed80
push esi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbicmp]
add esp, 0xc
test eax, eax
jne case.0x4459d2.69
mov cl, 1
add esi, 2
mov byte [esp + 0xc], cl
jmp 0x445a88
lea eax, [esi + 1]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [esp + 0x2c], eax
jmp 0x445a81
lea eax, [esi + 1]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [esp + 0x30], eax
add esp, 4
mov cl, byte [esp + 0xc]
mov bl, byte [esi + 1]
inc esi
test bl, bl
jne 0x445992
test cl, cl
jne 0x445aad
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.004a4a80
mov ebx, eax
test ebx, ebx
jne 0x445cb2
push 0x30
lea eax, [esp + 0x54]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esp + 0x78], 1
mov bl, byte [edi]
cmp bl, 0x20
je 0x445acf
cmp bl, 9
jne 0x445ad2
inc edi
jmp 0x445ac3
movzx eax, bl
test eax, 0xffffff80
je 0x445ae0
xor eax, eax
jmp 0x445aec
push 2
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
mov cl, bl
and cl, 0xdf
test eax, eax
movzx edx, cl
movzx ecx, bl
cmove edx, ecx
cmp dl, 0x58
jne case.0x445dc7.3
mov al, byte [edi + 1]
lea esi, [edi + 1]
test al, al
je case.0x445dc7.3
mov ecx, esi
cmp al, 0x20
je 0x445b1d
cmp al, 9
jne 0x445b23
mov al, byte [ecx + 1]
inc ecx
jmp 0x445b15
mov edi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test al, al
je 0x445b6b
cmp al, 0x2d
je 0x445b3b
cmp al, 0x2b
jne 0x445b42
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x445b6b
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x445b51
cmp al, 0x58
jne 0x445b6b
movsx eax, byte [ecx + 2]
push eax
call ebx
add esp, 4
test eax, eax
je 0x445b6b
push 0x10
push 0
push esi
call edi
add esp, 0xc
jmp 0x445b75
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov dl, byte [esi]
mov dword [esp + 0x50], eax
test dl, dl
je case.0x445dc7.3
nop
mov ecx, 0x4bb7f4
mov al, 0x20
cmp dl, al
je 0x445bd0
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x445b87
mov dl, byte [esi + 1]
inc esi
test dl, dl
jne 0x445b80
mov ebx, dword [esp + 0x10]
mov eax, dword [0x4c8024]
test byte [eax + 0xe0], 1
jne 0x445fe7
mov ecx, dword [0x4ca738]
push 1
push 0
push 0xffffffffffffffff
push 0x4bb578
call fcn.004a2db0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x445bd0
cmp al, 9
je 0x445bd0
test al, al
je case.0x445dc7.3
movsx eax, al
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbctoupper]
add esp, 4
cmp eax, 0x59
jne case.0x445dc7.3
mov al, byte [esi + 1]
inc esi
test al, al
je case.0x445dc7.3
mov ecx, esi
nop dword [eax]
cmp al, 0x20
je 0x445c08
cmp al, 9
jne 0x445c0e
mov al, byte [ecx + 1]
inc ecx
jmp 0x445c00
test al, al
je 0x445c4a
cmp al, 0x2d
je 0x445c1a
cmp al, 0x2b
jne 0x445c21
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x445c4a
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x445c30
cmp al, 0x58
jne 0x445c4a
movsx eax, byte [ecx + 2]
push eax
call ebx
add esp, 4
test eax, eax
je 0x445c4a
push 0x10
push 0
push esi
call edi
add esp, 0xc
jmp 0x445c54
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov ebx, dword [esp + 0x14]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x40]
push eax
push ebx
call esi
mov eax, dword [esp + 0x40]
add dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
add dword [esp + 0x54], eax
lea eax, [esp + 0x50]
push eax
push 0x44e480
push ebx
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [esp + 0x68]
test eax, eax
mov ecx, dword [esp + 0x54]
cmovne ebx, eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push ebx
call dword [sym.imp.USER32.dll_ScreenToClient]
jmp 0x445cb8
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp + 0xc]
cmp edi, 1
jl 0x445fc8
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
je 0x445cdb
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
jne 0x445d26
lea eax, [esp + 0x30]
push eax
push ebx
call esi
test eax, eax
je case.0x445dc7.3
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
jne 0x445d0a
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
jne 0x445d26
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x2c], eax
movzx edx, ax
shl edx, 0x10
movzx eax, cx
or edx, eax
mov dword [esp + 0x1c], 0
mov al, byte [ebp + 8]
mov dword [esp + 0x20], edx
cmp al, 0x9f
je 0x445d4c
cmp al, 0x9e
je 0x445d4c
xor ah, ah
jmp 0x445d4e
mov ah, 1
mov byte [esp + 0xc], ah
cmp al, 0x9c
je 0x445d5e
cmp al, 0x9d
je 0x445d5e
xor cl, cl
jmp 0x445d60
mov cl, 1
mov byte [esp + 0xe], cl
test ah, ah
je 0x445d8f
cmp al, 0x9f
mov esi, 0xffffff88
mov eax, dword [esp + 0x24]
mov ecx, 0x78
cmove esi, ecx
mov dword [esp + 0x10], eax
imul esi, edi
mov edi, 0x20a
shl esi, 0x10
jmp 0x445e33
test cl, cl
je 0x445dba
cmp al, 0x9c
mov esi, 0x78
mov eax, dword [esp + 0x24]
mov ecx, 0xffffff88
cmove esi, ecx
mov dword [esp + 0x10], eax
imul esi, edi
mov edi, 0x20e
shl esi, 0x10
jmp 0x445e33
movzx eax, al
dec eax
cmp eax, 5
ja case.0x445dc7.3
jmp dword [eax*4 + 0x446038]
mov edi, 0x201
mov dword [esp + 0x10], 0x202
mov esi, 1
jmp 0x445e33
mov edi, 0x204
mov dword [esp + 0x10], 0x205
mov esi, 2
jmp 0x445e33
mov edi, 0x207
mov dword [esp + 0x10], 0x208
mov esi, 0x10
jmp 0x445e33
mov dword [esp + 0x1c], 0x10000
mov esi, 0x10020
jmp 0x445e26
mov dword [esp + 0x1c], 0x20000
mov esi, 0x20040
mov dword [esp + 0x10], 0x20c
mov edi, 0x20b
cmp byte [esp + 0xd], 0
mov byte [esp + 0xf], 0
je 0x445e91
push 0
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x24], eax
test eax, eax
je 0x445e81
cmp eax, dword [0x4cc810]
je 0x445e81
mov ecx, dword [esp + 0x14]
call fcn.004a4f30
test al, al
jne 0x445e81
push 1
push dword [esp + 0x28]
push dword [0x4cc810]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0xf]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
jmp 0x445e99
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
cmp byte [esp + 0xc], 0
jne 0x445f69
cmp byte [esp + 0xe], 0
jne 0x445f69
mov eax, dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [esp + 0x18], 1
je 0x445f09
push edx
push esi
push edi
push ebx
call eax
mov eax, dword [0x4c8024]
cmp dword [eax + 0x58], 0xffffffff
jle 0x445efd
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4cc810], eax
je 0x445eea
mov eax, dword [0x4c8024]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x445efd
mov ecx, dword [0x4c8024]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401730
cmp dword [esp + 0x18], 0
je 0x445f54
mov eax, dword [sym.imp.USER32.dll_PostMessageA]
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x18]
push ebx
call eax
mov eax, dword [0x4c8024]
cmp dword [eax + 0x58], 0xffffffff
jle 0x445f54
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4cc810], eax
je 0x445f41
mov eax, dword [0x4c8024]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x445f54
mov ecx, dword [0x4c8024]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401730
sub dword [ebp + 0xc], 1
mov edx, dword [esp + 0x20]
mov eax, dword [sym.imp.USER32.dll_PostMessageA]
jne 0x445eb4
jmp 0x445faf
push edx
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [0x4c8024]
cmp dword [eax + 0x58], 0xffffffff
jle 0x445faf
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4cc810], eax
je 0x445f9c
mov eax, dword [0x4c8024]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x445faf
mov ecx, dword [0x4c8024]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401730
cmp byte [esp + 0xf], 0
je 0x445fc8
push 0
push dword [esp + 0x28]
push dword [0x4cc810]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [0x4ca738]
push 1
push 0
push 0xffffffffffffffff
push 0x4b6c08
call fcn.004a2db0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0x4b6ba9
push 0
push 0x4bb578
mov ecx, ebx
call fcn.0043e6c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20