Function at 0x140198bd0
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, 0x360
mov rax, qword [0x14034e010]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov qword [rsp + 0xa8], 0
cmp qword [rsp + 0x370], 0
jne 0x140198c12
xor eax, eax
jmp 0x140199438
mov rax, qword [rsp + 0x370]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140198c3b
xor eax, eax
jmp 0x140199438
mov rax, qword [rsp + 0xe8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x370]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
cmp dword [rax], 0x4550
je 0x140198c74
xor eax, eax
jmp 0x140199438
mov rax, qword [rsp + 0xb0]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140198ccd
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x88]
add rax, qword [rsp + 0x370]
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x8c]
mov dword [rsp + 0xb8], eax
jmp 0x140198d0b
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x78]
add rax, qword [rsp + 0x370]
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x7c]
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x370]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x370]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x370]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x30], 0
jmp 0x140198d79
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 0x140199430
mov eax, 0xffff
mov word [rsp + 0x20], ax
mov qword [rsp + 0xf0], 0
cmp qword [rsp + 0x378], 0xffff
ja 0x140198dbb
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x20], ax
jmp 0x140198e1a
cmp qword [rsp + 0x378], 0xffff
jbe 0x140198e13
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x30], eax
jae 0x140198e13
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xf8]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x370]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf0], rax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x100]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x20], ax
jmp 0x140198e1a
xor eax, eax
jmp 0x140199438
cmp qword [rsp + 0x378], 0xffff
ja 0x140198e41
movzx eax, word [rsp + 0x378]
movzx ecx, word [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
add ecx, dword [rdx + 0x10]
cmp eax, ecx
je 0x140198e86
cmp qword [rsp + 0x378], 0xffff
jbe 0x14019942b
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x378]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140198e79
inc rax
test dl, dl
jne 0x140198e66
xor eax, eax
jmp 0x140198e7e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14019942b
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x108]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x370]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xa8], rax
jb 0x140199429
mov eax, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0xa8], rax
ja 0x140199429
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xa0], 0
lea rax, [rsp + 0x250]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov qword [rsp + 0xc8], 0
mov rcx, qword [rsp + 0xa8]
call fcn.1402e22b4
mov qword [rsp + 0xc0], 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 eax, byte [rsp + 0x24]
mov byte [rsp + 0x88], al
movzx eax, byte [rsp + 0x25]
mov byte [rsp + 0x90], al
movzx eax, byte [rsp + 0x26]
mov byte [rsp + 0x98], al
movabs rax, 0xc6e04d31aa11ed1b
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x160], rax
movabs rax, 0xb7bef14868643e62
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x168], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0xd0], rax
movabs rax, 0xc6e04d31aa11ed35
mov qword [rsp + 0x220], rax
movabs rax, 0xb7bef14868643e62
mov qword [rsp + 0x228], rax
lea rax, [rsp + 0x27]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x27]
mov byte [rsp + 0x40], al
movdqa xmm0, xmmword [rsp + 0x220]
movdqa xmmword [rsp + 0x1a0], xmm0
mov rax, qword [rsp + 0xd0]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x190], xmm0
movdqa xmm0, xmmword [rsp + 0x190]
pxor xmm0, xmmword [rsp + 0x1a0]
movdqa xmmword [rsp + 0x1b0], xmm0
mov rax, qword [rsp + 0xd0]
movdqa xmm0, xmmword [rsp + 0x1b0]
movdqu xmmword [rax], xmm0
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0xc0]
call fcn.1402cd24c
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov byte [rax], 0
mov rax, qword [rsp + 0xa0]
inc rax
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x250]
call qword [0x1403110a8]
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
lea rax, [rsp + 0x2a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x48], al
movzx eax, byte [rsp + 0x29]
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x2a]
mov byte [rsp + 0x58], al
movabs rax, 0xc6e04d31c67d891b
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x170], rax
movabs rax, 0xb7bef14868643e62
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x178], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0xd8], rax
movabs rax, 0xc6e04d31aa11ed35
mov qword [rsp + 0x230], rax
movabs rax, 0xb7bef14868643e62
mov qword [rsp + 0x238], rax
lea rax, [rsp + 0x2b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x2b]
mov byte [rsp + 0x60], al
movdqa xmm0, xmmword [rsp + 0x230]
movdqa xmmword [rsp + 0x1d0], xmm0
mov rax, qword [rsp + 0xd8]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x1c0], xmm0
movdqa xmm0, xmmword [rsp + 0x1c0]
pxor xmm0, xmmword [rsp + 0x1d0]
movdqa xmmword [rsp + 0x1e0], xmm0
mov rax, qword [rsp + 0xd8]
movdqa xmm0, xmmword [rsp + 0x1e0]
movdqu xmmword [rax], xmm0
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x250]
call qword [0x140311058]
lea rcx, [rsp + 0x250]
call qword [0x140311060]
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
jne 0x14019925f
mov rcx, qword [rsp + 0xc0]
call fcn.1402dc73c
xor eax, eax
jmp 0x140199438
lea rax, [rsp + 0x2c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x68], al
movzx eax, byte [rsp + 0x2d]
mov byte [rsp + 0x70], al
movzx eax, byte [rsp + 0x2e]
mov byte [rsp + 0x78], al
movabs rax, 0xc6e04d31aa11ed16
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x180], rax
movabs rax, 0xb7bef14868643e62
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x188], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0xe0], rax
movabs rax, 0xc6e04d31aa11ed35
mov qword [rsp + 0x240], rax
movabs rax, 0xb7bef14868643e62
mov qword [rsp + 0x248], rax
lea rax, [rsp + 0x2f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x2f]
mov byte [rsp + 0x80], al
movdqa xmm0, xmmword [rsp + 0x240]
movdqa xmmword [rsp + 0x200], xmm0
mov rax, qword [rsp + 0xe0]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x1f0], xmm0
movdqa xmm0, xmmword [rsp + 0x1f0]
pxor xmm0, xmmword [rsp + 0x200]
movdqa xmmword [rsp + 0x210], xmm0
mov rax, qword [rsp + 0xe0]
movdqa xmm0, xmmword [rsp + 0x210]
movdqu xmmword [rax], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x150], rax
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0xa0]
call fcn.1402cd24c
test rax, rax
jne 0x1401993e2
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xc8]
call fcn.140198bd0
mov qword [rsp + 0xa8], rax
jmp 0x14019941c
mov rax, qword [rsp + 0xa0]
inc rax
mov rcx, rax
call fcn.1402e3528
cdqe
mov qword [rsp + 0x158], rax
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0xc8]
call fcn.140198bd0
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xc0]
call fcn.1402dc73c
jmp 0x140199430
jmp 0x140198d6f
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.140269770
add rsp, 0x360
pop rdi
ret