Function at 0x423670
Capabilities:
Create process on windows
Create process suspended
Create thread
Get common file path
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d513f
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x6c8
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x54], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x6c4], ecx
mov eax, dword [ebp - 0x6c4]
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x423784
push 0x5fdf18
lea ecx, [ebp - 0x674]
call fcn.004b3550
mov dword [ebp - 4], 0
lea edx, [ebp - 0x674]
push edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x6c4]
call fcn.0041b330
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x674]
call fcn.004b3860
push str.Captions_x64
lea ecx, [ebp - 0x680]
call fcn.004b3550
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x680]
push ecx
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x6c4]
call fcn.0041b330
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x680]
call fcn.004b3860
push 0x31
lea ecx, [ebp - 0x38]
call fcn.004553f0
push eax
lea ecx, [ebp - 0x44]
call fcn.004553f0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x423768
push 0xa
push 0
push 0
push str.http:__www.surfright.nl_downloads_x64
push 0x5fdfa0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x44]
call fcn.004b3860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004b3860
jmp 0x4242c9
mov eax, dword [ebp - 0x6c4]
cmp dword [eax + 0x78], 0
je 0x42379d
mov ecx, dword [ebp - 0x6c4]
mov dword [ecx + 8], 2
push str.Hitman_Pro_3.5_Application
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x423886
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00423540
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x4237f7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00423540
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x423884
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x4c], eax
push 0
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x50]
je 0x423856
push 1
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x423860
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
neg eax
sbb eax, eax
and eax, 4
add eax, 5
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4242c9
jmp 0x42388e
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateICW]
mov dword [ebp - 0x1c], eax
push 8
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x18], eax
push 0xa
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x24], eax
push 0xc
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x14], eax
push 0x74
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x18], 0x320
jl 0x4238fe
cmp dword [ebp - 0x24], 0x258
jge 0x423990
mov dword [ebp - 0x13c], 0
jmp 0x423919
mov ecx, dword [ebp - 0x13c]
add ecx, 1
mov dword [ebp - 0x13c], ecx
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x13c]
push eax
push str..Display1
call dword [sym.imp.USER32.dll_EnumDisplaySettingsW]
test eax, eax
je 0x423990
cmp dword [ebp - 0x2c], 0
je 0x423944
mov ecx, dword [ebp - 0x80]
cmp ecx, dword [ebp - 0x2c]
jne 0x42398b
mov edx, dword [ebp - 0x90]
cmp edx, dword [ebp - 0x14]
jne 0x42398b
cmp dword [ebp - 0x8c], 0x320
jne 0x42398b
cmp dword [ebp - 0x88], 0x258
jne 0x42398b
push 2
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsW]
test eax, eax
jne 0x42398b
push 0
lea ecx, [ebp - 0x138]
push ecx
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsW]
jmp 0x423990
jmp 0x42390a
push str.SecurityCenter
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov edx, dword [ebp - 0x6c4]
mov dword [edx + 0x758], eax
push 0xf0
call fcn.0054d57b
add esp, 4
mov dword [ebp - 0x688], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x688], 0
je 0x4239e4
mov eax, dword [ebp - 0x6c4]
push eax
mov ecx, dword [ebp - 0x688]
call fcn.004555e0
mov dword [ebp - 0x6c8], eax
jmp 0x4239ee
mov dword [ebp - 0x6c8], 0
mov ecx, dword [ebp - 0x6c8]
mov dword [ebp - 0x684], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x6c4]
mov eax, dword [ebp - 0x684]
mov dword [edx + 0x1e4], eax
mov ecx, dword [ebp - 0x6c4]
movzx edx, byte [ecx + 0x10]
test edx, edx
je 0x423a63
push 0
mov eax, dword [ebp - 0x6c4]
mov ecx, dword [eax + 0x1e4]
mov edx, dword [ebp - 0x6c4]
mov eax, dword [edx + 0x1e4]
mov edx, dword [eax]
mov eax, dword [edx + 0x68]
call eax
mov ecx, dword [ebp - 0x6c4]
mov ecx, dword [ecx + 0x1e4]
mov edx, dword [ebp - 0x6c4]
mov eax, dword [edx + 0x1e4]
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
jmp 0x423a82
mov ecx, dword [ebp - 0x6c4]
mov ecx, dword [ecx + 0x1e4]
mov edx, dword [ebp - 0x6c4]
mov eax, dword [edx + 0x1e4]
mov edx, dword [eax]
mov eax, dword [edx + 0x58]
call eax
mov ecx, dword [ebp - 0x6c4]
movzx edx, byte [ecx + 0x12]
test edx, edx
je 0x423a9d
mov ecx, dword [ebp - 0x6c4]
call fcn.00421c40
jmp 0x423ab8
mov eax, dword [ebp - 0x6c4]
movzx ecx, byte [eax + 0x14]
test ecx, ecx
je 0x423ab8
push 0
mov ecx, dword [ebp - 0x6c4]
call fcn.00419d20
lea edx, [ebp - 0x28]
push edx
push 0
mov eax, dword [ebp - 0x6c4]
push eax
push 0x41a6b0
push 0x20000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x6c4]
mov dword [ecx + 0x1b8], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x6c4]
mov ecx, dword [eax + 0x1e4]
mov edx, dword [ebp - 0x6c4]
mov eax, dword [edx + 0x1e4]
mov edx, dword [eax]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x144], eax
push 0x78
push 2
push 0xf9f9f9
mov ecx, dword [ebp - 0x144]
push ecx
call dword [sym.imp.USER32.dll_RegisterHotKey]
mov byte [ebp - 0x145], 0
movzx edx, byte [ebp - 0x145]
test edx, edx
jne 0x423f2d
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x423ed7
cmp dword [ebp - 0x160], 0x12
jne 0x423b73
mov byte [ebp - 0x145], 1
jmp 0x423ed7
mov byte [ebp - 0x165], 0
cmp dword [ebp - 0x164], 0
je 0x423bde
mov ecx, dword [ebp - 0x164]
push ecx
call fcn.004b8bc0
add esp, 4
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
je 0x423bde
sub esp, 0x1c
mov ecx, 7
lea esi, [ebp - 0x164]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x180]
call fcn.00412df0
lea edx, [ebp - 0x180]
push edx
mov eax, dword [ebp - 0x16c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x16c]
mov eax, dword [edx + 0x78]
call eax
mov byte [ebp - 0x165], al
movzx ecx, byte [ebp - 0x165]
test ecx, ecx
je 0x423bee
jmp 0x423ed2
mov edx, dword [ebp - 0x6c4]
mov eax, dword [ebp - 0x160]
cmp eax, dword [edx + 0x758]
jne 0x423c4a
lea ecx, [ebp - 0x184]
call fcn.00402af0
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x184]
push ecx
mov edx, dword [ebp - 0x6c4]
push edx
mov ecx, dword [ebp - 0x6c4]
add ecx, 0x740
call fcn.004320f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x184]
call fcn.00402b10
jmp 0x423ed2
cmp dword [ebp - 0x160], 0x312
jne 0x423e9e
cmp dword [ebp - 0x15c], 0xf9f9f9
jne 0x423e9c
lea eax, [ebp - 0x1a0]
push eax
call fcn.00411800
add esp, 4
mov dword [ebp - 4], 6
push 0x104
lea ecx, [ebp - 0x3a8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor edx, edx
mov word [ebp - 0x3a2], dx
push str.hitmanpro
lea eax, [ebp - 0x3a8]
push eax
lea ecx, [ebp - 0x3c0]
push ecx
call fcn.004b3e90
add esp, 0xc
mov byte [ebp - 4], 7
push str.yyyyMMddHHmm
lea ecx, [ebp - 0x694]
call fcn.004b3550
mov byte [ebp - 4], 8
push 0x400
lea edx, [ebp - 0x694]
push edx
lea eax, [ebp - 0x6a0]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00411850
mov dword [ebp - 0x6cc], eax
mov ecx, dword [ebp - 0x6cc]
mov dword [ebp - 0x6d0], ecx
mov byte [ebp - 4], 9
push str..mdmp
mov edx, dword [ebp - 0x6d0]
push edx
lea eax, [ebp - 0x3c0]
push eax
lea ecx, [ebp - 0x3b4]
push ecx
call fcn.004b4200
add esp, 0x10
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x6a0]
call fcn.004b3860
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x694]
call fcn.004b3860
lea ecx, [ebp - 0x3b4]
call fcn.004553f0
push eax
call fcn.0043d8d0
add esp, 4
movzx edx, al
test edx, edx
jne 0x423de9
lea ecx, [ebp - 0x3b4]
call fcn.004553f0
push eax
push str.An_error_occured_while_writing_minidump_to:_n_n_s
lea eax, [ebp - 0x3cc]
push eax
call fcn.004b4d50
add esp, 0xc
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x6ac]
push ecx
mov edx, dword [ebp - 0x6c4]
mov ecx, dword [edx + 0x1e4]
call fcn.004b89e0
mov dword [ebp - 0x6d4], eax
push 0x10
mov ecx, dword [ebp - 0x6d4]
call fcn.004553f0
push eax
lea ecx, [ebp - 0x3cc]
call fcn.004553f0
push eax
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x6ac]
call fcn.004b3860
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3cc]
call fcn.004b3860
jmp 0x423e6c
lea ecx, [ebp - 0x3b4]
call fcn.004553f0
push eax
push str.Minidump_successfully_written_to:_n_n_s
lea ecx, [ebp - 0x3d8]
push ecx
call fcn.004b4d50
add esp, 0xc
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x6b8]
push edx
mov eax, dword [ebp - 0x6c4]
mov ecx, dword [eax + 0x1e4]
call fcn.004b89e0
mov dword [ebp - 0x6d8], eax
push 0x30
mov ecx, dword [ebp - 0x6d8]
call fcn.004553f0
push eax
lea ecx, [ebp - 0x3d8]
call fcn.004553f0
push eax
mov ecx, dword [ebp - 0x144]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x6b8]
call fcn.004b3860
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3d8]
call fcn.004b3860
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3b4]
call fcn.004b3860
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c0]
call fcn.004b3860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a0]
call fcn.00407c30
jmp 0x423ed2
lea edx, [ebp - 0x164]
push edx
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x423eb8
jmp 0x423ed2
lea ecx, [ebp - 0x164]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x164]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x423b3c
movzx eax, byte [ebp - 0x145]
test eax, eax
jne 0x423f28
push 6
push 0x4ff
push 0xffffffffffffffff
lea ecx, [ebp - 0x140]
push ecx
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
mov dword [ebp - 0x3dc], eax
cmp dword [ebp - 0x3dc], 0
jne 0x423f28
mov edx, dword [ebp - 0x6c4]
mov ecx, dword [edx + 0x1e4]
mov eax, dword [ebp - 0x6c4]
mov edx, dword [eax + 0x1e4]
mov eax, dword [edx]
mov edx, dword [eax + 0x58]
call edx
jmp 0x423b2d
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x6c4]
add ecx, 0x24
call fcn.00404b70
test eax, eax
jle 0x423fa3
mov dword [ebp - 4], 0xf
mov ecx, dword [ebp - 0x6c4]
add ecx, 0x24
push ecx
mov ecx, dword [ebp - 0x6c4]
call fcn.0042a120
jmp 0x423f9c
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x3e4], 0
mov eax, dword [ebp - 0x6c4]
cmp dword [eax + 0x1a0], 0
je 0x423fe4
mov ecx, dword [ebp - 0x3e4]
mov edx, dword [ebp - 0x6c4]
mov eax, dword [edx + 0x1a0]
mov dword [ebp + ecx*4 - 0x3f4], eax
mov ecx, dword [ebp - 0x3e4]
add ecx, 1
mov dword [ebp - 0x3e4], ecx
mov edx, dword [ebp - 0x6c4]
cmp dword [edx + 0x1a4], 0
je 0x42401b
mov eax, dword [ebp - 0x3e4]
mov ecx, dword [ebp - 0x6c4]
mov edx, dword [ecx + 0x1a4]
mov dword [ebp + eax*4 - 0x3f4], edx
mov eax, dword [ebp - 0x3e4]
add eax, 1
mov dword [ebp - 0x3e4], eax
mov ecx, dword [ebp - 0x6c4]
cmp dword [ecx + 0x1b4], 0
je 0x424052
mov edx, dword [ebp - 0x3e4]
mov eax, dword [ebp - 0x6c4]
mov ecx, dword [eax + 0x1b4]
mov dword [ebp + edx*4 - 0x3f4], ecx
mov edx, dword [ebp - 0x3e4]
add edx, 1
mov dword [ebp - 0x3e4], edx
mov eax, dword [ebp - 0x6c4]
cmp dword [eax + 0x1b8], 0
je 0x424089
mov ecx, dword [ebp - 0x3e4]
mov edx, dword [ebp - 0x6c4]
mov eax, dword [edx + 0x1b8]
mov dword [ebp + ecx*4 - 0x3f4], eax
mov ecx, dword [ebp - 0x3e4]
add ecx, 1
mov dword [ebp - 0x3e4], ecx
cmp dword [ebp - 0x3e4], 0
jle 0x4240be
mov ecx, dword [ebp - 0x6c4]
add ecx, 0x1cc
call fcn.004010f0
push 0x2710
mov edx, dword [ebp - 0x3e4]
push edx
lea eax, [ebp - 0x3f4]
push eax
call fcn.00412060
add esp, 0xc
mov ecx, dword [ebp - 0x6c4]
mov ecx, dword [ecx + 0x1e4]
call fcn.00412e30
movzx edx, al
test edx, edx
je 0x4242c9
push 0x104
lea eax, [ebp - 0x668]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x668]
push ecx
push 0x5fe16c
lea edx, [ebp - 0x418]
push edx
call fcn.004b4d50
add esp, 0xc
mov dword [ebp - 4], 0x11
push str.__noinstall
lea ecx, [ebp - 0x418]
call fcn.004b3b40
mov ecx, dword [ebp - 0x6c4]
call fcn.00412e70
movzx eax, al
test eax, eax
je 0x424142
push str.__console
lea ecx, [ebp - 0x418]
call fcn.004b3b40
mov ecx, dword [ebp - 0x6c4]
call fcn.004c04b0
movzx ecx, al
test ecx, ecx
jne 0x424164
push str.__noupdate
lea ecx, [ebp - 0x418]
call fcn.004b3b40
mov ecx, dword [ebp - 0x6c4]
call fcn.00412e90
movzx edx, al
test edx, edx
je 0x424186
push str.__scanonly
lea ecx, [ebp - 0x418]
call fcn.004b3b40
mov dword [ebp - 0x460], 0
push 0x40
push 0
lea eax, [ebp - 0x45c]
push eax
call fcn.00555bf0
add esp, 0xc
mov dword [ebp - 0x40c], 0
xor ecx, ecx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 0x404], ecx
mov dword [ebp - 0x400], ecx
mov dword [ebp - 0x460], 0x44
lea ecx, [ebp - 0x418]
call fcn.00404b70
add eax, 1
mov dword [ebp - 0x3fc], eax
xor ecx, ecx
mov eax, dword [ebp - 0x3fc]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0054d3af
add esp, 4
mov dword [ebp - 0x6bc], eax
mov eax, dword [ebp - 0x6bc]
mov dword [ebp - 0x3f8], eax
lea ecx, [ebp - 0x418]
call fcn.00404b70
push eax
lea ecx, [ebp - 0x418]
call fcn.004553f0
push eax
mov ecx, dword [ebp - 0x3fc]
push ecx
mov edx, dword [ebp - 0x3f8]
push edx
call fcn.00439640
add esp, 0x10
lea ecx, [ebp - 0x418]
call fcn.00404b70
xor ecx, ecx
mov edx, dword [ebp - 0x3f8]
mov word [edx + eax*2], cx
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebp - 0x460]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
mov edx, dword [ebp - 0x3f8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42429c
mov eax, dword [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x3f8]
mov dword [ebp - 0x6c0], edx
mov eax, dword [ebp - 0x6c0]
push eax
call fcn.0054d555
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x418]
call fcn.004b3860
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x54]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret