Function at 0x1401e5a30
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 0x1401e5a69
cmp qword [rsp + 0x1d8], 0
jne 0x1401e5a70
xor eax, eax
jmp 0x1401e5ea7
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1401e5a93
xor eax, eax
jmp 0x1401e5ea7
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 0x1401e5ac3
xor eax, eax
jmp 0x1401e5ea7
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 0x1401e5aea
xor eax, eax
jmp 0x1401e5ea7
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 0x1401e5b90
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 0x1401e5b5c
xor eax, eax
jmp 0x1401e5ea7
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 0x1401e5b8b
xor eax, eax
jmp 0x1401e5ea7
jmp 0x1401e5cc8
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x18], 0
je 0x1401e5c84
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 0x1401e5c84
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 0x1401e5c75
cmp dword [rsp + 0x40], 0
je 0x1401e5c3b
cmp dword [rsp + 0x40], 1
je 0x1401e5c69
jmp 0x1401e5c7f
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 0x1401e5c7f
mov eax, dword [rsp + 0x2c]
dec eax
mov dword [rsp + 0x28], eax
jmp 0x1401e5c7f
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x30], eax
jmp 0x1401e5bd3
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x24], eax
jb 0x1401e5c99
xor eax, eax
jmp 0x1401e5ea7
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 0x1401e5cc8
xor eax, eax
jmp 0x1401e5ea7
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x20], eax
jb 0x1401e5ce4
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x20], eax
jb 0x1401e5cfb
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1d0]
add rcx, rax
mov rax, rcx
jmp 0x1401e5ea7
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 0x1401e5d59
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
cmp eax, 0x2e
jne 0x1401e5d4a
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
jmp 0x1401e5d59
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
jmp 0x1401e5d25
cmp qword [rsp + 0x50], 0
jne 0x1401e5d68
xor eax, eax
jmp 0x1401e5ea7
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 0x1401e5d95
xor eax, eax
jmp 0x1401e5ea7
mov qword [rsp + 0x48], 0
jmp 0x1401e5dad
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x48], rax
jae 0x1401e5df4
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
test eax, eax
je 0x1401e5df4
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 0x1401e5da0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0x104
jae 0x1401e5e11
jmp 0x1401e5e16
call fcn.1401f5e60
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 0x1401e5e4b
xor eax, eax
jmp 0x1401e5ea7
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x50]
movsx eax, byte [rcx + rax]
cmp eax, 0x23
je 0x1401e5e7c
mov rax, qword [rsp + 0x50]
inc rax
mov rdx, rax
mov rcx, qword [rsp + 0x1d0]
call fcn.1401e5a30
jmp 0x1401e5ea7
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.1401e5a30
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1401f5ac0
add rsp, 0x1c8
ret