Function at 0x4540f0
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.00463c60
mov dword [esp + 0x14], eax
test eax, eax
je 0x454335
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], connect
mov dword [esp + 0x2c], connect
test ax, ax
je 0x45426b
mov bl, byte [esp + 0xf]
mov ecx, eax
nop
movzx edi, cx
test edi, 0xffffff80
je 0x45416f
xor eax, eax
jmp 0x45417d
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.0x45419a.69
movzx eax, byte [ecx + 0x454770]
jmp dword [eax*4 + 0x454754]
mov dword [esp + 0x18], 0
jmp case.0x45419a.69
mov dword [esp + 0x18], 1
jmp case.0x45419a.69
movzx eax, word [esi + 2]
lea edi, [esi + 2]
mov ecx, eax
mov dword [esp + 0x24], ecx
test eax, 0xffffff80
je 0x4541d3
xor eax, eax
jmp 0x4541df
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.0x45419a.69
push 3
push 0x4e56e8
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne case.0x45419a.69
add esi, 4
mov bl, 1
jmp case.0x45419a.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 0x454249
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 0x454160
test bl, bl
mov ebx, dword [ebp + 0x14]
jne 0x454280
mov ecx, dword [esp + 0x14]
mov edx, ebx
call fcn.004b5c40
mov edi, eax
test edi, edi
jne 0x454406
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 0x4542a5
cmp eax, 9
jne 0x4542aa
add ebx, 2
jmp 0x454296
test eax, 0xffffff80
je 0x4542b5
xor eax, eax
jmp 0x4542c1
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.0x454518.3
cmp word [ebx + 2], 0
lea edi, [ebx + 2]
je case.0x454518.3
mov ecx, edi
call fcn.00419330
mov dword [esp + 0x50], eax
movzx eax, word [edi]
test ax, ax
je case.0x454518.3
mov esi, eax
nop dword [eax + eax]
mov ecx, 0x4e4614
mov edx, 0x20
nop word [eax + eax]
cmp si, dx
je 0x454366
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x454310
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x454300
mov ebx, dword [esp + 0x10]
mov eax, dword [0x4f70f4]
test byte [eax + 0x100], 1
jne 0x454738
mov ecx, dword [0x4f99cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4e413c
call fcn.004b3f70
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 0x45437d
cmp eax, 9
jne 0x454382
add esi, 2
jmp 0x454370
test ax, ax
je case.0x454518.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.0x454518.3
cmp word [esi + 2], 0
lea ecx, [esi + 2]
je case.0x454518.3
call fcn.00419330
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 0x45c2f0
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 0x45440c
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp + 0xc], 1
jl 0x454719
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
je 0x45442d
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
jne 0x454478
lea eax, [esp + 0x30]
push eax
push edi
call esi
test eax, eax
je case.0x454518.3
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
jne 0x45445c
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 0x454478
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 0x45449e
cmp al, 0x9e
je 0x45449e
xor bl, bl
jmp 0x4544a0
mov bl, 1
mov byte [esp + 0xd], bl
cmp al, 0x9c
je 0x4544b0
cmp al, 0x9d
je 0x4544b0
xor cl, cl
jmp 0x4544b2
mov cl, 1
mov byte [esp + 0xe], cl
test bl, bl
je 0x4544e2
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 0x454584
test cl, cl
je 0x45450b
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 0x454584
movzx eax, al
dec eax
cmp eax, 5
ja case.0x454518.3
jmp dword [eax*4 + 0x454788]
mov ebx, 0x201
mov dword [esp + 0x10], 0x202
mov esi, 1
jmp 0x454584
mov ebx, 0x204
mov dword [esp + 0x10], 0x205
mov esi, 2
jmp 0x454584
mov ebx, 0x207
mov dword [esp + 0x10], 0x208
mov esi, 0x10
jmp 0x454584
mov dword [esp + 0x1c], 0x10000
mov esi, 0x10020
jmp 0x454577
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 0x4545e2
push 0
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4545d2
cmp eax, dword [0x4fb2ec]
je 0x4545d2
mov ecx, dword [esp + 0x14]
call fcn.004b60e0
test al, al
jne 0x4545d2
push 1
push dword [esp + 0x28]
push dword [0x4fb2ec]
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 0x4545ea
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
cmp byte [esp + 0xd], 0
jne 0x4546ba
cmp byte [esp + 0xe], 0
jne 0x4546ba
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [esp + 0x18], 1
je 0x45465a
push edx
push esi
push ebx
push edi
call eax
mov eax, dword [0x4f70f4]
cmp dword [eax + 0x58], 0xffffffff
jle 0x45464e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4fb2ec], eax
je 0x45463b
mov eax, dword [0x4f70f4]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45464e
mov ecx, dword [0x4f70f4]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401830
cmp dword [esp + 0x18], 0
je 0x4546a5
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 [0x4f70f4]
cmp dword [eax + 0x58], 0xffffffff
jle 0x4546a5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4fb2ec], eax
je 0x454692
mov eax, dword [0x4f70f4]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4546a5
mov ecx, dword [0x4f70f4]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401830
sub dword [ebp + 0xc], 1
mov edx, dword [esp + 0x20]
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
jne 0x454605
jmp 0x454700
push edx
push esi
push ebx
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x4f70f4]
cmp dword [eax + 0x58], 0xffffffff
jle 0x454700
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4fb2ec], eax
je 0x4546ed
mov eax, dword [0x4f70f4]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x454700
mov ecx, dword [0x4f70f4]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401830
cmp byte [esp + 0xf], 0
je 0x454719
push 0
push dword [esp + 0x28]
push dword [0x4fb2ec]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [0x4f99cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4cdd08
call fcn.004b3f70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0x4cdc40
push 0
push 0x4e413c
mov ecx, ebx
call fcn.0044d370
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20