Function at 0x140019550
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, 0x2d0
mov rax, qword [0x1400f2088]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov byte [rsp + 0x60], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
call fcn.1400035b0
mov dword [rsp + 0xd8], eax
mov byte [rsp + 0x61], 0
movzx eax, byte [rsp + 0x318]
test eax, eax
je 0x140019675
lea rax, [rsp + 0x1e0]
movzx edx, byte [rsp + 0x70]
mov rcx, rax
call fcn.14002fa60
lea rcx, [rsp + 0x1e0]
call fcn.140035300
nop
movzx r9d, byte [rsp + 0x310]
lea r8, [rsp + 0x1e0]
lea rdx, [rsp + 0x78]
mov ecx, dword [rsp + 0xd8]
call fcn.140027420
movzx eax, al
test eax, eax
je 0x140019668
cmp qword [rsp + 0x78], 0
je 0x140019668
lea rax, [rsp + 0xb0]
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.140020ca0
test eax, eax
je 0x140019668
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0xa8]
call fcn.14000d820
test eax, eax
je 0x140019668
mov byte [rsp + 0x61], 1
lea rcx, [rsp + 0x1e0]
call fcn.140035210
movzx eax, byte [rsp + 0x318]
test eax, eax
je 0x140019691
movzx eax, byte [rsp + 0x61]
test eax, eax
jne 0x140019691
xor al, al
jmp 0x140019dcb
lea rdx, [0x1400ccee8]
lea rcx, [rsp + 0x200]
call fcn.14001b7b0
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0xf0]
call fcn.14003cc40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x200]
call fcn.140035210
cmp qword [rsp + 0xb8], 0
je 0x140019813
lea rdx, [0x1400ccf08]
lea rcx, [rsp + 0x2a0]
call fcn.14001b7b0
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x100]
call fcn.14003cc40
mov rdx, rax
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f8e48], rax
lea rcx, [rsp + 0x2a0]
call fcn.140035210
lea rdx, [0x1400ccf30]
lea rcx, [rsp + 0x220]
call fcn.14001b7b0
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x110]
call fcn.14003cc40
mov rdx, rax
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f8e50], rax
lea rcx, [rsp + 0x220]
call fcn.140035210
lea rdx, [0x1400ccf58]
lea rcx, [rsp + 0x240]
call fcn.14001b7b0
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x120]
call fcn.14003cc40
mov rdx, rax
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f8e58], rax
lea rcx, [rsp + 0x240]
call fcn.140035210
jmp 0x14001981a
xor al, al
jmp 0x140019dcb
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x140019c95
mov rax, qword [rsp + 0xe0]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x2e0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax], 0x4550
jne 0x140019c95
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x2e8]
call fcn.14001f8e0
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x14c
jne 0x14001989f
cmp dword [rsp + 0x88], 0
jne 0x1400198b9
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x8664
jne 0x1400198c3
cmp dword [rsp + 0x88], 6
je 0x1400198c3
movzx eax, byte [rsp + 0x60]
jmp 0x140019dcb
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x128], rax
mov rdi, qword [rsp + 0x128]
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x170]
mov qword [rsp + 0x130], rax
mov rdi, qword [rsp + 0x130]
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x170], 0x68
mov dword [rsp + 0x1ac], 0x101
xor eax, eax
mov word [rsp + 0x1b0], ax
movzx eax, byte [rsp + 0x318]
test eax, eax
je 0x1400199a3
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xa8]
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 + 0x2f0]
mov rdx, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0xb0]
call fcn.1400c12c0
mov dword [rsp + 0x90], eax
jmp 0x140019a01
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x170]
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 + 0x2f0]
mov rcx, qword [rsp + 0x2e8]
call fcn.140020e70
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
je 0x140019c95
mov r9d, 4
mov r8d, 0x1000
mov edx, 8
xor ecx, ecx
call fcn.1400209b0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0x100002
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xc8]
call fcn.1400c1140
test eax, eax
je 0x140019c86
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x88]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x160]
mov rdx, rax
mov rcx, qword [rsp + 0xc0]
call qword [0x1400f8e48]
movzx eax, byte [rsp + 0x308]
test eax, eax
je 0x140019aaf
mov dword [rsp + 0x8c], 0x40
jmp 0x140019aba
mov dword [rsp + 0x8c], 4
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0xdc], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x50]
mov ecx, dword [rsp + 0xdc]
mov dword [rsp + 0x20], ecx
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call fcn.140020b10
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x140019c75
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x2e0]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xc0]
call fcn.140020090
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x74], 0
jmp 0x140019b6a
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x74], eax
jge 0x140019beb
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x98]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x2e0]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x98]
mov edx, dword [rdx + 0xc]
mov rdi, qword [rsp + 0xa0]
add rdi, rdx
mov rdx, rdi
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rcx, qword [rsp + 0xc0]
call fcn.140020090
mov rax, qword [rsp + 0x98]
add rax, 0x28
mov qword [rsp + 0x98], rax
jmp 0x140019b60
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x88]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0xa0]
mov rdx, rax
mov rcx, qword [rsp + 0xc0]
call fcn.140020090
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0xa0]
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 + 0xc8]
call qword [0x1400f8e50]
mov rcx, qword [rsp + 0xc8]
call qword [0x1400f8e58]
mov byte [rsp + 0x60], 1
jmp 0x140019c84
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call fcn.14000daf0
jmp 0x140019c95
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call fcn.14000daf0
cmp qword [rsp + 0xa8], 0
je 0x140019d87
lea rdx, [0x1400ccf78]
lea rcx, [rsp + 0x260]
call fcn.14001b7b0
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov rcx, qword [rsp + 0x140]
call fcn.14003cc40
mov rcx, rax
call fcn.1400c20c0
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0x260]
call fcn.140035210
cmp qword [rsp + 0xe8], 0
je 0x140019d7b
lea rdx, [0x1400ccf98]
lea rcx, [rsp + 0x280]
call fcn.14001b7b0
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
mov rcx, qword [rsp + 0x150]
call fcn.14003cc40
mov rdx, rax
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f8e18], rax
lea rcx, [rsp + 0x280]
call fcn.140035210
cmp qword [0x1400f8e18], 0
je 0x140019d7b
mov rcx, qword [rsp + 0xa8]
call qword [0x1400f8e18]
mov qword [rsp + 0xa8], 0
cmp qword [rsp + 0xb0], 0
je 0x140019dab
mov rcx, qword [rsp + 0xb0]
call fcn.14000fdc0
mov qword [rsp + 0xb0], 0
cmp qword [rsp + 0x78], 0
je 0x140019dc6
mov rcx, qword [rsp + 0x78]
call fcn.14000fdc0
mov qword [rsp + 0x78], 0
movzx eax, byte [rsp + 0x60]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.14004d9a0
add rsp, 0x2d0
pop rdi
ret