Function at 0x454200
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.004642e0
mov dword [esp + 0x14], eax
test eax, eax
je 0x45446f
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], connect
mov dword [esp + 0x2c], connect
test bl, bl
je 0x454368
movzx eax, bl
test eax, 0xffffff80
je 0x454270
xor eax, eax
jmp 0x45427c
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.0x4542a2.69
movzx eax, byte [eax + 0x4548f0]
jmp dword [eax*4 + 0x4548d4]
mov dword [esp + 0x18], 0
jmp case.0x4542a2.69
mov dword [esp + 0x18], 1
jmp case.0x4542a2.69
mov ch, byte [esi + 1]
lea ebx, [esi + 1]
movzx eax, ch
mov byte [esp + 0xf], ch
test eax, 0xffffff80
je 0x4542db
xor eax, eax
jmp 0x4542eb
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.0x4542a2.69
push 3
push 0x4ca218
push esi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbicmp]
add esp, 0xc
test eax, eax
jne case.0x4542a2.69
mov cl, 1
add esi, 2
mov byte [esp + 0xc], cl
jmp 0x454358
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 0x454351
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 0x454262
test cl, cl
jne 0x45437d
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.004b21c0
mov ebx, eax
test ebx, ebx
jne 0x454582
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 0x45439f
cmp bl, 9
jne 0x4543a2
inc edi
jmp 0x454393
movzx eax, bl
test eax, 0xffffff80
je 0x4543b0
xor eax, eax
jmp 0x4543bc
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.0x454697.3
mov al, byte [edi + 1]
lea esi, [edi + 1]
test al, al
je case.0x454697.3
mov ecx, esi
cmp al, 0x20
je 0x4543ed
cmp al, 9
jne 0x4543f3
mov al, byte [ecx + 1]
inc ecx
jmp 0x4543e5
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 0x45443b
cmp al, 0x2d
je 0x45440b
cmp al, 0x2b
jne 0x454412
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x45443b
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x454421
cmp al, 0x58
jne 0x45443b
movsx eax, byte [ecx + 2]
push eax
call ebx
add esp, 4
test eax, eax
je 0x45443b
push 0x10
push 0
push esi
call edi
add esp, 0xc
jmp 0x454445
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.0x454697.3
nop
mov ecx, 0x4c98e4
mov al, 0x20
cmp dl, al
je 0x4544a0
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x454457
mov dl, byte [esi + 1]
inc esi
test dl, dl
jne 0x454450
mov ebx, dword [esp + 0x10]
mov eax, dword [0x4d70f4]
test byte [eax + 0xe0], 1
jne 0x4548b7
mov ecx, dword [0x4d995c]
push 1
push 0
push 0xffffffffffffffff
push 0x4c40b0
call fcn.004b04f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x4544a0
cmp al, 9
je 0x4544a0
test al, al
je case.0x454697.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.0x454697.3
mov al, byte [esi + 1]
inc esi
test al, al
je case.0x454697.3
mov ecx, esi
nop dword [eax]
cmp al, 0x20
je 0x4544d8
cmp al, 9
jne 0x4544de
mov al, byte [ecx + 1]
inc ecx
jmp 0x4544d0
test al, al
je 0x45451a
cmp al, 0x2d
je 0x4544ea
cmp al, 0x2b
jne 0x4544f1
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x45451a
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x454500
cmp al, 0x58
jne 0x45451a
movsx eax, byte [ecx + 2]
push eax
call ebx
add esp, 4
test eax, eax
je 0x45451a
push 0x10
push 0
push esi
call edi
add esp, 0xc
jmp 0x454524
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 0x45cc00
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 0x454588
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp + 0xc]
cmp edi, 1
jl 0x454898
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
je 0x4545ab
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
jne 0x4545f6
lea eax, [esp + 0x30]
push eax
push ebx
call esi
test eax, eax
je case.0x454697.3
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
jne 0x4545da
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 0x4545f6
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 0x45461c
cmp al, 0x9e
je 0x45461c
xor ah, ah
jmp 0x45461e
mov ah, 1
mov byte [esp + 0xc], ah
cmp al, 0x9c
je 0x45462e
cmp al, 0x9d
je 0x45462e
xor cl, cl
jmp 0x454630
mov cl, 1
mov byte [esp + 0xe], cl
test ah, ah
je 0x45465f
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 0x454703
test cl, cl
je 0x45468a
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 0x454703
movzx eax, al
dec eax
cmp eax, 5
ja case.0x454697.3
jmp dword [eax*4 + 0x454908]
mov edi, 0x201
mov dword [esp + 0x10], 0x202
mov esi, 1
jmp 0x454703
mov edi, 0x204
mov dword [esp + 0x10], 0x205
mov esi, 2
jmp 0x454703
mov edi, 0x207
mov dword [esp + 0x10], 0x208
mov esi, 0x10
jmp 0x454703
mov dword [esp + 0x1c], 0x10000
mov esi, 0x10020
jmp 0x4546f6
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 0x454761
push 0
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x24], eax
test eax, eax
je 0x454751
cmp eax, dword [0x4dba60]
je 0x454751
mov ecx, dword [esp + 0x14]
call fcn.004b2670
test al, al
jne 0x454751
push 1
push dword [esp + 0x28]
push dword [0x4dba60]
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 0x454769
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
cmp byte [esp + 0xc], 0
jne 0x454839
cmp byte [esp + 0xe], 0
jne 0x454839
mov eax, dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [esp + 0x18], 1
je 0x4547d9
push edx
push esi
push edi
push ebx
call eax
mov eax, dword [0x4d70f4]
cmp dword [eax + 0x58], 0xffffffff
jle 0x4547cd
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4dba60], eax
je 0x4547ba
mov eax, dword [0x4d70f4]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4547cd
mov ecx, dword [0x4d70f4]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401870
cmp dword [esp + 0x18], 0
je 0x454824
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 [0x4d70f4]
cmp dword [eax + 0x58], 0xffffffff
jle 0x454824
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4dba60], eax
je 0x454811
mov eax, dword [0x4d70f4]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x454824
mov ecx, dword [0x4d70f4]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401870
sub dword [ebp + 0xc], 1
mov edx, dword [esp + 0x20]
mov eax, dword [sym.imp.USER32.dll_PostMessageA]
jne 0x454784
jmp 0x45487f
push edx
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [0x4d70f4]
cmp dword [eax + 0x58], 0xffffffff
jle 0x45487f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4dba60], eax
je 0x45486c
mov eax, dword [0x4d70f4]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45487f
mov ecx, dword [0x4d70f4]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401870
cmp byte [esp + 0xf], 0
je 0x454898
push 0
push dword [esp + 0x28]
push dword [0x4dba60]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [0x4d995c]
push 1
push 0
push 0xffffffffffffffff
push 0x4c3cb0
call fcn.004b04f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0x4c3c29
push 0
push 0x4c40b0
mov ecx, ebx
call fcn.0044d1f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20