Function at 0x7ff7f3c5f020
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x7ff7f3d30410]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x48], 0
cmp qword [rsp + 0x1f0], 0
jne 0x7ff7f3c5f05f
xor eax, eax
jmp 0x7ff7f3c5f522
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x7ff7f3c5f082
xor eax, eax
jmp 0x7ff7f3c5f522
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0x4550
je 0x7ff7f3c5f0b2
xor eax, eax
jmp 0x7ff7f3c5f522
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x7ff7f3c5f0ff
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x88]
add rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x8c]
mov dword [rsp + 0x58], eax
jmp 0x7ff7f3c5f134
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x78]
add rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x7c]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x1f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x1f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x1f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x30], 0
jmp 0x7ff7f3c5f1a2
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x30], eax
jae 0x7ff7f3c5f51d
mov eax, 0xffff
mov word [rsp + 0x20], ax
mov qword [rsp + 0x78], 0
cmp qword [rsp + 0x1f8], 0xffff
ja 0x7ff7f3c5f1e1
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x20], ax
jmp 0x7ff7f3c5f23d
cmp qword [rsp + 0x1f8], 0xffff
jbe 0x7ff7f3c5f236
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x30], eax
jae 0x7ff7f3c5f236
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x1f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x88]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x20], ax
jmp 0x7ff7f3c5f23d
xor eax, eax
jmp 0x7ff7f3c5f522
cmp qword [rsp + 0x1f8], 0xffff
ja 0x7ff7f3c5f264
movzx eax, word [rsp + 0x1f8]
movzx ecx, word [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
add ecx, dword [rdx + 0x10]
cmp eax, ecx
je 0x7ff7f3c5f2a6
cmp qword [rsp + 0x1f8], 0xffff
jbe 0x7ff7f3c5f518
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1f8]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x7ff7f3c5f299
inc rax
test dl, dl
jne 0x7ff7f3c5f286
xor eax, eax
jmp 0x7ff7f3c5f29e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x7ff7f3c5f518
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x1f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x48], rax
jb 0x7ff7f3c5f516
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x48], rax
ja 0x7ff7f3c5f516
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x48]
call fcn.7ff7f3cc4584
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x26]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x24]
movzx r8d, byte [rsp + 0x25]
movzx edx, byte [rsp + 0x26]
lea rcx, [rsp + 0xa0]
call fcn.7ff7f3c5e530
mov rcx, rax
call fcn.7ff7f3c5f740
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.7ff7f3a11c80
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov byte [rax], 0
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xd0]
call qword [0x7ff7f3cf34a8]
lea rax, [rsp + 0x27]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x29]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x27]
movzx r8d, byte [rsp + 0x28]
movzx edx, byte [rsp + 0x29]
lea rcx, [rsp + 0xb0]
call fcn.7ff7f3c5e500
mov rcx, rax
call fcn.7ff7f3c5f740
mov rdx, rax
lea rcx, [rsp + 0xd0]
call qword [0x7ff7f3cf3458]
lea rcx, [rsp + 0xd0]
call qword [fcn.7ff7f3cf3460]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x7ff7f3c5f45a
mov rcx, qword [rsp + 0x60]
call fcn.7ff7f3cbea0c
xor eax, eax
jmp 0x7ff7f3c5f522
lea rax, [rsp + 0x2a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x2a]
movzx r8d, byte [rsp + 0x2b]
movzx edx, byte [rsp + 0x2c]
lea rcx, [rsp + 0xc0]
call fcn.7ff7f3c5e4d0
mov rcx, rax
call fcn.7ff7f3c5f740
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.7ff7f3a11c80
test rax, rax
jne 0x7ff7f3c5f4db
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
call fcn.7ff7f3c5f020
mov qword [rsp + 0x48], rax
jmp 0x7ff7f3c5f50c
mov rax, qword [rsp + 0x40]
inc rax
mov rcx, rax
call fcn.7ff7f3cc57f8
cdqe
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
call fcn.7ff7f3c5f020
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x60]
call fcn.7ff7f3cbea0c
jmp 0x7ff7f3c5f51d
jmp 0x7ff7f3c5f198
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.7ff7f3c4ba40
add rsp, 0x1e0
pop rdi
ret