Function at 0x402010
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403c88
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4060e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x2c
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.00402e16
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 8], 0
mov dword [ebp - 4], 0
jne 0x4020a0
mov esi, section..data
mov edi, 8
nop dword [eax + eax]
cmp byte [esi], 0
jne 0x402095
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004017f0
add esp, 8
add esi, 0x1c
sub edi, 1
jne 0x402080
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x4020c6
push str.process_NOT_found._n
call fcn.00402af0
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 8
xor edi, edi
jmp 0x4023ce
cmp ecx, 1
jne 0x40215a
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
mov edi, dword [eax + 0x10]
add eax, 0x14
push eax
call fcn.00401440
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
push eax
push str._s_process_found__PID:__u_n
call fcn.00402af0
push str.Whiff.dll
push edi
call fcn.00401d50
add esp, 0x14
test al, al
je 0x402123
push str.Process_is_already_injected._n_n
call fcn.00402af0
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 8
xor edi, edi
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4023ce
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402153
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402153
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
jmp 0x4023c6
push str.Multiple_processes_found._n
call fcn.00402af0
push str.Please_select_one_which_will_be_injected._n_n
call fcn.00402af0
push 0x2c
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.00402e16
add esp, 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
mov ebx, 1
mov byte [ebp - 4], 1
mov esi, dword [eax]
cmp esi, eax
je 0x4022d8
nop dword [eax]
mov eax, dword [esi + 0x10]
push eax
push ebx
push str.__u__PID:__u_n
mov dword [ebp - 0x2c], eax
call fcn.00402af0
push str.Whiff.dll
push dword [ebp - 0x2c]
inc ebx
call fcn.00401d50
add esp, 0x14
test al, al
je 0x402293
push str.Already_injected__n_n
call fcn.00402af0
add esp, 4
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00401320
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + 0xd], 0
jne 0x402209
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ecx + 0x10]
jae 0x402276
cmp dword [ebp - 0x30], 0x5d1745d
je 0x40240a
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x48], eax
push 0x2c
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], 0
call fcn.00402e16
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov byte [ebp - 4], 1
mov dword [ebp - 0x44], 0
mov dword [eax + 0x10], ecx
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x18]
mov dword [eax + 0x24], 0
push dword [ebp - 0x1c]
mov dword [eax + 0x28], 0xf
mov byte [eax + 0x14], 0
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov word [eax + 0xc], 0
call fcn.00402500
mov ecx, eax
add ecx, 0x14
lea eax, [esi + 0x14]
cmp ecx, eax
je 0x402293
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x40228a
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.004027b0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4022b9
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4022b5
cmp esi, dword [eax + 8]
jne 0x4022b5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4022a5
mov esi, eax
jmp 0x4022cf
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4022cf
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4022c3
cmp esi, dword [ebp - 0x3c]
jne 0x4021b0
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x30]
jne 0x4022ff
push str.All_the_processes_are_already_injected._n_n
call fcn.00402af0
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 8
xor edi, edi
jmp 0x4023b0
lea esi, [ebx - 1]
push str.Please_select_a_process__use__index_:
mov dword [ebp - 0x40], 0
call fcn.00402af0
lea eax, [ebp - 0x40]
push eax
push 0x404898
call fcn.00402b20
mov ecx, dword [ebp - 0x40]
add esp, 0xc
cmp ecx, esi
jbe 0x40233b
push esi
push str.Your_index_is_too_big__max_index_is__u._n
call fcn.00402af0
add esp, 8
jmp 0x402302
test ecx, ecx
jne 0x40234f
push esi
push str.Your_index_is_invalid__1__u_should_be_used._n
call fcn.00402af0
add esp, 8
jmp 0x402302
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
lea eax, [ecx - 1]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00401370
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x34]
add esp, 8
mov edi, dword [eax + 0x10]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x2c], edi
push eax
call fcn.004028a0
mov eax, dword [eax]
cmp eax, dword [ebp - 0x34]
je 0x4023a3
push str.This_process_is_already_injected.
call fcn.00402af0
push str.Please_choose_a_different_one._n
call fcn.00402af0
add esp, 8
jmp 0x402302
push 0x40493c
call fcn.00402af0
add esp, 4
mov eax, dword [ebp - 0x34]
push dword [eax + 4]
lea eax, [ebp - 0x34]
push eax
mov ecx, eax
call fcn.00401290
push 0x2c
push dword [ebp - 0x34]
call fcn.00402e46
add esp, 8
mov eax, dword [ebp - 0x3c]
push dword [eax + 4]
lea eax, [ebp - 0x3c]
push eax
mov ecx, eax
call fcn.00401290
push 0x2c
push dword [ebp - 0x3c]
call fcn.00402e46
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004030b3
mov esp, ebp
pop ebp
ret
call fcn.00402730
int3