Function at 0x439a30
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0
push edi
xor ebx, ebx
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x439a78
mov esi, 0xc00000bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x445fd0
jmp 0x439c8f
push esi
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
jne 0x439ad4
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 5
jne 0x439ab7
mov esi, 0xc0000022
call edi
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x446070
jmp 0x439c8f
mov esi, 0xc0000225
call edi
mov dword [0x4680a8], eax
xor ebx, ebx
mov dword [0x4535c0], 0x4460f0
jmp 0x439c8f
lea edx, [ebp - 0x2c]
mov ecx, esi
call fcn.004396d0
mov esi, eax
test esi, esi
js 0x439c72
cmp dword [ebp - 0x2c], edi
je 0x439b0c
mov esi, 0xc0009898
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x446148
jmp 0x439c72
push 0
lea eax, [ebp - 0x45c]
push eax
push 0x104
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x439b46
mov esi, 0xc00000f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x4461c8
jmp 0x439c72
lea ecx, [ebp - 0x45c]
call fcn.0043a3c0
test eax, eax
jne 0x439b74
mov esi, 0xc00000f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x446238
jmp 0x439c72
lea ecx, [ebp - 0x24c]
call fcn.0043a300
lea ecx, [ebp - 0x66c]
call fcn.0043a370
xor ecx, ecx
lea eax, [ebp - 0x66c]
cmp word [ebp - 0x66c], cx
je 0x439ba9
jmp 0x439ba0
lea eax, [eax + 2]
inc ecx
cmp word [eax], di
jne 0x439ba0
lea edx, [ecx*2 + 2]
xor eax, eax
mov dword [ebp - 0x28], edx
jmp 0x439bc0
lea eax, [eax + 1]
cmp byte [eax + str._HookCompleteInjection_4], 0
jne 0x439bc0
lea esi, [eax + 1]
xor ecx, ecx
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x20], esi
cmp word [ebp - 0x24c], cx
je 0x439bec
lea eax, [eax + 2]
inc ecx
cmp word [eax], di
jne 0x439be3
lea ebx, [ecx*2 + 4]
xor ecx, ecx
lea eax, [ebp - 0x45c]
cmp word [ebp - 0x45c], cx
je 0x439c0d
lea eax, [eax + 2]
inc ecx
cmp word [eax], di
jne 0x439c04
mov eax, ebx
lea ecx, [ecx*2 + 4]
shr eax, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp + eax*2 - 0x250], 0x3b
lea eax, [ebx + 0x80]
add eax, ecx
add esi, eax
add esi, edx
push esi
push 0
push dword [0x4680a4]
mov dword [ebp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x439c55
push esi
push edi
call fcn.0043ac10
test edi, edi
jne 0x439cb1
mov esi, 0xc0000017
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x446290
mov ebx, dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x439c8c
push edi
push 0
push dword [0x4680a4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x439c9f
push eax
call edi
test ebx, ebx
je 0x439ca6
push ebx
call edi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 0xc]
call fcn.00439840
mov esi, eax
test esi, esi
js 0x439c6f
mov esi, dword [ebp - 0xc]
mov edx, esi
mov ecx, dword [ebp - 8]
push str.LoadLibraryW
push str.kernel32.dll
call fcn.00439040
mov ecx, dword [ebp - 8]
mov edx, esi
push str.FreeLibrary
push str.kernel32.dll
mov dword [edi + 0x28], eax
call fcn.00439040
mov ecx, dword [ebp - 8]
mov edx, esi
push 0x4462f8
push str.kernel32.dll
mov dword [edi + 0x30], eax
call fcn.00439040
mov ecx, dword [ebp - 8]
mov edx, esi
push str.VirtualFree
push str.kernel32.dll
mov dword [edi + 0x38], eax
call fcn.00439040
mov ecx, dword [ebp - 8]
mov edx, esi
push str.VirtualProtect
push str.kernel32.dll
mov dword [edi + 0x40], eax
call fcn.00439040
mov ecx, dword [ebp - 8]
mov edx, esi
push str.ExitThread
push str.kernel32.dll
mov dword [edi + 0x48], eax
call fcn.00439040
mov ecx, dword [ebp - 8]
mov edx, esi
push 0x446330
push str.kernel32.dll
mov dword [edi + 0x50], eax
call fcn.00439040
mov dword [edi + 0x58], eax
mov dword [edi + 0x78], 0
mov dword [edi + 0x60], 0
call fcn.00438fc0
push 0x40
push 0x1000
mov dword [ebp - 0x30], eax
add eax, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 8], eax
test eax, eax
jne 0x439db3
mov esi, 0xc0000017
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x445dc8
jmp 0x439c6f
mov eax, dword [ebp + 0xc]
lea esi, [edi + 0x80]
mov dword [edi + 0x18], esi
add esi, dword [ebp - 0x20]
mov dword [edi + 8], esi
add esi, dword [ebp - 0x28]
mov dword [edi + 0x10], esi
add esi, ebx
mov dword [edi + 0x70], esi
mov dword [edi], esi
mov dword [edi + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [edi + 0x68], eax
mov eax, dword [ebp - 0x24]
sub eax, edi
mov dword [edi + 0x74], 0
add eax, esi
cmp eax, dword [edi + 0x6c]
jbe 0x439e10
mov esi, 0x80000005
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x446340
jmp 0x439c6f
mov esi, dword [ebp - 0x28]
lea edx, [ebp - 0x66c]
mov ecx, dword [edi + 8]
test esi, esi
je 0x439e2e
mov al, byte [edx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
lea edx, [edx + 1]
dec esi
jne 0x439e20
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x24c]
test ebx, ebx
je 0x439e4e
jmp 0x439e40
mov al, byte [edx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
lea edx, [edx + 1]
dec ebx
jne 0x439e40
mov ebx, dword [ebp - 0x20]
mov edx, str._HookCompleteInjection_4
mov ecx, dword [edi + 0x18]
test ebx, ebx
je 0x439e6e
lea ecx, [ecx]
mov al, byte [edx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
lea edx, [edx + 1]
dec ebx
jne 0x439e60
mov ebx, dword [ebp - 0x24]
lea edx, [ebp - 0x45c]
mov ecx, dword [edi]
test ebx, ebx
je 0x439e90
lea ecx, [ecx]
mov al, byte [edx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
lea edx, [edx + 1]
dec ebx
jne 0x439e80
mov edi, edi
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.00439020
mov ebx, dword [ebp - 0xc]
push eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x43a295
cmp dword [ebp - 0x18], esi
jne 0x43a295
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x439ef2
mov esi, 0xc000009a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x4463a8
jmp 0x439c72
push 0
push 0
push 0x1f0003
lea eax, [edi + 0x64]
push eax
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x439f31
mov esi, 0xc00000e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x4463d8
jmp 0x439c72
mov ecx, dword [ebp - 8]
add esi, ecx
mov eax, esi
sub eax, edi
cdq
add dword [edi + 0x18], eax
add dword [edi + 8], eax
add dword [edi + 0x10], eax
add dword [edi], eax
mov dword [ebp - 0x30], edx
mov edx, dword [edi + 0x70]
test edx, edx
je 0x439f55
add eax, edx
mov dword [edi + 0x70], eax
lea eax, [ebp - 0x18]
mov dword [edi + 0x20], ecx
push eax
push dword [ebp + 0xc]
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x43a295
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x18], eax
jne 0x43a295
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push ecx
push esi
mov ecx, ebx
call fcn.00439950
test eax, eax
jns 0x439fc9
push 0
push 0
push esi
push dword [ebp - 8]
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x439fcc
mov esi, 0xc0000022
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x445e80
jmp 0x439c72
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffff
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push 0
push eax
push 2
mov dword [ebp - 0x38], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x43a256
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp - 0x1c]
and eax, 0xfffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x30000000
ja 0x43a0b5
je 0x43a096
test eax, eax
je 0x43a077
cmp eax, 0x10000000
je 0x43a058
cmp eax, 0x20000000
jne 0x43a0c7
mov esi, 0xc00000e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x446470
jmp 0x439c72
mov esi, 0xc00000e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x446420
jmp 0x439c72
mov esi, 0xc00000e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x446a38
jmp 0x439c72
mov esi, 0xc00000e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x4464b8
jmp 0x439c72
cmp eax, 0x40000000
je 0x43a237
cmp eax, 0xf0000000
je 0x43a0e6
mov esi, 0xc00000e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x446ad8
jmp 0x439c72
movzx eax, cl
dec eax
cmp eax, 0x15
ja case.0x43a0fa.3
movzx eax, byte [eax + 0x43a2dc]
jmp dword [eax*4 + 0x43a2b4]
mov esi, 0xc00000f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x446578
jmp 0x439c72
mov esi, 0xc00000f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x4465f8
jmp 0x439c72
mov esi, 0xc00000f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x446690
jmp 0x439c72
mov esi, 0xc0000142
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x446730
jmp 0x439c72
mov esi, 0xc00000e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x445dc8
jmp 0x439c72
mov esi, 0xc00000e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x446870
jmp 0x439c72
mov esi, 0xc00000e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x4468c8
jmp 0x439c72
mov esi, 0xc00000e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x446930
jmp 0x439c72
mov esi, 0xc00000e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x44698c
jmp 0x439c72
mov esi, 0xc00000e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x4469d0
jmp 0x439c72
mov esi, 0xc00000e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x446500
jmp 0x439c72
cmp eax, 1
je 0x43a27a
mov esi, 0xc00000e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x446b30
jmp 0x439c72
mov dword [0x4680a8], 0
xor esi, esi
mov dword [0x4535c0], 0x445950
jmp 0x439c72
mov esi, 0xc00000e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4680a8], eax
mov dword [0x4535c0], 0x445e28
jmp 0x439c72