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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x140245028]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, rcx
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x100]
mov rbp, rdx
mov rbx, r8
mov qword [rsp + 0x50], rdx
xor r8d, r8d
mov qword [rsp + 0x58], rcx
mov rsi, qword [rax]
movzx r13d, r8w
mov r14, r9
mov rdx, qword [rax + 0x10]
mov r12d, r8d
mov rax, qword [r9 + 0x20]
mov edi, r8d
mov rcx, qword [rbp + 0x20]
mov r10d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x24], r8d
cmp dword [rbp + 0x14], r8d
jle 0x1401a9f38
mov r15d, 0xffbf
nop dword [rax]
movzx edx, word [rcx + 0x12]
and dx, r15w
mov word [rcx + 0x12], dx
mov r11d, dword [r14 + 0x44]
cmp dword [rcx + 0x1c], r11d
jne 0x1401a9f1f
test qword [rcx + 0x28], rbx
jne 0x1401a9f1f
movzx eax, word [rcx + 0x14]
test eax, 0xfffff7ff
je 0x1401a9f1f
test dl, dl
js 0x1401a9f1f
movzx r8d, byte [r14 + 0x3c]
test r8b, 0x58
je 0x1401a9f15
mov rax, qword [rcx]
mov r9d, dword [rax + 4]
test r9b, 3
je 0x1401a9f1f
cmp dword [rax + 0x34], r11d
jne 0x1401a9f1f
test r8b, 0x18
je 0x1401a9f15
test r9b, 2
jne 0x1401a9f1f
inc edi
or dx, 0x40
mov word [rcx + 0x12], dx
inc r10d
add rcx, 0x38
cmp r10d, dword [rbp + 0x14]
jl 0x1401a9ec0
mov rdx, qword [rsp + 0x38]
xor r8d, r8d
mov dword [rsp + 0x24], edi
lea r10, [fcn.140144a90]
mov ecx, r8d
mov dword [rsp + 0x2c], ecx
mov r9d, 1
lea r11, [0x1401448e0]
test rdx, rdx
je 0x1401aa12f
movsxd r13, dword [rdx]
mov ebp, r8d
mov r15, r13
test r13d, r13d
jle 0x1401aa0dd
mov r12, qword [rsp + 0x40]
lea rdi, [rdx + 0x18]
mov rsi, r8
nop word [rax + rax]
mov rbx, qword [rdi - 0x10]
mov word [rsp + 0x84], r9w
mov qword [rsp + 0x68], r10
mov qword [rsp + 0x70], r11
mov dword [rsp + 0x88], r8d
test rbx, rbx
je 0x1401aa0b3
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.14013d150
cmp word [rsp + 0x84], 0
jne 0x1401aa09c
test byte [rdi], 2
jne 0x1401aa0c5
movzx eax, byte [rbx]
cmp al, 0xa7
jne 0x1401a9fe0
mov eax, dword [r14 + 0x44]
cmp dword [rbx + 0x2c], eax
jmp 0x1401aa09a
cmp al, 0x71
jne 0x1401aa0c5
mov rcx, qword [rbx + 0x10]
cmp byte [rcx], 0xa7
jne 0x1401aa0c5
mov eax, dword [r14 + 0x44]
cmp dword [rcx + 0x2c], eax
jne 0x1401aa0c5
movzx eax, word [rcx + 0x30]
mov word [rbx + 0x30], ax
movsx rax, word [rcx + 0x30]
test ax, ax
js 0x1401aa09c
lea rcx, [rax + rax*2]
mov rax, qword [r12 + 8]
movzx edx, word [rax + rcx*8 + 0x12]
bt dx, 9
jae 0x1401aa054
mov rax, qword [rax + rcx*8]
cmp byte [rax], 0
je 0x1401aa03e
inc rax
cmp byte [rax], 0
jne 0x1401aa036
test dl, 4
je 0x1401aa04b
inc rax
cmp byte [rax], 0
jne 0x1401aa043
lea r9, [rax + 1]
test r9, r9
jne 0x1401aa05b
lea r9, [0x14020459c]
mov r8, qword [rbx + 8]
test r8, r8
jne 0x1401aa06b
neg r9
sbb edx, edx
jmp 0x1401aa098
test r9, r9
je 0x1401aa0c5
sub r9, r8
lea r15, [0x1402050e0]
nop word [rax + rax]
movzx edx, byte [r8]
movzx eax, byte [r9 + r8]
cmp edx, eax
jne 0x1401aa108
test edx, edx
jne 0x1401aa11a
mov r15, r13
test edx, edx
jne 0x1401aa0c5
lea r11, [0x1401448e0]
mov r9d, 1
lea r10, [fcn.140144a90]
xor r8d, r8d
inc ebp
inc rsi
add rdi, 0x20
cmp rsi, r15
jl 0x1401a9f80
mov r12d, dword [rsp + 0x28]
mov r9d, 1
mov ecx, dword [rsp + 0x2c]
mov edi, dword [rsp + 0x24]
mov rsi, qword [rsp + 0x48]
cmp ebp, r13d
jne 0x1401aa12a
mov rax, qword [rsp + 0x30]
mov ecx, r13d
mov r13d, dword [rsp + 0x20]
movzx eax, word [rax + 0x3c]
test al, al
jns 0x1401aa122
mov r12d, eax
shr r12d, 9
and r12d, 1
add r12d, 2
jmp 0x1401aa12f
movzx ecx, byte [rax + r15]
movzx edx, byte [rdx + r15]
sub edx, ecx
jne 0x1401aa095
inc r8
jmp 0x1401aa080
test al, 0x40
cmovne r12d, r9d
jmp 0x1401aa12f
mov r13d, dword [rsp + 0x20]
movsxd rbp, ecx
mov rcx, qword [rsi]
movsxd rdi, edi
imul rax, rdi, 0x1c
lea rbx, [rbp + 0x11]
lea rbx, [rax + rbx*8]
test rcx, rcx
je 0x1401aa153
mov rdx, rbx
call fcn.1400fc6d0
jmp 0x1401aa15b
mov rcx, rbx
call fcn.1400fbf20
mov r15, rax
test rax, rax
je 0x1401aa36e
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, [rdi + rdi*2]
mov qword [r15 + 0x68], rsi
lea rdx, [rdi + 0x10]
mov dword [r15 + 0x70], r12d
mov rdi, qword [rsp + 0x50]
lea rdx, [r15 + rdx*8]
lea r14, [rdx + rax*4]
mov qword [r15 + 8], rdx
mov qword [r15 + 0x18], r14
lea rax, [r14 + rbp*8]
mov qword [r15 + 0x20], rax
xor eax, eax
mov dword [r15 + 0x74], eax
mov r10d, eax
mov qword [r15 + 0x60], rdi
mov ebx, eax
mov r8, qword [rdi + 0x20]
mov qword [rsp + 0x30], r14
cmp dword [rdi + 0x14], eax
jle 0x1401aa2be
add rdx, 4
lea r11d, [rax + 1]
xor r14d, r14d
mov esi, 0x100
mov r9d, 0x3fff
mov r12d, 0x180
nop
test byte [r8 + 0x12], 0x40
je 0x1401aa2a8
mov eax, dword [r8 + 0x20]
mov dword [rdx - 4], eax
mov dword [rdx + 4], ebx
movzx ecx, word [r8 + 0x14]
and cx, r9w
cmp cx, 1
jne 0x1401aa21f
cmp word [r8 + 0x12], r14w
jl 0x1401aa21a
cmp r10d, 0x1f
mov eax, r11d
cmovg eax, r14d
or dword [r15 + 0x74], eax
mov byte [rdx], 2
jmp 0x1401aa29e
cmp cx, 0x40
jne 0x1401aa22e
movzx eax, byte [r8 + 0x17]
mov byte [rdx], al
jmp 0x1401aa29e
test r12w, cx
je 0x1401aa240
cmp cx, si
setne al
add al, 0x47
mov byte [rdx], al
jmp 0x1401aa29e
mov byte [rdx], cl
test cl, 0x3c
je 0x1401aa29e
mov rax, qword [r8]
mov r9, qword [rax + 0x18]
movzx eax, byte [r9]
cmp al, 0xb0
jne 0x1401aa25b
movzx eax, byte [r9 + 2]
cmp al, 0xb1
jne 0x1401aa265
mov rax, qword [r9 + 0x20]
jmp 0x1401aa271
cmp al, 0x8a
jne 0x1401aa298
mov rax, qword [r9 + 0x20]
mov rax, qword [rax + 0x20]
cmp dword [rax], 1
jle 0x1401aa298
cmp r10d, 0x10
jge 0x1401aa284
movzx r13d, r13w
bts r13d, r10d
cmp cx, 0x10
jne 0x1401aa28f
mov byte [rdx], 8
jmp 0x1401aa298
cmp cx, 4
jne 0x1401aa298
mov byte [rdx], 0x20
mov r9d, 0x3fff
inc r10d
rol r11d, 1
add rdx, 0xc
inc ebx
add r8, 0x38
cmp ebx, dword [rdi + 0x14]
jl 0x1401aa1e0
mov r14, qword [rsp + 0x30]
xor eax, eax
mov dword [r15], r10d
mov esi, eax
test rbp, rbp
jle 0x1401aa35c
mov rbx, qword [rsp + 0x38]
lea rcx, [fcn.140144a90]
add rbx, 0x18
lea rdx, [0x1401448e0]
mov r12d, 1
nop dword [rax]
mov rdi, qword [rbx - 0x10]
mov word [rsp + 0x84], r12w
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x88], eax
test rdi, rdi
je 0x1401aa352
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14013d150
cmp word [rsp + 0x84], 0
lea rcx, [fcn.140144a90]
lea rdx, [0x1401448e0]
jne 0x1401aa350
movsx eax, word [rdi + 0x30]
inc esi
mov dword [r14], eax
movzx eax, byte [rbx]
and al, r12b
mov byte [r14 + 4], al
add r14, 8
xor eax, eax
add rbx, 0x20
sub rbp, 1
jne 0x1401aa2f0
mov rax, qword [rsp + 0x58]
mov dword [r15 + 0x10], esi
mov word [rax], r13w
mov rax, r15
jmp 0x1401aa37f
lea rdx, str.out_of_memory
mov rcx, rsi
call fcn.1401000b0
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401cd610
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret