Function at 0x48c4a0
Capabilities:
Create thread
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6cc
mov eax, dword [0x4b36c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, 0x4bb2f0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x6cc], ebx
call fcn.0048decd
cmp byte [0x4ba14b], 0
jne 0x48c4ef
push 0x4ba148
call fcn.0048c260
add esp, 4
mov byte [0x4ba14b], al
test al, al
je 0x48c6db
cmp byte [0x4ba178], 0
jne 0x48c512
push 0x4ba14c
call fcn.0048c110
add esp, 4
mov byte [0x4ba178], al
test al, al
je 0x48c6db
push 0
push esi
push ebx
call fcn.0048bfb0
add esp, 0xc
cmp al, 1
je 0x48c912
lea eax, [ebp - 0x6c8]
push eax
push ebx
call fcn.0048c310
add esp, 8
test al, al
je 0x48c6db
cmp dword [0x4ba17c], 0
jne 0x48c597
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x48c569
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x48c6db
push 0x4ab5d4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ba17c], eax
test eax, eax
jne 0x48c597
push dword [ebp - 0x6c4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x6c8]
jmp 0x48c6d9
mov edi, dword [ebp - 0x6c8]
mov eax, dword [0x4ba170]
push 0x40
push 0x1000
push 0x111
push 0
push edi
call eax
mov ebx, eax
mov dword [ebp - 0x6b4], ebx
test ebx, ebx
je 0x48c6ca
lea eax, [ebx + 0xd]
mov byte [ebp - 0x118], 0x68
mov dword [ebp - 0x117], eax
lea ecx, [ebx + 0xa]
mov eax, dword [0x4ba17c]
sub eax, ecx
mov dword [ebp - 0x6b8], ecx
cmp byte [0x4ba148], 0
mov byte [ebp - 0x113], 0xe8
mov dword [ebp - 0x112], eax
jne 0x48c610
cmp byte [0x4ba149], 0
jne 0x48c610
mov byte [ebp - 0x10e], 0xc2
mov eax, 4
jmp 0x48c61c
mov byte [ebp - 0x10e], 0xeb
mov eax, 0xfe
push esi
mov word [ebp - 0x10d], ax
lea eax, [ebp - 0x10b]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
lea eax, [ebp - 0x118]
push 0
push 0x111
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x48c6b8
cmp byte [0x4ba148], 0
mov esi, dword [ebp - 0x6c4]
jne 0x48c6ee
cmp byte [0x4ba149], 0
jne 0x48c6ee
push 0
push 0
push 0
push ebx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x6b8], eax
test eax, eax
je 0x48c6b8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x6b4]
push eax
push dword [ebp - 0x6b8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x48c6b8
cmp dword [ebp - 0x6b4], 0
jne 0x48c8f4
push 0x4000
push 0x111
push ebx
push edi
call dword [0x4ba174]
push dword [ebp - 0x6c4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048deff
mov esp, ebp
pop ebp
ret
push 0
push str.kernel32.dll
push dword [ebp - 0x6cc]
call fcn.0048bfb0
add esp, 0xc
test al, al
je 0x48c6b8
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x48c6db
lea eax, [ebp - 0x6b0]
mov dword [ebp - 0x6b0], 0x10007
push eax
push esi
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x48c760
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x4000
push 0x111
push dword [ebp - 0x6b4]
push edi
call dword [0x4ba174]
push esi
jmp 0x48c6d0
mov ecx, 0xb3
lea esi, [ebp - 0x6b0]
lea edi, [ebp - 0x3e4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x6c4]
lea eax, [ebp - 0x3e4]
mov edi, dword [ebp - 0x6b4]
push eax
push esi
mov dword [ebp - 0x32c], edi
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x48c7bc
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x4000
push 0x111
push edi
mov edi, dword [ebp - 0x6c8]
push edi
call dword [0x4ba174]
push esi
jmp 0x48c6d0
mov eax, dword [ebp - 0x6b8]
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [ebp - 0x32c], eax
je 0x48c86e
push esi
call edi
mov edi, eax
cmp edi, 1
jbe 0x48c7f4
nop
cmp edi, 0xffffffff
jae 0x48c863
push esi
dec ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, eax
cmp edi, 1
ja 0x48c7e0
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x48c863
lea eax, [ebx - 1]
cmp edi, 1
cmovne eax, ebx
lea ebx, [eax + 1]
lea eax, [ebp - 0x3e4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x48c7bc
test ebx, ebx
jle 0x48c84e
nop word [eax + eax]
mov eax, ebx
dec ebx
test eax, eax
jle 0x48c863
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x48c830
mov edi, dword [ebp - 0x6c8]
jmp 0x48c743
jns 0x48c863
mov eax, ebx
inc ebx
test eax, eax
jns 0x48c863
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x48c850
mov edi, dword [ebp - 0x6c8]
jmp 0x48c743
lea eax, [ebp - 0x6b0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x48c8be
test ebx, ebx
jle 0x48c89e
mov eax, ebx
dec ebx
test eax, eax
jle 0x48c863
push esi
call edi
cmp eax, 0xffffffff
jne 0x48c884
mov edi, dword [ebp - 0x6c8]
jmp 0x48c743
jns 0x48c863
mov eax, ebx
inc ebx
test eax, eax
jns 0x48c863
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x48c8a0
mov edi, dword [ebp - 0x6c8]
jmp 0x48c743
test ebx, ebx
jle 0x48c8d3
mov eax, ebx
dec ebx
test eax, eax
jle 0x48c8e8
push esi
call edi
cmp eax, 0xffffffff
jne 0x48c8c2
jmp 0x48c8e8
jns 0x48c8e8
mov eax, ebx
inc ebx
test eax, eax
jns 0x48c8e8
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x48c8d5
mov ebx, dword [ebp - 0x6b4]
mov edi, dword [ebp - 0x6c8]
push 0x4000
push 0x111
push ebx
push edi
call dword [0x4ba174]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048deff
mov esp, ebp
pop ebp
ret