Function at 0x408a50
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40c8bd
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
push ebx
push esi
push edi
lea edi, [ebp - 0x100]
mov ecx, 0x3d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x41200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x4132d3
call fcn.00409670
cmp dword [ebp + 8], 1
jne 0x408aad
call fcn.00408960
or eax, 0xffffffff
jmp 0x408f34
lea ecx, [ebp - 0x30]
call fcn.004021b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004021b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.004021b0
mov byte [ebp - 4], 2
mov dword [ebp - 0x84], 1
jmp 0x408aef
mov eax, dword [ebp - 0x84]
add eax, 1
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp + 8]
jge 0x408bf8
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x90], edx
push 0x40e0b8
mov eax, dword [ebp - 0x90]
push eax
call sub.ucrtbased.dll_strcmp
add esp, 8
test eax, eax
jne 0x408b3e
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4 + 4]
push edx
lea ecx, [ebp - 0x30]
call fcn.00408500
push 0x40e0bc
mov eax, dword [ebp - 0x90]
push eax
call sub.ucrtbased.dll_strcmp
add esp, 8
test eax, eax
jne 0x408b6c
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4 + 4]
push edx
lea ecx, [ebp - 0x54]
call fcn.00408500
push 0x40e0c0
mov eax, dword [ebp - 0x90]
push eax
call sub.ucrtbased.dll_strcmp
add esp, 8
test eax, eax
jne 0x408bc5
call fcn.00408960
mov dword [ebp - 0x18c], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00402900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00402900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402900
mov eax, dword [ebp - 0x18c]
jmp 0x408f34
push 0x40e0c4
mov eax, dword [ebp - 0x90]
push eax
call sub.ucrtbased.dll_strcmp
add esp, 8
test eax, eax
jne 0x408bf3
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4 + 4]
push edx
lea ecx, [ebp - 0x78]
call fcn.00408500
jmp 0x408ae0
lea ecx, [ebp - 0x30]
call fcn.004064b0
test eax, eax
jbe 0x408c10
lea ecx, [ebp - 0x54]
call fcn.004064b0
test eax, eax
ja 0x408c51
call fcn.00408960
mov dword [ebp - 0x198], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00402900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00402900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402900
mov eax, dword [ebp - 0x198]
jmp 0x408f34
lea ecx, [ebp - 0x30]
call fcn.00407620
push eax
push str.___Attempting_to_find_Process_ID_of_the_Process___s_._n
call fcn.00407050
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.00407620
push eax
call fcn.00408800
add esp, 4
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jne 0x408ce6
lea ecx, [ebp - 0x30]
call fcn.00407620
push eax
push str.____ProcId_is_NULL__ensure_that_the_Process___s__is_running._n
call fcn.00407050
add esp, 8
push str.____Also_may_have_failed_to_launch_assault_cube._n
call fcn.00407050
add esp, 4
mov dword [ebp - 0x1a4], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00402900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00402900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402900
mov eax, dword [ebp - 0x1a4]
jmp 0x408f34
mov eax, dword [ebp - 0x9c]
push eax
push str.___Process_ID_found:___d___n
call fcn.00407050
add esp, 8
push str.___Opening_a_Handle_to_the_Process__n
call fcn.00407050
add esp, 4
mov esi, esp
mov eax, dword [ebp - 0x9c]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp esi, esp
call fcn.00409640
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0xffffffff
jne 0x408daf
lea ecx, [ebp - 0x30]
call fcn.00407620
push eax
push str.____Error_opening_handle_to_Process___s_._n
call fcn.00407050
add esp, 8
push str.____Please_ensure_that_the_current_program_is_running_with_Administrator_privileges_before_continuing._n
call fcn.00407050
add esp, 4
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00409640
push eax
push str.____Error_code_is:_0x_X__n
call fcn.00407050
add esp, 8
mov dword [ebp - 0x1b0], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00402900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00402900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402900
mov eax, dword [ebp - 0x1b0]
jmp 0x408f34
push 0x40e26c
lea ecx, [ebp - 0x78]
call fcn.00407620
push eax
call sub.ucrtbased.dll_strcmp
add esp, 8
test eax, eax
jne 0x408de6
lea ecx, [ebp - 0x54]
call fcn.00407620
push eax
mov eax, dword [ebp - 0xa8]
push eax
call fcn.00403400
add esp, 8
jmp 0x408f07
cmp dword [ebp - 0xa8], 0
je 0x408eaf
cmp dword [ebp - 0xa8], 0xffffffff
je 0x408eaf
mov esi, esp
push 4
push 0x3000
push 0x104
push 0
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
cmp esi, esp
call fcn.00409640
mov dword [ebp - 0xb4], eax
mov esi, esp
push 0
lea ecx, [ebp - 0x54]
call fcn.00408a00
add eax, 1
push eax
lea ecx, [ebp - 0x54]
call fcn.00407620
push eax
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp esi, esp
call fcn.00409640
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push ecx
push 0
push 0
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp esi, esp
call fcn.00409640
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x408eaf
mov esi, esp
mov eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00409640
cmp dword [ebp - 0xa8], 0
je 0x408ece
mov esi, esp
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00409640
mov dword [ebp - 0x1bc], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00402900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00402900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402900
mov eax, dword [ebp - 0x1bc]
jmp 0x408f34
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00402900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00402900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402900
jmp 0x408f32
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x408f70]
call fcn.004095e0
pop eax
pop edx
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.004096b0
add esp, 0x1c0
cmp ebp, esp
call fcn.00409640
mov esp, ebp
pop ebp
ret