Function at 0x1401e5190
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 0x1401e51c9
cmp qword [rsp + 0x1d8], 0
jne 0x1401e51d0
xor eax, eax
jmp 0x1401e5607
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1401e51f3
xor eax, eax
jmp 0x1401e5607
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 0x1401e5223
xor eax, eax
jmp 0x1401e5607
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 0x1401e524a
xor eax, eax
jmp 0x1401e5607
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 0x1401e52f0
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 0x1401e52bc
xor eax, eax
jmp 0x1401e5607
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 0x1401e52eb
xor eax, eax
jmp 0x1401e5607
jmp 0x1401e5428
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x18], 0
je 0x1401e53e4
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 0x1401e53e4
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 0x1401e53d5
cmp dword [rsp + 0x40], 0
je 0x1401e539b
cmp dword [rsp + 0x40], 1
je 0x1401e53c9
jmp 0x1401e53df
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 0x1401e53df
mov eax, dword [rsp + 0x2c]
dec eax
mov dword [rsp + 0x28], eax
jmp 0x1401e53df
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x30], eax
jmp 0x1401e5333
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x24], eax
jb 0x1401e53f9
xor eax, eax
jmp 0x1401e5607
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 0x1401e5428
xor eax, eax
jmp 0x1401e5607
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x20], eax
jb 0x1401e5444
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x20], eax
jb 0x1401e545b
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1d0]
add rcx, rax
mov rax, rcx
jmp 0x1401e5607
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 0x1401e54b9
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
cmp eax, 0x2e
jne 0x1401e54aa
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
jmp 0x1401e54b9
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
jmp 0x1401e5485
cmp qword [rsp + 0x50], 0
jne 0x1401e54c8
xor eax, eax
jmp 0x1401e5607
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 0x1401e54f5
xor eax, eax
jmp 0x1401e5607
mov qword [rsp + 0x48], 0
jmp 0x1401e550d
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x48], rax
jae 0x1401e5554
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
test eax, eax
je 0x1401e5554
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 0x1401e5500
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0x104
jae 0x1401e5571
jmp 0x1401e5576
call fcn.1401f55a0
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 0x1401e55ab
xor eax, eax
jmp 0x1401e5607
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x50]
movsx eax, byte [rcx + rax]
cmp eax, 0x23
je 0x1401e55dc
mov rax, qword [rsp + 0x50]
inc rax
mov rdx, rax
mov rcx, qword [rsp + 0x1d0]
call fcn.1401e5190
jmp 0x1401e5607
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.1401e5190
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1401f5200
add rsp, 0x1c8
ret