Function at 0x140129bc0
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
jmp 0x140129bc0
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x140129bfe
mov al, 1
jmp 0x140129f96
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140129c17
mov al, 1
jmp 0x140129f96
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140129c3d
mov al, 1
jmp 0x140129f96
mov rax, qword [rsp + 0x88]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp dword [rax], 0x4550
je 0x140129c6d
mov al, 1
jmp 0x140129f96
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x78]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x28]
call fcn.14011ea40
lea rcx, [rsp + 0x98]
call fcn.140005993
mov rcx, rax
call fcn.1400044ad
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x98]
call fcn.140005993
mov rcx, rax
call fcn.140007978
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax], 0
je 0x140129cf1
mov rax, qword [rsp + 0x68]
cmp qword [rax], 0
je 0x140129cf1
mov rax, qword [rsp + 0x68]
cmp qword [rax], 0xffffffffffffffff
jne 0x140129cf8
mov al, 1
jmp 0x140129f96
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140129d3d
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140129f96
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0x4550
jne 0x140129d8b
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 8]
cmp dword [rax + 8], ecx
jne 0x140129d8b
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 6]
mov rcx, qword [rsp + 0x60]
movzx ecx, word [rcx + 6]
cmp eax, ecx
je 0x140129dae
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140129f96
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x80], rax
mov byte [rsp + 0x21], 0
mov dword [rsp + 0x38], 0
jmp 0x140129e04
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
add rax, 0x28
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x38], eax
jge 0x140129f75
mov rax, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140129e3f
inc rax
test dl, dl
jne 0x140129e2c
xor eax, eax
jmp 0x140129e44
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140129e59
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
jne 0x140129e5e
jmp 0x140129dd8
mov dword [rsp + 0x24], 0
jmp 0x140129e72
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
cmp dword [rsp + 0x24], eax
jae 0x140129f6e
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx]
mov ecx, dword [rsp + 0x24]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x24]
movzx eax, byte [rax + rcx]
movzx ecx, byte [rsp + 0x20]
cmp eax, ecx
jne 0x140129ec9
jmp 0x140129e68
movzx eax, byte [rsp + 0xc8]
test eax, eax
je 0x140129f64
mov dword [rsp + 0x58], 0x40
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x24]
add rax, rcx
lea r9, [rsp + 0x70]
mov r8d, dword [rsp + 0x58]
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x24]
movzx edx, byte [rsp + 0x20]
mov byte [rax + rcx], dl
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x24]
add rax, rcx
lea r9, [rsp + 0x58]
mov r8d, dword [rsp + 0x70]
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [rsp + 0x21], 1
jmp 0x140129e68
jmp 0x140129f75
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x21]
add rsp, 0xb0
pop rdi
ret