Function at 0x1400d5cd0
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x248
mov qword [rsp + 0x198], 0xfffffffffffffffe
mov byte [rsp + 0x60], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xa8], 0
call fcn.1400d2000
mov dword [rsp + 0xd4], eax
mov byte [rsp + 0x61], 0
movzx eax, byte [rsp + 0x288]
test eax, eax
je 0x1400d5ead
lea rcx, [rsp + 0xd8]
call fcn.14000c178
nop
mov r9b, byte [rsp + 0x280]
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0x78]
mov ecx, dword [rsp + 0xd4]
call fcn.1400d7a1c
movzx eax, al
test eax, eax
je 0x1400d5e4f
cmp qword [rsp + 0x78], 0
je 0x1400d5e4f
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
mov edx, 0x2000000
mov rcx, qword [rsp + 0x78]
call fcn.1401706bc
test eax, eax
je 0x1400d5e12
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0xb0]
call fcn.1401700b8
test eax, eax
je 0x1400d5dd5
mov byte [rsp + 0x61], 1
jmp 0x1400d5e10
lea rax, [rsp + 0x140]
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x100]
call fcn.1400739cc
mov rdx, rax
mov rcx, qword [rsp + 0x268]
call fcn.14000e070
nop
lea rcx, [rsp + 0x140]
call fcn.14000cf0c
jmp 0x1400d5e4d
lea rax, [rsp + 0x154]
mov qword [rsp + 0x130], rax
mov rcx, qword [rsp + 0x130]
call fcn.140072fd0
mov rdx, rax
mov rcx, qword [rsp + 0x268]
call fcn.14000e070
nop
lea rcx, [rsp + 0x154]
call fcn.14000cef4
jmp 0x1400d5ea0
lea rax, [rsp + 0x186]
mov qword [rsp + 0x138], rax
mov rcx, qword [rsp + 0x138]
call fcn.140071948
mov rdx, rax
mov rcx, qword [rsp + 0x268]
call fcn.14000e070
nop
lea rcx, [rsp + 0x186]
call fcn.14000cec4
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x268]
call fcn.14000e030
nop
lea rcx, [rsp + 0xd8]
call fcn.14000c4e0
movzx eax, byte [rsp + 0x288]
test eax, eax
je 0x1400d5ec9
movzx eax, byte [rsp + 0x61]
test eax, eax
jne 0x1400d5ec9
xor al, al
jmp 0x1400d6546
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x1400d64a4
mov rax, qword [rsp + 0xe0]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x250]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax], 0x4550
jne 0x1400d6467
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x258]
call fcn.1401709e0
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x14c
jne 0x1400d5f4e
cmp dword [rsp + 0x98], 0
jne 0x1400d5f68
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x8664
jne 0x1400d5f71
cmp dword [rsp + 0x98], 6
je 0x1400d5f71
mov al, byte [rsp + 0x60]
jmp 0x1400d6546
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0xb8]
call fcn.1401a3510
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x1d0]
call fcn.1401a3510
mov dword [rsp + 0x1d0], 0x68
mov dword [rsp + 0x20c], 0x101
xor eax, eax
mov word [rsp + 0x210], ax
movzx eax, byte [rsp + 0x288]
test eax, eax
je 0x1400d6039
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000404
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x260]
mov rdx, qword [rsp + 0x258]
mov rcx, qword [rsp + 0xa8]
call fcn.1401703c0
mov dword [rsp + 0xa0], eax
jmp 0x1400d6097
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x258]
call fcn.1401702d0
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0
je 0x1400d642a
mov r9d, 4
mov r8d, 0x1000
mov edx, 8
xor ecx, ecx
call fcn.140173c40
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0x100002
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xc0]
call fcn.140170f64
test eax, eax
je 0x1400d63de
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x88]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0xe8]
mov rdx, rax
mov rcx, qword [rsp + 0xb8]
call fcn.140172918
mov eax, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0x68]
cmp rax, qword [rcx + 0x30]
jne 0x1400d617a
lea rax, [rsp + 0x1b6]
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x120]
call fcn.14008e2b8
mov rdx, rax
mov rcx, qword [rsp + 0x270]
call fcn.14000e070
nop
lea rcx, [rsp + 0x1b6]
call fcn.14000d224
jmp 0x1400d61b5
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x110]
call fcn.14008d264
mov rdx, rax
mov rcx, qword [rsp + 0x270]
call fcn.14000e070
nop
lea rcx, [rsp + 0x1a0]
call fcn.14000d20c
movzx eax, byte [rsp + 0x278]
test eax, eax
je 0x1400d61ce
mov dword [rsp + 0x9c], VarR4FromR8
jmp 0x1400d61d9
mov dword [rsp + 0x9c], 4
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0xd0], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x50]
mov ecx, dword [rsp + 0xd0]
mov dword [rsp + 0x20], ecx
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call fcn.140173ce4
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x1400d6392
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x250]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xb8]
call fcn.1401741a0
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x70], 0
jmp 0x1400d6289
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x70], eax
jge 0x1400d630a
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x250]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x88]
mov edx, dword [rdx + 0xc]
mov r8, qword [rsp + 0x90]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rcx, qword [rsp + 0xb8]
call fcn.1401741a0
mov rax, qword [rsp + 0x88]
add rax, 0x28
mov qword [rsp + 0x88], rax
jmp 0x1400d627f
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x88]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x90]
mov rdx, rax
mov rcx, qword [rsp + 0xb8]
call fcn.1401741a0
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x80], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xc0]
call fcn.1401737cc
mov rcx, qword [rsp + 0xc0]
call fcn.140173078
mov byte [rsp + 0x60], 1
jmp 0x1400d63dc
lea rax, [rsp + 0x17c]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0xf0]
call fcn.1400769dc
mov rdx, rax
mov rcx, qword [rsp + 0x268]
call fcn.14000e070
nop
lea rcx, [rsp + 0x17c]
call fcn.14000cf84
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call fcn.1401739d8
jmp 0x1400d6428
lea rax, [rsp + 0x172]
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call fcn.140076040
mov rdx, rax
mov rcx, qword [rsp + 0x268]
call fcn.14000e070
nop
lea rcx, [rsp + 0x172]
call fcn.14000cf6c
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call fcn.1401739d8
jmp 0x1400d6465
lea rax, [rsp + 0x15e]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call fcn.1400756a4
mov rdx, rax
mov rcx, qword [rsp + 0x268]
call fcn.14000e070
nop
lea rcx, [rsp + 0x15e]
call fcn.14000cf54
jmp 0x1400d64a2
lea rax, [rsp + 0x168]
mov qword [rsp + 0x118], rax
mov rcx, qword [rsp + 0x118]
call fcn.140074d00
mov rdx, rax
mov rcx, qword [rsp + 0x268]
call fcn.14000e070
nop
lea rcx, [rsp + 0x168]
call fcn.14000cf3c
jmp 0x1400d64df
lea rax, [rsp + 0x14a]
mov qword [rsp + 0x128], rax
mov rcx, qword [rsp + 0x128]
call fcn.140074364
mov rdx, rax
mov rcx, qword [rsp + 0x268]
call fcn.14000e070
nop
lea rcx, [rsp + 0x14a]
call fcn.14000cf24
cmp qword [rsp + 0xb0], 0
je 0x1400d6503
mov rcx, qword [rsp + 0xb0]
call fcn.14017062c
mov qword [rsp + 0xb0], 0
cmp qword [rsp + 0xa8], 0
je 0x1400d6527
mov rcx, qword [rsp + 0xa8]
call fcn.14016fd74
mov qword [rsp + 0xa8], 0
cmp qword [rsp + 0x78], 0
je 0x1400d6542
mov rcx, qword [rsp + 0x78]
call fcn.14016fd74
mov qword [rsp + 0x78], 0
mov al, byte [rsp + 0x60]
add rsp, 0x248
ret