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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2d8
mov rax, qword [0x14002a740]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
cmp qword [rsp + 0x2f0], 0
je 0x140001e79
cmp dword [rsp + 0x2f8], 0
jne 0x140001e80
xor eax, eax
jmp 0x140002195
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140001ead
xor eax, eax
jmp 0x140002195
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0x4550
je 0x140001eda
xor eax, eax
jmp 0x140002195
lea rax, [rsp + 0xc0]
mov rcx, qword [rsp + 0x50]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x130]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x24], 0
jmp 0x140001f7a
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x24], eax
jae 0x140002193
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x88]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x98]
call fcn.14000bae0
cmp dword [rsp + 0x2f8], eax
jne 0x14000218e
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x40], rax
jb 0x140002187
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x8c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x40], rax
jae 0x140002187
lea rax, [rsp + 0x1b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x40]
call fcn.1400135d0
mov r8, rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x1b0]
call fcn.14001d780
mov dword [rsp + 0x20], 0
jmp 0x14000208f
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x1b0]
call fcn.1400135d0
mov rcx, qword [rsp + 0xa0]
cmp rcx, rax
jae 0x1400020fd
movsxd rax, dword [rsp + 0x20]
movsx eax, byte [rsp + rax + 0x1b0]
cmp eax, 0x2e
jne 0x1400020fb
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0x104
jae 0x1400020e7
jmp 0x1400020ec
call fcn.14000c960
mov rax, qword [rsp + 0x60]
mov byte [rsp + rax + 0x1b0], 0
jmp 0x1400020fd
jmp 0x140002085
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x38]
lea rax, [rsp + rax + 0x1b1]
mov qword [rsp + 0x68], rax
mov ecx, 0x3a32ca43
call fcn.140001ce0
mov edx, 0x393634a9
mov rcx, rax
call fcn.140001e40
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x140002183
mov rcx, qword [rsp + 0x68]
call fcn.14000bae0
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xb0]
call fcn.140001e40
jmp 0x140002195
xor eax, eax
jmp 0x140002195
mov rax, qword [rsp + 0x40]
jmp 0x140002195
jmp 0x140001f70
xor eax, eax
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.14000cbe0
add rsp, 0x2d8
pop rdi
pop rsi
ret