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

Disassembly:
push rbx
push rbp
push r12
sub rsp, 0x60
mov r10, qword [rcx + 0x18]
mov r12d, edx
mov rbp, rcx
mov rax, qword [r10 + 8]
movzx r8d, byte [rax]
lea r9, [rax + 1]
mov qword [r10 + 8], r9
mov ebx, r8d
cmp r8d, 0x80
jb 0x14000168d
and ebx, 0x7f
mov ecx, 7
nop word [rax + rax]
movzx eax, byte [r9]
mov rdx, r9
and eax, 0x7f
inc r9
shl eax, cl
add ecx, 7
or ebx, eax
mov qword [r10 + 8], r9
cmp byte [rdx], 0x80
jae 0x140001670
test ebx, ebx
je 0x140001da0
mov rdx, qword [rbp + 0x18]
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], r13
mov rax, qword [rdx + 8]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r15
movzx r13d, byte [rax]
inc rax
mov qword [rdx + 8], rax
mov rdx, qword [rbp + 0x18]
mov rax, qword [rdx + 8]
movzx ecx, byte [rax]
inc rax
mov qword [rdx + 8], rax
mov rdx, qword [rbp + 0x18]
mov dword [rsp + 0x80], ecx
mov rax, qword [rdx + 8]
movzx ecx, byte [rax]
inc rax
mov qword [rdx + 8], rax
mov rdx, qword [rbp + 0x18]
mov dword [rsp + 0x20], ecx
mov rax, qword [rdx + 8]
movzx ecx, byte [rax]
inc rax
mov qword [rdx + 8], rax
mov r9, qword [rbp + 0x18]
mov dword [rsp + 0x90], ecx
mov rax, qword [r9 + 8]
movzx ecx, byte [rax]
lea r8, [rax + 1]
mov qword [r9 + 8], r8
mov r14d, ecx
cmp ecx, 0x80
jb 0x14000175e
and r14d, 0x7f
mov ecx, 7
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8]
mov rdx, r8
and eax, 0x7f
inc r8
shl eax, cl
add ecx, 7
or r14d, eax
mov qword [r9 + 8], r8
cmp byte [rdx], 0x80
jae 0x140001740
mov r9, qword [rbp + 0x18]
mov rax, qword [r9 + 8]
movzx ecx, byte [rax]
lea r8, [rax + 1]
mov qword [r9 + 8], r8
mov r15d, ecx
cmp ecx, 0x80
jb 0x1400017ae
and r15d, 0x7f
mov ecx, 7
nop word [rax + rax]
movzx eax, byte [r8]
mov rdx, r8
and eax, 0x7f
inc r8
shl eax, cl
add ecx, 7
or r15d, eax
mov qword [r9 + 8], r8
cmp byte [rdx], 0x80
jae 0x140001790
mov r9, qword [rbp + 0x18]
mov rax, qword [r9 + 8]
movzx ecx, byte [rax]
lea r8, [rax + 1]
mov qword [r9 + 8], r8
mov edi, ecx
cmp ecx, 0x80
jb 0x1400017fd
and edi, 0x7f
mov ecx, 7
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8]
mov rdx, r8
and eax, 0x7f
inc r8
shl eax, cl
add ecx, 7
or edi, eax
mov qword [r9 + 8], r8
cmp byte [rdx], 0x80
jae 0x1400017e0
mov rax, qword [rbp + 0x18]
mov ecx, dword [rax + 8]
sub ecx, dword [rax]
mov dword [rsp + 0x98], ecx
mov ecx, 0x58
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x28], rax
mov rsi, rax
test rax, rax
jne 0x14000183e
xor r9d, r9d
lea r8, str.Couldnt_allocate_memory_
lea rdx, str.Error__
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [rsp + 0x80]
mov r9, qword [rbp + 0x18]
mov dword [rsi + 0x10], eax
mov eax, dword [rsp + 0x20]
mov dword [rsi + 0x14], eax
mov eax, dword [rsp + 0x90]
mov dword [rsi + 0xc], r13d
xor r13d, r13d
test byte [r9 + 0x14], 2
mov dword [rsi + 0x18], eax
mov eax, dword [rsp + 0x98]
mov dword [rsi], eax
mov dword [rsi + 4], ebx
mov dword [rsi + 0x1c], r14d
mov dword [rsi + 0x20], r15d
mov dword [rsi + 0x24], edi
mov dword [rsi + 8], r12d
mov qword [rsi + 0x50], r13
mov dword [rsp + 0x80], r13d
jne 0x14000193f
mov rax, qword [r9 + 8]
movzx ecx, byte [rax]
lea r8, [rax + 1]
mov qword [r9 + 8], r8
mov ebx, ecx
mov dword [rsp + 0x80], ecx
cmp ecx, 0x80
jb 0x1400018e4
and ebx, 0x7f
lea ecx, [r13 + 7]
nop dword [rax]
movzx eax, byte [r8]
mov rdx, r8
and eax, 0x7f
inc r8
shl eax, cl
add ecx, 7
or ebx, eax
mov qword [r9 + 8], r8
cmp byte [rdx], 0x80
jae 0x1400018c0
mov dword [rsp + 0x80], ebx
test ebx, ebx
je 0x14000193f
mov r8, qword [rbp + 0x18]
mov rax, qword [r8 + 8]
movzx ecx, byte [rax]
lea rdx, [rax + 1]
mov qword [r8 + 8], rdx
cmp cl, 0x80
jb 0x14000190f
mov rax, rdx
inc rdx
mov qword [r8 + 8], rdx
cmp byte [rax], 0x80
jae 0x140001900
mov r8, qword [rbp + 0x18]
mov rax, qword [r8 + 8]
movzx ecx, byte [rax]
lea rdx, [rax + 1]
mov qword [r8 + 8], rdx
cmp cl, 0x80
jb 0x14000193f
nop word [rax + rax]
mov rax, rdx
inc rdx
mov qword [r8 + 8], rdx
cmp byte [rax], 0x80
jae 0x140001930
lea rcx, [rdi + rdi*4]
mov r12d, edi
shl rcx, 4
mov qword [rsp + 0x30], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsi + 0x28], rax
test rax, rax
jne 0x140001977
xor r9d, r9d
lea r8, str.Couldnt_allocate_memory_
lea rdx, str.Error__
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea r12, [rdi*4]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x20], rax
test rax, rax
jne 0x1400019b0
xor r9d, r9d
lea r8, str.Couldnt_allocate_memory_
lea rdx, str.Error__
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rax, qword [rsp + 0x20]
mov rdi, qword [rbp + 0x18]
mov r8, r12
mov rcx, rax
mov rbx, qword [rdi + 8]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbx + r12]
mov qword [rdi + 8], rax
mov edi, dword [rsp + 0x90]
add rdi, rdi
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsi + 0x30], rax
mov r12, rax
test rax, rax
jne 0x140001a06
xor r9d, r9d
lea r8, str.Couldnt_allocate_memory_
lea rdx, str.Error__
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rbx, qword [rbp + 0x18]
mov r8, rdi
mov rcx, r12
mov rdx, qword [rbx + 8]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx + 8], rdi
lea eax, [r15 + r14]
lea rcx, [r14 + r14*4]
mov dword [rsi + 0x48], eax
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsi + 0x40], rax
test rax, rax
jne 0x140001a54
xor r9d, r9d
lea r8, str.Couldnt_allocate_memory_
lea rdx, str.Error__
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, r15d
lea rcx, [r15 + r15*4]
shl rcx, 3
mov qword [rsp + 0x90], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsi + 0x38], rax
lea r12, [rsi + 0x38]
test rax, rax
jne 0x140001a93
xor r9d, r9d
lea r8, str.Couldnt_allocate_memory_
lea rdx, str.Error__
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ebx, r13d
test r14d, r14d
je 0x140001ab6
nop dword [rax + rax]
mov rdx, qword [rbp + 0x18]
mov r8d, ebx
mov rcx, rsi
call fcn.1400011c0
inc ebx
cmp ebx, r14d
jb 0x140001aa0
test r15d, r15d
je 0x140001c08
mov rsi, qword [rsp + 0x90]
mov rdi, r13
nop word [rax + rax]
mov r9, qword [rbp + 0x18]
mov rax, qword [r9 + 8]
movzx ecx, byte [rax]
lea r8, [rax + 1]
movzx r14d, cl
mov qword [r9 + 8], r8
mov ebx, ecx
and r14b, 1
shr ebx, 1
cmp ebx, 0x40
jb 0x140001b1d
and ebx, 0x3f
mov ecx, 0xffffffff
nop dword [rax]
movzx eax, byte [r8]
add ecx, 7
and eax, 0x7f
mov rdx, r8
shl eax, cl
inc r8
or ebx, eax
mov qword [r9 + 8], r8
cmp byte [rdx], 0x80
jae 0x140001b00
mov rax, qword [r12]
mov ecx, 0x40
mov word [rdi + rax + 0x1c], 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [r12]
mov qword [rdi + rcx], rax
mov rax, qword [r12]
cmp qword [rdi + rax], r13
jne 0x140001b5e
xor r9d, r9d
lea r8, str.Couldnt_allocate_memory_
lea rdx, str.Error__
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rax, qword [rbp + 0x18]
mov ecx, dword [rax + 8]
sub ecx, dword [rax]
mov rax, qword [r12]
mov dword [rdi + rax + 8], ecx
test r14b, r14b
je 0x140001bd0
mov r10, qword [rbp + 0x18]
mov rax, qword [r10 + 8]
movzx ecx, byte [rax]
lea r8, [rax + 1]
mov qword [r10 + 8], r8
mov r9d, ecx
cmp ecx, 0x80
jb 0x140001bbe
and r9d, 0x7f
mov ecx, 7
nop dword [rax + rax]
movzx eax, byte [r8]
mov rdx, r8
and eax, 0x7f
inc r8
shl eax, cl
add ecx, 7
or r9d, eax
mov qword [r10 + 8], r8
cmp byte [rdx], 0x80
jae 0x140001ba0
mov rax, qword [r12]
lea r8, str.INT64
mov dword [rdi + rax + 0x18], r9d
jmp 0x140001bdf
mov rax, qword [r12]
lea r8, str.INT32
mov dword [rdi + rax + 0x18], ebx
mov rcx, r12
lea rdx, [0x140053938]
mov rcx, qword [rcx]
mov rcx, qword [rdi + rcx]
call fcn.140001010
add rdi, 0x28
sub rsi, 1
jne 0x140001ad0
mov rsi, qword [rsp + 0x28]
mov rax, qword [rbp + 0x18]
test byte [rax + 0x14], 2
jne 0x140001c6b
movsxd r15, dword [rsp + 0x80]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
jne 0x140001c44
xor r9d, r9d
lea r8, str.Couldnt_allocate_memory_
lea rdx, str.Error__
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdi, qword [rbp + 0x18]
mov r8, r15
mov rcx, r14
mov rbx, qword [rdi + 8]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbx + r15]
mov rcx, r14
mov qword [rdi + 8], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r10, qword [rsp + 0x30]
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
mov r11, qword [rsp + 0x20]
test r10, r10
je 0x140001d4b
mov rdx, r13
lea rbx, str.ISLT
nop word [rax + rax]
mov r8d, dword [r11 + r13*4]
mov eax, r8d
movzx r9d, r8b
shr eax, 8
movzx ecx, al
mov rax, qword [rsi + 0x28]
mov dword [rdx + rax + 0x10], ecx
mov ecx, r8d
mov rax, qword [rsi + 0x28]
shr ecx, 0x18
shr r8d, 0x10
mov dword [rdx + rax + 0x14], ecx
mov rax, qword [rsi + 0x28]
movzx ecx, r8b
mov dword [rdx + rax + 0x18], ecx
lea rcx, str.UNKNOWN
mov rax, qword [rsi + 0x28]
mov dword [rdx + rax + 0x1c], r8d
cmp r9d, 0x61
jae 0x140001cf1
mov rcx, qword [rbx + r9*8]
mov rax, qword [rsi + 0x28]
mov qword [rdx + rax + 0x28], rcx
mov eax, dword [rsp + 0x98]
lea ecx, [rax + r13*4]
mov rax, qword [rsi + 0x28]
inc r13
mov dword [rdx + rax + 0x40], ecx
mov rax, qword [rsi + 0x28]
mov dword [rdx + rax + 0x30], r9d
mov rax, qword [rbp + 0x18]
mov rcx, qword [rsi + 0x28]
mov eax, dword [rax + 0x18]
mov dword [rdx + rcx + 0x38], eax
lea ecx, [r8 - 0x7fff]
mov rax, qword [rsi + 0x28]
mov dword [rdx + rax + 0x3c], ecx
add rdx, 0x50
mov rax, qword [rbp + 0x18]
inc dword [rax + 0x18]
cmp r13, r10
jb 0x140001ca0
mov rcx, r11
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x10]
mov r13, qword [rsp + 0x50]
test rcx, rcx
je 0x140001d86
cmp qword [rcx + 0x50], 0
mov rax, rcx
je 0x140001d7f
nop dword [rax]
mov rax, qword [rax + 0x50]
mov qword [rbp + 0x10], rax
cmp qword [rax + 0x50], 0
jne 0x140001d70
mov qword [rax + 0x50], rsi
mov rsi, rcx
mov qword [rbp + 0x10], rsi
mov rax, qword [rbp + 0x18]
inc dword [rbp + 8]
mov rsi, qword [rsp + 0x88]
mov dword [rax + 0x18], 1
add rsp, 0x60
pop r12
pop rbp
pop rbx
ret