Function at 0x302675e3
Capabilities:
Create thread
Log keystrokes via application hook

Disassembly:
mov eax, 0x302777b6
call fcn.302773fc
sub esp, 0x44
push esi
push edi
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x64], ecx
push 0xc
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x3026761c
mov eax, dword [ebp - 0x28]
call fcn.3026fb53
mov dword [ebp - 0x48], eax
jmp 0x30267620
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
je 0x30267667
mov eax, dword [ebp + 8]
movzx eax, word [eax]
test eax, eax
je 0x30267667
push 0
push 0x8000000
push 2
push 1
push 0xc0000000
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
call dword [eax + 4]
test eax, eax
jne 0x30267665
xor eax, eax
jmp 0x302677d4
jmp 0x302676c8
push 0x20
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0
je 0x30267689
mov eax, dword [ebp - 0x30]
call fcn.30265d93
mov dword [ebp - 0x4c], eax
jmp 0x3026768d
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
call fcn.3026fbb1
push 0
push 0x10000000
push 2
push 3
push 0xc0000000
push 0x3027ad9c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
call dword [eax + 4]
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x302676e9
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x38]
call fcn.30265d3c
mov dword [ebp - 0x50], eax
jmp 0x302676ed
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 4], ecx
cmp dword [0x30280578], 0
je 0x30267783
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x44]
mov dword [0x30280584], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push 0
push 0x3026751f
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x3028057c], eax
cmp dword [0x3028057c], 0
jne 0x30267749
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
cmp dword [0x3028057c], 0
je 0x30267769
push dword [ebp - 0x1c]
push 0
push sym.wd180test.dll_long_int___stdcall_MouseHook_int__unsigned_int__long_int_
push 7
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x30280580], eax
xor eax, eax
cmp dword [0x30280580], 0
setne al
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x30267783
mov eax, dword [ebp - 0x18]
jmp 0x302677d4
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x28], 0
je 0x302677d2
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x30], 0
jne 0x302677d2
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0x44]
add eax, 0x34
push eax
push 0
push dword [ebp - 0x44]
push 0x302674f1
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x30], eax
xor eax, eax
inc eax
jmp 0x302677d4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
leave
ret 8