Function at 0x10016d90
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100874b8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx + 8]
mov edi, dword [ebp + 8]
test ecx, ecx
je 0x10016ed2
mov eax, dword [ecx]
push 0
push 0x100ca988
push 0x100ca71c
push 0
push 0
push 9
call dword [eax + 0x10]
push eax
call fcn.10084c25
add esp, 0x14
test eax, eax
je 0x10016ed2
mov dword [ebp - 0x44], vtable.CStringBufferW.0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], vtable.CStringBufferW.0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
push ecx
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10023e30
mov esi, dword [ebp - 0x38]
push esi
test eax, eax
jne 0x10016e7f
push str.Load__s_failed.
push str.CIEInjector::InjectCurrentModuleToProcess
push 2
call fcn.10041ef0
mov eax, dword [ebp - 0x48]
add esp, 0x10
test eax, eax
je 0x10016e70
push eax
call fcn.1006eaef
add esp, 4
test esi, esi
je 0x10016ed2
push esi
call fcn.1006eaef
add esp, 4
jmp 0x10016ed2
push str.wHookDllPath:__s
push str.CIEInjector::InjectCurrentModuleToProcess
push 0x3e
call fcn.10041ef0
add esp, 0x10
test esi, esi
je 0x10016ec2
cmp dword [ebp - 0x40], 0
je 0x10016ec2
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10017380
test eax, eax
jne 0x10016ef2
push str.Hook_dll_doesnt_match_version._Dont_inject.
push str.CIEInjector::InjectCurrentModuleToProcess
push 0x3e
call fcn.10041ef0
add esp, 0xc
lea ecx, [ebp - 0x54]
call fcn.10022960
lea ecx, [ebp - 0x44]
call fcn.10022960
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006daee
mov esp, ebp
pop ebp
ret 4
push edi
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x10016f28
push str.OpenProcess_parent_IE_process___Failed
push str.CIEInjector::InjectCurrentModuleToProcess
push 0x3e
call fcn.10041ef0
add esp, 0xc
push str.Failed
push str.CIEInjector::InjectCurrentModuleToProcess
push 7
jmp 0x10016eba
push edi
call fcn.100170b0
test eax, eax
jne 0x10016f5e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.GetKernel32ModuleHandle___Failed
push str.CIEInjector::InjectCurrentModuleToProcess
push 0x3e
call fcn.10041ef0
add esp, 0xc
push str.Failed
push str.CIEInjector::InjectCurrentModuleToProcess
push 7
jmp 0x10016eba
push 0x1009bf10
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x10016f9d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.GetProcAddress_LoadLibrary___Failed
push str.CIEInjector::InjectCurrentModuleToProcess
push 0x3e
call fcn.10041ef0
add esp, 0xc
push str.Failed
push str.CIEInjector::InjectCurrentModuleToProcess
push 7
jmp 0x10016eba
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x6c]
call fcn.1003e5f0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x68]
lea esi, [eax + eax]
mov ecx, esi
call fcn.100506a0
push 4
push 0x1000
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
lea eax, [ebp - 0x5c]
push eax
push esi
push dword [ebp - 0x60]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp dword [ebp - 0x5c], esi
je 0x1001702d
push str.WriteProcessMemory___Failed
push str.CIEInjector::InjectCurrentModuleToProcess
push 0x3e
call fcn.10041ef0
add esp, 0xc
push str.Failed
push str.CIEInjector::InjectCurrentModuleToProcess
push 7
call fcn.10041ef0
add esp, 0xc
push 0x8000
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x6c]
call fcn.10022960
jmp 0x10016ec2
lea ecx, [ebp - 0x34]
call fcn.1004edf0
push 0
push 0
push ebx
push dword [ebp - 0x58]
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.hRemoteThread:__d___dwGetLastError:__d
push str.CIEInjector::InjectCurrentModuleToProcess
push 0x3e
call fcn.10041ef0
add esp, 0x14
test esi, esi
je 0x10017075
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x6c]
call fcn.10022960
lea ecx, [ebp - 0x54]
call fcn.10022960
lea ecx, [ebp - 0x44]
call fcn.10022960
mov eax, 1
jmp 0x10016ed4