Function at 0x140008490
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x50], 0
jmp 0x1400084c3
mov rax, qword [rsp + 0x50]
add rax, 0x14
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 4]
cmp qword [rsp + 0x50], rax
jae 0x140008962
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax]
mov rcx, qword [rsp + 0xe8]
add rcx, rax
mov rax, rcx
add rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
test rax, rax
jne 0x140008519
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
test rax, rax
jne 0x140008519
jmp 0x140008962
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0xe8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x88]
call qword [0x14003f4a0]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000858a
xor eax, eax
jmp 0x140008967
xor eax, eax
cmp eax, 1
je 0x14000895d
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xe8]
add rcx, rax
mov rax, rcx
add rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xe8]
add rcx, rax
mov rax, rcx
add rax, qword [rsp + 0x68]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
jne 0x14000860b
mov rax, qword [rsp + 0xb0]
cmp qword [rax], 0
jne 0x14000860b
jmp 0x14000895d
mov rax, qword [rsp + 0x40]
movabs rcx, 0x8000000000000000
mov rax, qword [rax]
and rax, rcx
test rax, rax
je 0x1400087ec
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
cmp dword [rax], 0x4550
je 0x140008677
xor eax, eax
jmp 0x140008967
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x98]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400087e7
xor eax, eax
cmp eax, 1
je 0x1400087e0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x208
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1400087e0
mov edx, 0x5c
lea rcx, str.C:UsersMALDEV01_source_reposMyPackerLocalPeExec.c
call fcn.140005960
test rax, rax
je 0x140008756
mov edx, 0x5c
lea rcx, [0x14003cf48]
call fcn.140005960
inc rax
mov qword [rsp + 0xa0], rax
jmp 0x140008765
lea rax, [0x14003cf10]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x28], 0x6c
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax]
mov r8, qword [rsp + 0x88]
lea rdx, str.____Could_Not_Import___s_d____s._d__n
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_wsprintfA]
mov dword [rsp + 0x70], eax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x58]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x140008967
jmp 0x14000893a
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xe8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
add rax, 2
mov rcx, rax
call fcn.140005710
mov edx, eax
mov rcx, qword [rsp + 0x30]
call section..text
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14000893a
xor eax, eax
cmp eax, 1
je 0x140008936
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x208
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140008936
mov edx, 0x5c
lea rcx, [0x14003ceb0]
call fcn.140005960
test rax, rax
je 0x1400088a5
mov edx, 0x5c
lea rcx, [0x14003ce78]
call fcn.140005960
inc rax
mov qword [rsp + 0xa8], rax
jmp 0x1400088b4
lea rax, [0x14003ce40]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x80]
add rax, 2
mov dword [rsp + 0x28], 0x77
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8, qword [rsp + 0x88]
lea rdx, str.____Could_Not_Import___s._s____s._d__n
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfA]
mov dword [rsp + 0x74], eax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x74]
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x60]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x140008967
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
mov rax, qword [rsp + 0x68]
add rax, 8
mov qword [rsp + 0x68], rax
jmp 0x14000858a
jmp 0x1400084b5
mov eax, 1
add rsp, 0xd8
ret