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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov ecx, 8
imul rcx, rcx, 0
lea rax, [rax + rcx + 0x88]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax + 4], 0
jne 0x1400023d7
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140002656
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x18], 0
je 0x140002404
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x14], 0
jne 0x140002416
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140002656
mov rax, qword [rsp + 0x98]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
test eax, eax
jne 0x14000247e
mov rax, qword [rsp + 0x98]
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rsp + 0x30]
cmp eax, dword [rcx + 0x10]
jae 0x14000245c
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140002656
mov rax, qword [rsp + 0x98]
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rsp + 0x30]
sub eax, dword [rcx + 0x10]
mov dword [rsp + 0x38], eax
jmp 0x14000260f
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x18], 0
jne 0x1400024a0
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140002656
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x50], 0
jne 0x1400025b3
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
imul rax, rax, 0x10
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x78]
mov r8, rcx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x50], rcx
cmp qword [rsp + 0x40], 0
jne 0x14000253a
mov ecx, 0xe
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140002656
mov dword [rsp + 0x3c], 0
jmp 0x140002578
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
add rax, 2
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x40]
add rax, 0x10
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jae 0x1400025b3
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
movzx ecx, word [rcx]
mov word [rax + 8], cx
jmp 0x140002544
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
lea rcx, [0x1400019e4]
mov qword [rsp + 0x20], rcx
mov r9d, 0x10
mov r8d, eax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x50]
lea rcx, [rsp + 0x98]
call sym.Input.exe_bsearch
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140002602
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140002656
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 8]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x38], eax
jbe 0x14000262c
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140002656
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x38]
shl ecx, 2
mov ecx, ecx
mov eax, dword [rax + rcx]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
add rsp, 0x88
ret