Function at 0x404e10
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4138b2
mov eax, dword fs:[0]
push eax
sub esp, 0x3b0
mov eax, dword [0x41b040]
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 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
mov esi, eax
mov dword [ebp - 0x388], 0x22c
nop word [eax + eax]
mov ecx, 0x415700
lea edx, [ebp - 0x364]
nop dword [eax + eax]
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x404e96
test ax, ax
je 0x404e92
mov ax, word [edx + 2]
cmp ax, word [ecx + 2]
jne 0x404e96
add edx, 4
add ecx, 4
test ax, ax
jne 0x404e70
xor eax, eax
jmp 0x404e9b
sbb eax, eax
or eax, 1
test eax, eax
je 0x404eaf
lea eax, [ebp - 0x388]
push eax
push esi
call edi
test eax, eax
jne 0x404e60
jmp 0x404ec2
mov eax, dword [ebp - 0x380]
push esi
mov dword [ebp - 0x38c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x118], 0
lea ecx, [ebp - 0x15c]
push dword [ebp - 0x118]
call fcn.0040b660
lea ecx, [ebp - 0x144]
mov dword [ebp - 4], 0
call fcn.00404c90
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
lea edx, [ebp - 0x15c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x124]
call fcn.00409a60
add esp, 4
test eax, eax
jne 0x405231
mov ebx, dword [ebp - 0x120]
xorps xmm0, xmm0
movlpd qword [ebp - 0x11c], xmm0
test ebx, ebx
je 0x404f39
lock inc dword [ebx + 4]
mov edi, dword [ebp - 0x124]
mov esi, ebx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x118], esi
test ebx, ebx
je 0x404f55
lock inc dword [ebx + 4]
movlpd qword [ebp - 0x12c], xmm0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
test ebx, ebx
je 0x404f96
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x404f96
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x404f96
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov byte [ebp - 4], 5
test edi, edi
je 0x405132
lea ecx, [edi + 0x20]
push ecx
lea eax, [ebp - 0x3bc]
push eax
call fcn.00409850
mov byte [ebp - 4], 6
lea eax, [ebp - 0x3a4]
cmp dword [ebp - 0x3a8], 0xf
lea esi, [ebp - 0x3bc]
push ecx
cmova esi, dword [ebp - 0x3bc]
lea ecx, [ebp - 0x144]
push eax
call fcn.00409850
cmp dword [ebp - 0x390], 0xf
lea eax, [ebp - 0x3a4]
push esi
cmova eax, dword [ebp - 0x3a4]
push eax
lea eax, [ebp - 0x114]
push str._s_s
push eax
call fcn.00409ce0
mov ecx, dword [ebp - 0x390]
add esp, 0x10
cmp ecx, 0xf
jbe 0x405041
mov edx, dword [ebp - 0x3a4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405037
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405205
push ecx
push edx
call fcn.00412492
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x3a8]
mov dword [ebp - 0x394], 0
mov dword [ebp - 0x390], 0xf
mov byte [ebp - 0x3a4], 0
cmp ecx, 0xf
jbe 0x40509a
mov edx, dword [ebp - 0x3bc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405090
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405205
push ecx
push edx
call fcn.00412492
add esp, 8
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.LoadLibraryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [ebp - 0x38c]
mov edi, eax
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 4
push 0x3000
push 0x104
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0
mov esi, eax
lea eax, [ebp - 0x114]
push 0x104
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push esi
push edi
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x11c]
call fcn.00404a20
mov edi, dword [ebp - 0x11c]
test edi, edi
jne 0x404fa2
mov esi, dword [ebp - 0x118]
mov ebx, dword [ebp - 0x120]
or edi, 0xffffffff
test esi, esi
je 0x405158
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x405158
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x405158
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test ebx, ebx
je 0x40517a
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x40517a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x40517a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [ebp - 0x130]
cmp ecx, 7
jbe 0x4051b6
mov edx, dword [ebp - 0x144]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4051ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405205
push ecx
push edx
call fcn.00412492
add esp, 8
mov ecx, dword [ebp - 0x148]
xor eax, eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 7
mov word [ebp - 0x144], ax
cmp ecx, 7
jbe 0x405215
mov edx, dword [ebp - 0x15c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40520b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40520b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00412492
add esp, 8
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.004120ee
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x15c]
mov edx, eax
push ecx
call fcn.004045e0
int3