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

Disassembly:
sub esp, 0x40
mov eax, dword [0x10082594]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
mov ebx, dword [esp + 0x4c]
push edi
push 0x31
lea eax, [esp + 0x15]
push 0
push eax
mov byte [esp + 0x1c], 0
call fcn.10048620
mov edi, dword [esp + 0x58]
add esp, 0xc
test edi, edi
jne 0x10038ae5
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10047cbc
add esp, 0x40
ret
push esi
push edi
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x10038b3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea ecx, [esp + 0x1c]
push str.OpenProcess___failed:_pid_x_err_d
push ecx
call fcn.10047c21
add esp, 0x10
push esi
push str.Loader
lea edx, [esp + 0x1c]
push edx
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10047cbc
add esp, 0x40
ret
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x10038b8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [esp + 0x1c]
push str.GetModuleHandle__kernel32.dll___failed:_err_d
push eax
call fcn.10047c21
add esp, 0x10
push 0
push str.Loader
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10047cbc
add esp, 0x40
ret
push 0x10076240
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10038be5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea edx, [esp + 0x1c]
push str.GetProcAddress__LoadLibraryA___failed:_err_d
push edx
call fcn.10047c21
add esp, 0x10
push 0
push str.Loader
lea eax, [esp + 0x1c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10047cbc
add esp, 0x40
ret
mov eax, ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10038bf0
push ebp
push 4
push 0x3000
sub eax, edx
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
mov eax, ebx
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10038c12
push 0
sub eax, ebp
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10038c72
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x54]
push eax
push ecx
lea edx, [esp + 0x20]
push str.WriteProcessMemory___failed:_err_d
push edx
call fcn.10047c21
add esp, 0x10
push 0
push str.Loader
lea eax, [esp + 0x20]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebp
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10047cbc
add esp, 0x40
ret
mov ecx, dword [esp + 0x14]
push 0
push 0
push edi
push ecx
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebp, eax
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10038c90
push 0x8000
sub eax, edx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test ebp, ebp
jne 0x10038cf7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x54]
push eax
push edx
lea eax, [esp + 0x20]
push str.CreateRemoteThread___failed:_pid_x_err_d
push eax
call fcn.10047c21
add esp, 0x10
push ebp
push str.Loader
lea ecx, [esp + 0x20]
push ecx
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10047cbc
add esp, 0x40
ret
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call edi
push esi
call edi
mov edx, dword [esp + 0x10]
push edx
call edi
mov ecx, dword [esp + 0x4c]
pop ebp
pop esi
pop edi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10047cbc
add esp, 0x40
ret