Function at 0x100012d0
Capabilities:
Create thread
Inject dll
Inject thread
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x208]
sub esp, 0x208
push 0xfffffffffffffffe
push 0x1000ae50
push 0x10001cd0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1000c03c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x204], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0x210]
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test eax, eax
jbe 0x10001359
test esi, esi
jbe 0x10001359
push eax
lea eax, [ebp + 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp + 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x1c], eax
cmp eax, 3
jg 0x10001372
push 0x10
push 0x10009254
push 0x10009244
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1000151a
lea edx, [ebp + 0x100]
push edx
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call edi
push str.222222222222
call edi
push 0
push 0
push 3
push 0
push 0
push 0
lea eax, [ebp + 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
cmp edi, 0xffffffff
jne 0x100013df
mov ecx, dword [ebp - 0x20]
push ecx
push 0x10009218
lea edx, [ebp]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x10
push 0x10009210
lea eax, [ebp]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1000151a
push 4
push 0x1000
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
jne 0x10001414
push 0x10
push 0x10009210
push 0x100091f4
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call ebx
jmp 0x1000151a
push 0
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp + 0x100]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10001459
push 0x10
push 0x10009210
push 0x100091f4
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x4000
mov ecx, dword [ebp - 0x1c]
push ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push esi
call ebx
jmp 0x1000151a
push 0x100091e4
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
ja 0x1000149e
push 0x10
push 0x10009210
push 0x100091f4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x4000
mov edx, dword [ebp - 0x1c]
push edx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push esi
call ebx
jmp 0x1000151a
push 0
push 0
push edi
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x100014e0
push 0x4000
mov eax, dword [ebp - 0x1c]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push esi
call ebx
push 0x10
push 0x10009210
push 0x100091f4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1000151a
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x20]
push ecx
call ebx
push esi
call ebx
push 0x4000
mov edx, dword [ebp - 0x1c]
push edx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x10001523
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x204]
xor ecx, ebp
call fcn.10002245
add ebp, 0x208
mov esp, ebp
pop ebp
ret