Function at 0x40c0b0
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], esp
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x74], 0x40c7a0
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
lea eax, [esi + 0x70]
mov ecx, dword fs:[0]
mov dword [esi + 0x70], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x20]
push ebx
push edi
push eax
call fcn.00441920
add esp, 0xc
mov eax, dword [esi + 0x20]
xor eax, 2
or eax, dword [esi + 0x24]
jne 0x40c171
xor edx, edx
cmp byte [esi + 0x28], 3
mov ecx, 1
jne 0x40c316
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
mov dword [esi + 0x10], eax
mov eax, dword [eax + 4]
mov dword [esi], eax
mov eax, dword [eax]
mov dword [esi + 8], ecx
test eax, eax
je 0x40c13d
mov dword [esi + 0x78], 0
push dword [esi + 8]
call eax
add esp, 4
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [edx + 4]
test eax, eax
je 0x40c156
push dword [edx + 8]
push eax
push ecx
call fcn.0040b8d0
add esp, 0xc
push 4
push 0xc
push dword [esi + 0x10]
call fcn.0040b8d0
add esp, 0xc
xor edx, edx
mov ecx, 1
jmp 0x40c316
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040cb40
add esp, 8
mov ecx, 1
test eax, eax
jne 0x40c316
mov dword [esi + 8], edx
push edx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [eax + 1]
cmp ecx, 1
ja 0x40c1b6
call fcn.004310b0
mov ecx, eax
mov eax, edx
test ecx, ecx
jne 0x40c329
mov dword [esi + 4], eax
mov dword [esi + 0x78], 1
push ebx
push edi
call fcn.00430590
add esp, 8
test eax, eax
mov dword [esi + 0xc], eax
je 0x40c1d8
mov ecx, dword [eax + 4]
add ecx, ecx
jmp 0x40c1da
xor ecx, ecx
mov eax, dword [esi + 4]
mov dword [esi + 0x78], 2
push 4
push 0x1000
mov dword [esi], ecx
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
lea ecx, [esi + 4]
mov edx, dword [esi + 4]
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x1c], eax
test ecx, ecx
je 0x40c20f
mov ecx, dword [ecx + 0x10]
jmp 0x40c214
mov ecx, 0x45fe5c
mov dword [esi + 0x78], 4
push 0
push dword [esi]
push ecx
mov dword [esi], eax
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x40c23b
call fcn.004310b0
test eax, eax
jne 0x40c397
push dword [esi + 8]
call fcn.0040dca0
add esp, 4
test eax, eax
jne 0x40c33c
push 0
push 0
push dword [esi]
push edx
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
lea ecx, [eax + 1]
cmp ecx, 1
ja 0x40c27b
call fcn.004310b0
mov ecx, eax
mov eax, edx
test ecx, ecx
jne 0x40c368
mov dword [esi + 0x14], eax
mov dword [esi + 0x78], 6
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x14]
mov dword [esi + 0x78], 4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x40c2b0
call fcn.004310b0
test eax, eax
jne 0x40c3c6
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov eax, dword [eax]
mov dword [esi + 0x78], 2
push 0x8000
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x40c2df
call fcn.004310b0
test eax, eax
jne 0x40c3f2
lea eax, [esi + 0xc]
mov dword [esi + 0x78], 1
push eax
call fcn.00430500
add esp, 4
mov eax, dword [esi + 4]
mov dword [esi + 0x78], 0xffffffff
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x40c314
call fcn.004310b0
test eax, eax
jne 0x40c41e
xor ecx, ecx
mov eax, dword [esi + 0x70]
mov dword fs:[0], eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
push ecx
call fcn.0045c170
add esp, 8
mov edx, eax
mov ecx, 1
jmp 0x40c316
mov dword [esi + 0x20], edx
mov dword [esi + 0x78], 8
push 0x45fe70
push 0x45fdd0
lea eax, [esi + 0x20]
push eax
push 0x2b
push 0x45fd93
call fcn.0045de40
add esp, 0x14
jmp 0x40c448
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x78], 7
push 0x45fe80
push 0x45fdc0
lea eax, [esi + 0x20]
push eax
push 0x2b
push 0x45fd93
call fcn.0045de40
add esp, 0x14
jmp 0x40c448
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov dword [esi + 0x78], 9
push 0x45fe60
push 0x45fdc0
lea eax, [esi + 0x20]
push eax
push 0x2b
push 0x45fd93
call fcn.0045de40
add esp, 0x14
jmp 0x40c448
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov dword [esi + 0x78], 5
push 0x45feb4
push 0x45fdc0
lea eax, [esi + 0x20]
push eax
push 0x2b
push 0x45fd93
call fcn.0045de40
add esp, 0x14
jmp 0x40c448
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov dword [esi + 0x78], 3
push 0x45fe4c
push 0x45fdc0
lea eax, [esi + 0x20]
push eax
push 0x2b
push 0x45fd93
call fcn.0045de40
add esp, 0x14
jmp 0x40c448
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov dword [esi + 0x78], 0xa
push 0x45feb4
push 0x45fdc0
lea eax, [esi + 0x20]
push eax
push 0x2b
push 0x45fd93
call fcn.0045de40
add esp, 0x14
ud2