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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x1007f7c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x154], eax
inc ebx
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x15c], eax
or edi, 0xffffffff
xor eax, eax
mov dword [ebp - 0x144], ecx
push 0x104
push eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x108]
push eax
mov dword [ebp - 0x150], edi
call fcn.10028e00
mov eax, dword [ebp - 0x144]
add esp, 0xc
mov ecx, eax
mov byte [ebp - 0x13d], 0
and dword [eax + 8], 0
push ebx
call fcn.100233a6
sub esp, 0x28
mov byte [ebp - 0x14c], 0
mov ecx, esp
push dword [ebp - 0x14c]
call fcn.10022e8c
push ebx
lea ecx, [ebp - 0x138]
call fcn.1001e586
mov ecx, dword [ebp - 0x144]
lea eax, [ebp - 0x108]
push 0x104
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [ebp - 0x144]
push esi
call fcn.100237ee
mov esi, eax
test esi, esi
jne 0x10023188
push 4
pop ebx
jmp 0x10023345
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 4
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x108]
push 0x3000
push eax
call fcn.1002bcd0
pop ecx
inc eax
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x148], eax
test eax, eax
jne 0x100231c6
push 8
jmp 0x10023182
push str.LoadLibraryA
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.1002bcd0
pop ecx
inc eax
push eax
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x148]
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1002320d
push 9
jmp 0x10023182
mov ecx, dword [ebp - 0x144]
push 0
call fcn.10023a97
mov eax, dword [ebp - 0x154]
mov dword [eax], 2
xor eax, eax
push eax
push eax
push dword [ebp - 0x148]
push dword [ebp - 0x158]
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x10023252
push 0xa
jmp 0x10023182
push 0x2710
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10023271
xor ebx, ebx
cmp eax, 0x102
sete bl
add ebx, 0xb
jmp 0x10023290
mov ecx, dword [ebp - 0x144]
call fcn.10023952
mov byte [ebp - 0x13d], al
lea eax, [ebp - 0x13c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x13c], 0
je 0x10023345
mov eax, dword [ebp - 0x144]
push 0x10050088
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x1002330d
mov eax, dword [ebp - 0x144]
xor edx, edx
push edx
push edx
sub ecx, dword [eax]
mov eax, dword [ebp - 0x15c]
add ecx, dword [ebp - 0x13c]
or eax, 0x80000000
push eax
push ecx
push edx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
push 0x2710
push edi
mov dword [ebp - 0x150], edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10023305
xor ebx, ebx
cmp eax, 0x102
sete bl
add ebx, 0xb
jmp 0x1002330d
mov eax, dword [ebp - 0x154]
mov ebx, dword [eax]
cmp byte [ebp - 0x13d], 0
je 0x10023320
cmp ebx, 0xc
je 0x10023320
cmp ebx, 0xb
jne 0x10023345
push 0x10050098
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
push ecx
push ecx
push dword [ebp - 0x13c]
push eax
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x144]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x1002336d
push 0x8000
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp edi, 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x10023380
push dword [ebp - 0x150]
call edi
cmp esi, 0xffffffff
je 0x10023388
push esi
call edi
lea ecx, [ebp - 0x138]
call fcn.1001e615
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10027632
leave
ret 0xc