Function at 0x4450c0
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.00454e70
mov dword [esp + 0x14], eax
test eax, eax
je 0x445305
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov edx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
mov dword [esp + 0x18], 2
movzx eax, word [esi]
mov byte [esp + 0xf], 0
mov byte [esp + 0xc], 1
mov dword [esp + 0x28], SysReAllocString
mov dword [esp + 0x2c], SysReAllocString
test ax, ax
je 0x44523b
mov bl, byte [esp + 0xf]
mov ecx, eax
nop
movzx edi, cx
test edi, 0xffffff80
je 0x44513f
xor eax, eax
jmp 0x44514d
push 2
push edi
call edx
mov edx, 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.0x44516a.69
movzx eax, byte [ecx + 0x445740]
jmp dword [eax*4 + 0x445724]
mov dword [esp + 0x18], 0
jmp case.0x44516a.69
mov dword [esp + 0x18], 1
jmp case.0x44516a.69
movzx eax, word [esi + 2]
lea edi, [esi + 2]
mov ecx, eax
mov dword [esp + 0x24], ecx
test eax, 0xffffff80
je 0x4451a3
xor eax, eax
jmp 0x4451af
push 2
push eax
call edx
mov ecx, dword [esp + 0x2c]
add esp, 8
and ecx, 0xffdf
test eax, eax
movzx eax, byte [esp + 0xc]
movzx edx, cx
mov ecx, dword [esp + 0x24]
movzx ecx, cx
cmove edx, ecx
xor ecx, ecx
movzx edx, dx
cmp edx, 0x41
cmovne ecx, eax
cmovne edi, esi
mov byte [esp + 0xc], cl
mov esi, edi
jmp case.0x44516a.69
push 3
push 0x4db608
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne case.0x44516a.69
add esi, 4
mov bl, 1
jmp case.0x44516a.69
lea eax, [esi + 2]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dword [esp + 0x2c], eax
jmp 0x445219
lea eax, [esi + 2]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dword [esp + 0x30], eax
add esp, 4
movzx eax, word [esi + 2]
add esi, 2
mov edx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
mov ecx, eax
test ax, ax
jne 0x445130
test bl, bl
mov ebx, dword [ebp + 0x14]
jne 0x445250
mov ecx, dword [esp + 0x14]
mov edx, ebx
call fcn.004a7c00
mov edi, eax
test edi, edi
jne 0x4453d6
push 0x30
lea eax, [esp + 0x54]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esp + 0x78], 1
movzx eax, word [ebx]
mov esi, eax
cmp eax, 0x20
je 0x445275
cmp eax, 9
jne 0x44527a
add ebx, 2
jmp 0x445266
test eax, 0xffffff80
je 0x445285
xor eax, eax
jmp 0x445291
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.0x4454e8.3
cmp word [ebx + 2], 0
lea edi, [ebx + 2]
je case.0x4454e8.3
mov ecx, edi
call fcn.00411240
mov dword [esp + 0x50], eax
movzx eax, word [edi]
test ax, ax
je case.0x4454e8.3
mov esi, eax
nop dword [eax + eax]
mov ecx, 0x4d5384
mov edx, 0x20
nop word [eax + eax]
cmp si, dx
je 0x445336
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4452e0
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x4452d0
mov ebx, dword [esp + 0x10]
mov eax, dword [0x4e7024]
test byte [eax + 0x100], 1
jne 0x445708
mov ecx, dword [0x4e97f8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d4eac
call fcn.004a5f40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea esi, [edi + 2]
nop dword [eax]
movzx eax, word [esi]
cmp eax, 0x20
je 0x44534d
cmp eax, 9
jne 0x445352
add esi, 2
jmp 0x445340
test ax, ax
je case.0x4454e8.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.0x4454e8.3
cmp word [esi + 2], 0
lea ecx, [esi + 2]
je case.0x4454e8.3
call fcn.00411240
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 0x44d3a0
push ebx
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [esp + 0x68]
mov edi, ebx
mov ecx, dword [esp + 0x54]
test eax, eax
mov dword [esp + 0x2c], ecx
cmovne edi, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
jmp 0x4453dc
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp + 0xc], 1
jl 0x4456e9
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
je 0x4453fd
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
jne 0x445448
lea eax, [esp + 0x30]
push eax
push edi
call esi
test eax, eax
je case.0x4454e8.3
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
jne 0x44542c
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 0x445448
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 0x44546e
cmp al, 0x9e
je 0x44546e
xor bl, bl
jmp 0x445470
mov bl, 1
mov byte [esp + 0xd], bl
cmp al, 0x9c
je 0x445480
cmp al, 0x9d
je 0x445480
xor cl, cl
jmp 0x445482
mov cl, 1
mov byte [esp + 0xe], cl
test bl, bl
je 0x4454b2
cmp al, 0x9f
mov esi, 0xffffff88
mov eax, dword [esp + 0x24]
mov ecx, 0x78
cmove esi, ecx
mov dword [esp + 0x10], eax
imul esi, dword [ebp + 0xc]
mov ebx, 0x20a
shl esi, 0x10
jmp 0x445554
test cl, cl
je 0x4454db
cmp al, 0x9c
mov esi, 0x78
mov eax, dword [esp + 0x24]
mov ecx, 0xffffff88
cmove esi, ecx
mov dword [esp + 0x10], eax
imul esi, dword [ebp + 0xc]
mov ebx, 0x20e
shl esi, 0x10
jmp 0x445554
movzx eax, al
dec eax
cmp eax, 5
ja case.0x4454e8.3
jmp dword [eax*4 + 0x445758]
mov ebx, 0x201
mov dword [esp + 0x10], 0x202
mov esi, 1
jmp 0x445554
mov ebx, 0x204
mov dword [esp + 0x10], 0x205
mov esi, 2
jmp 0x445554
mov ebx, 0x207
mov dword [esp + 0x10], 0x208
mov esi, 0x10
jmp 0x445554
mov dword [esp + 0x1c], 0x10000
mov esi, 0x10020
jmp 0x445547
mov dword [esp + 0x1c], 0x20000
mov esi, 0x20040
mov dword [esp + 0x10], 0x20c
mov ebx, 0x20b
cmp byte [esp + 0xc], 0
mov byte [esp + 0xf], 0
je 0x4455b2
push 0
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4455a2
cmp eax, dword [0x4eb104]
je 0x4455a2
mov ecx, dword [esp + 0x14]
call fcn.004a80a0
test al, al
jne 0x4455a2
push 1
push dword [esp + 0x28]
push dword [0x4eb104]
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 0x4455ba
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
cmp byte [esp + 0xd], 0
jne 0x44568a
cmp byte [esp + 0xe], 0
jne 0x44568a
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [esp + 0x18], 1
je 0x44562a
push edx
push esi
push ebx
push edi
call eax
mov eax, dword [0x4e7024]
cmp dword [eax + 0x58], 0xffffffff
jle 0x44561e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4eb104], eax
je 0x44560b
mov eax, dword [0x4e7024]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44561e
mov ecx, dword [0x4e7024]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.004016d0
cmp dword [esp + 0x18], 0
je 0x445675
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x18]
push edi
call eax
mov eax, dword [0x4e7024]
cmp dword [eax + 0x58], 0xffffffff
jle 0x445675
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4eb104], eax
je 0x445662
mov eax, dword [0x4e7024]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x445675
mov ecx, dword [0x4e7024]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.004016d0
sub dword [ebp + 0xc], 1
mov edx, dword [esp + 0x20]
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
jne 0x4455d5
jmp 0x4456d0
push edx
push esi
push ebx
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x4e7024]
cmp dword [eax + 0x58], 0xffffffff
jle 0x4456d0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4eb104], eax
je 0x4456bd
mov eax, dword [0x4e7024]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4456d0
mov ecx, dword [0x4e7024]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.004016d0
cmp byte [esp + 0xf], 0
je 0x4456e9
push 0
push dword [esp + 0x28]
push dword [0x4eb104]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [0x4e97f8]
push 1
push 0
push 0xffffffffffffffff
push 0x4bfc14
call fcn.004a5f40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0x4bfb90
push 0
push 0x4d4eac
mov ecx, ebx
call fcn.0043e390
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20