Function at 0x445180
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.00454f90
mov dword [esp + 0x14], eax
test eax, eax
je 0x4453c5
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 0x4452fb
mov bl, byte [esp + 0xf]
mov ecx, eax
nop
movzx edi, cx
test edi, 0xffffff80
je 0x4451ff
xor eax, eax
jmp 0x44520d
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.0x44522a.69
movzx eax, byte [ecx + 0x445800]
jmp dword [eax*4 + 0x4457e4]
mov dword [esp + 0x18], 0
jmp case.0x44522a.69
mov dword [esp + 0x18], 1
jmp case.0x44522a.69
movzx eax, word [esi + 2]
lea edi, [esi + 2]
mov ecx, eax
mov dword [esp + 0x24], ecx
test eax, 0xffffff80
je 0x445263
xor eax, eax
jmp 0x44526f
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.0x44522a.69
push 3
push 0x4db618
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne case.0x44522a.69
add esi, 4
mov bl, 1
jmp case.0x44522a.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 0x4452d9
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 0x4451f0
test bl, bl
mov ebx, dword [ebp + 0x14]
jne 0x445310
mov ecx, dword [esp + 0x14]
mov edx, ebx
call fcn.004a7d40
mov edi, eax
test edi, edi
jne 0x445496
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 0x445335
cmp eax, 9
jne 0x44533a
add ebx, 2
jmp 0x445326
test eax, 0xffffff80
je 0x445345
xor eax, eax
jmp 0x445351
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.0x4455a8.3
cmp word [ebx + 2], 0
lea edi, [ebx + 2]
je case.0x4455a8.3
mov ecx, edi
call fcn.004112f0
mov dword [esp + 0x50], eax
movzx eax, word [edi]
test ax, ax
je case.0x4455a8.3
mov esi, eax
nop dword [eax + eax]
mov ecx, 0x4d5394
mov edx, 0x20
nop word [eax + eax]
cmp si, dx
je 0x4453f6
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4453a0
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x445390
mov ebx, dword [esp + 0x10]
mov eax, dword [0x4e7024]
test byte [eax + 0x100], 1
jne 0x4457c8
mov ecx, dword [0x4e97d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d4ebc
call fcn.004a6070
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 0x44540d
cmp eax, 9
jne 0x445412
add esi, 2
jmp 0x445400
test ax, ax
je case.0x4455a8.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.0x4455a8.3
cmp word [esi + 2], 0
lea ecx, [esi + 2]
je case.0x4455a8.3
call fcn.004112f0
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 0x44d4a0
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 0x44549c
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp + 0xc], 1
jl 0x4457a9
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
je 0x4454bd
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
jne 0x445508
lea eax, [esp + 0x30]
push eax
push edi
call esi
test eax, eax
je case.0x4455a8.3
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
jne 0x4454ec
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 0x445508
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 0x44552e
cmp al, 0x9e
je 0x44552e
xor bl, bl
jmp 0x445530
mov bl, 1
mov byte [esp + 0xd], bl
cmp al, 0x9c
je 0x445540
cmp al, 0x9d
je 0x445540
xor cl, cl
jmp 0x445542
mov cl, 1
mov byte [esp + 0xe], cl
test bl, bl
je 0x445572
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 0x445614
test cl, cl
je 0x44559b
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 0x445614
movzx eax, al
dec eax
cmp eax, 5
ja case.0x4455a8.3
jmp dword [eax*4 + 0x445818]
mov ebx, 0x201
mov dword [esp + 0x10], 0x202
mov esi, 1
jmp 0x445614
mov ebx, 0x204
mov dword [esp + 0x10], 0x205
mov esi, 2
jmp 0x445614
mov ebx, 0x207
mov dword [esp + 0x10], 0x208
mov esi, 0x10
jmp 0x445614
mov dword [esp + 0x1c], 0x10000
mov esi, 0x10020
jmp 0x445607
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 0x445672
push 0
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x24], eax
test eax, eax
je 0x445662
cmp eax, dword [0x4eb0cc]
je 0x445662
mov ecx, dword [esp + 0x14]
call fcn.004a81e0
test al, al
jne 0x445662
push 1
push dword [esp + 0x28]
push dword [0x4eb0cc]
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 0x44567a
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
cmp byte [esp + 0xd], 0
jne 0x44574a
cmp byte [esp + 0xe], 0
jne 0x44574a
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [esp + 0x18], 1
je 0x4456ea
push edx
push esi
push ebx
push edi
call eax
mov eax, dword [0x4e7024]
cmp dword [eax + 0x58], 0xffffffff
jle 0x4456de
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4eb0cc], eax
je 0x4456cb
mov eax, dword [0x4e7024]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4456de
mov ecx, dword [0x4e7024]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401700
cmp dword [esp + 0x18], 0
je 0x445735
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 0x445735
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4eb0cc], eax
je 0x445722
mov eax, dword [0x4e7024]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x445735
mov ecx, dword [0x4e7024]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401700
sub dword [ebp + 0xc], 1
mov edx, dword [esp + 0x20]
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
jne 0x445695
jmp 0x445790
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 0x445790
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4eb0cc], eax
je 0x44577d
mov eax, dword [0x4e7024]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x445790
mov ecx, dword [0x4e7024]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401700
cmp byte [esp + 0xf], 0
je 0x4457a9
push 0
push dword [esp + 0x28]
push dword [0x4eb0cc]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [0x4e97d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4bfc24
call fcn.004a6070
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0x4bfba0
push 0
push 0x4d4ebc
mov ecx, ebx
call fcn.0043e4d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20