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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1c8
mov rax, qword [0x1402ddc80]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
cmp qword [rsp + 0x1d0], 0
je 0x1401e50b9
cmp qword [rsp + 0x1d8], 0
jne 0x1401e50c0
xor eax, eax
jmp 0x1401e54f7
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1401e50e3
xor eax, eax
jmp 0x1401e54f7
mov rax, qword [rsp + 0x78]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1d0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp dword [rax], 0x4550
je 0x1401e5113
xor eax, eax
jmp 0x1401e54f7
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0x88]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1401e513a
xor eax, eax
jmp 0x1401e54f7
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0x8c]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x24], 0xffffffff
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x1d0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x1d8], 0xffff
ja 0x1401e51e0
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov ecx, dword [rsp + 0x1d8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x24], eax
jb 0x1401e51ac
xor eax, eax
jmp 0x1401e54f7
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x1d0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x24]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1401e51db
xor eax, eax
jmp 0x1401e54f7
jmp 0x1401e5318
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x18], 0
je 0x1401e52d4
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x1d0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x30], eax
jg 0x1401e52d4
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
sar eax, 1
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x1d0]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x1d8]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0xffffffff
je 0x1401e52c5
cmp dword [rsp + 0x40], 0
je 0x1401e528b
cmp dword [rsp + 0x40], 1
je 0x1401e52b9
jmp 0x1401e52cf
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x1d0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x2c]
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x30], eax
jmp 0x1401e52cf
mov eax, dword [rsp + 0x2c]
dec eax
mov dword [rsp + 0x28], eax
jmp 0x1401e52cf
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x30], eax
jmp 0x1401e5223
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x24], eax
jb 0x1401e52e9
xor eax, eax
jmp 0x1401e54f7
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x1d0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x24]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1401e5318
xor eax, eax
jmp 0x1401e54f7
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x20], eax
jb 0x1401e5334
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x20], eax
jb 0x1401e534b
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1d0]
add rcx, rax
mov rax, rcx
jmp 0x1401e54f7
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1d0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
test eax, eax
je 0x1401e53a9
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
cmp eax, 0x2e
jne 0x1401e539a
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
jmp 0x1401e53a9
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
jmp 0x1401e5375
cmp qword [rsp + 0x50], 0
jne 0x1401e53b8
xor eax, eax
jmp 0x1401e54f7
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0x104
jb 0x1401e53e5
xor eax, eax
jmp 0x1401e54f7
mov qword [rsp + 0x48], 0
jmp 0x1401e53fd
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x48], rax
jae 0x1401e5444
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
test eax, eax
je 0x1401e5444
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + rcx + 0xa0], al
jmp 0x1401e53f0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0x104
jae 0x1401e5461
jmp 0x1401e5466
call fcn.1401f5400
mov rax, qword [rsp + 0x88]
mov byte [rsp + rax + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x1d0], rax
cmp qword [rsp + 0x1d0], 0
jne 0x1401e549b
xor eax, eax
jmp 0x1401e54f7
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x50]
movsx eax, byte [rcx + rax]
cmp eax, 0x23
je 0x1401e54cc
mov rax, qword [rsp + 0x50]
inc rax
mov rdx, rax
mov rcx, qword [rsp + 0x1d0]
call fcn.1401e5080
jmp 0x1401e54f7
mov rax, qword [rsp + 0x50]
add rax, 2
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [rsp + 0x6c], eax
movsxd rax, dword [rsp + 0x6c]
mov rdx, rax
mov rcx, qword [rsp + 0x1d0]
call fcn.1401e5080
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1401f5060
add rsp, 0x1c8
ret