Function at 0x1401e4cb0
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
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_139]
cmp qword [rsp + 0x1d0], 0
je 0x1401e4cef
cmp qword [rsp + 0x1d8], 0
jne 0x1401e4cf6
xor eax, eax
jmp 0x1401e5133
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1401e4d19
xor eax, eax
jmp 0x1401e5133
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 0x1401e4d49
xor eax, eax
jmp 0x1401e5133
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 0x1401e4d70
xor eax, eax
jmp 0x1401e5133
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 0x1401e4e16
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 0x1401e4de2
xor eax, eax
jmp 0x1401e5133
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 0x1401e4e11
xor eax, eax
jmp 0x1401e5133
jmp 0x1401e4f4e
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x18], 0
je 0x1401e4f0a
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 0x1401e4f0a
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 0x1401e4efb
cmp dword [rsp + 0x40], 0
je 0x1401e4ec1
cmp dword [rsp + 0x40], 1
je 0x1401e4eef
jmp 0x1401e4f05
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 0x1401e4f05
mov eax, dword [rsp + 0x2c]
dec eax
mov dword [rsp + 0x28], eax
jmp 0x1401e4f05
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x30], eax
jmp 0x1401e4e59
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x24], eax
jb 0x1401e4f1f
xor eax, eax
jmp 0x1401e5133
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 0x1401e4f4e
xor eax, eax
jmp 0x1401e5133
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x20], eax
jb 0x1401e4f6a
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x20], eax
jb 0x1401e4f81
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1d0]
add rcx, rax
mov rax, rcx
jmp 0x1401e5133
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 0x1401e4fdf
mov rax, qword [rsp + 0x58]
movsx eax, byte [rax]
cmp eax, 0x2e
jne 0x1401e4fd0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
jmp 0x1401e4fdf
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
jmp 0x1401e4fab
cmp qword [rsp + 0x50], 0
jne 0x1401e4fee
xor eax, eax
jmp 0x1401e5133
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 0x1401e501b
xor eax, eax
jmp 0x1401e5133
mov qword [rsp + 0x48], 0
jmp 0x1401e5033
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x48], rax
jae 0x1401e507a
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
test eax, eax
je 0x1401e507a
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 0x1401e5026
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0x104
jae 0x1401e5097
jmp 0x1401e509c
call fcn.1401f51f0
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 0x1401e50d1
xor eax, eax
jmp 0x1401e5133
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x50]
movsx eax, byte [rcx + rax]
cmp eax, 0x23
je 0x1401e5102
mov rax, qword [rsp + 0x50]
inc rax
mov rdx, rax
mov rcx, qword [rsp + 0x1d0]
call fcn.1401e4cb0
jmp 0x1401e5133
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
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_539]
movsxd rax, dword [rsp + 0x6c]
mov rdx, rax
mov rcx, qword [rsp + 0x1d0]
call fcn.1401e4cb0
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1401f4e50
add rsp, 0x1c8
ret