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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov eax, dword [rdx + 0x14]
xor ebp, ebp
mov word [rsp + 0x80], bp
mov rdi, r9
mov r12, rcx
mov rcx, qword [rdx + 0x20]
mov r9, r8
mov ebx, ebp
test eax, eax
jle 0x14019d072
mov r8d, dword [rdi + 0x44]
add rcx, 0x30
mov edx, eax
nop dword [rax]
cmp dword [rcx - 0x14], r8d
jne 0x14019d068
test qword [rcx], r9
jne 0x14019d068
movzx eax, word [rcx - 0x1c]
test eax, 0xfffff7ff
je 0x14019d068
inc ebx
add rcx, 0x40
sub rdx, 1
jne 0x14019d050
mov rax, qword [rsp + 0xa0]
mov esi, ebp
mov dword [rsp + 0x20], ebp
test rax, rax
je 0x14019d0c3
movsxd r11, dword [rax]
mov r9d, ebp
test r11d, r11d
jle 0x14019d0b8
mov rdx, rbp
lea rcx, [rax + 8]
mov r8, qword [rcx]
cmp byte [r8], 0xa2
jne 0x14019d0b8
mov eax, dword [rdi + 0x44]
cmp dword [r8 + 0x2c], eax
jne 0x14019d0b8
inc r9d
inc rdx
add rcx, 0x28
cmp rdx, r11
jl 0x14019d097
cmp r9d, r11d
cmove esi, r11d
mov dword [rsp + 0x20], esi
mov rcx, qword [r12]
movsxd r14, ebx
movsxd r15, esi
lea rdi, [r14 + 7]
lea rdi, [r14 + rdi*4]
lea r15, [r15*8]
lea rdi, [r15 + rdi*4]
test rcx, rcx
je 0x14019d163
cmp dword [rcx + 0x170], ebp
jne 0x14019d158
movzx eax, word [rcx + 0x174]
cmp rdi, rax
jbe 0x14019d10a
inc dword [rcx + 0x180]
mov rdx, rdi
call fcn.1401a9e70
jmp 0x14019d16b
mov r13, qword [rcx + 0x190]
test r13, r13
je 0x14019d129
mov rax, qword [r13]
mov qword [rcx + 0x190], rax
inc dword [rcx + 0x17c]
jmp 0x14019d16e
mov r13, qword [rcx + 0x188]
test r13, r13
je 0x14019d148
mov rax, qword [r13]
mov qword [rcx + 0x188], rax
inc dword [rcx + 0x17c]
jmp 0x14019d16e
inc dword [rcx + 0x184]
mov rdx, rdi
call fcn.1401a9e70
jmp 0x14019d16b
cmp byte [rcx + 0x61], bpl
je 0x14019d100
mov r13, rbp
jmp 0x14019d16e
mov rcx, rdi
call fcn.140203f00
mov r13, rax
test r13, r13
je 0x14019d38b
mov r8, rdi
xor edx, edx
mov rcx, r13
call fcn.140289490
mov dword [r13], ebx
lea rdx, [r13 + 0x70]
mov dword [r13 + 0x10], esi
lea rcx, [r14 + r14*2]
mov qword [r13 + 8], rdx
lea r11, [rdx + rcx*4]
mov qword [r13 + 0x18], r11
lea rax, [r15 + r11]
mov qword [r13 + 0x20], rax
mov r10d, ebp
mov rax, qword [rsp + 0x88]
mov qword [r13 + 0x68], r12
mov r12, rax
mov qword [r13 + 0x60], rax
mov qword [rsp + 0x28], r11
mov r8, qword [rax + 0x20]
cmp dword [rax + 0x14], ebp
jle 0x14019d2a7
mov r14, qword [rsp + 0x98]
lea rdi, [rdx + 4]
mov r11d, dword [rsp + 0x80]
mov rbx, 0xfffffffffffffffc
mov r15, qword [rsp + 0x90]
sub rbx, rdx
mov edx, 0x180
mov r9, rdi
mov esi, 0x1fff
lea ebp, [rdx - 0x80]
mov eax, dword [r14 + 0x44]
cmp dword [r8 + 0x1c], eax
jne 0x14019d282
test qword [r8 + 0x30], r15
jne 0x14019d282
movzx ecx, word [r8 + 0x14]
test ecx, 0xfffff7ff
je 0x14019d282
test byte [r14 + 0x3c], 8
je 0x14019d238
mov rax, qword [r8]
test byte [rax + 4], 1
jne 0x14019d238
test dx, cx
jne 0x14019d282
mov eax, dword [r8 + 0x28]
mov dword [r9 - 4], eax
mov dword [r9 + 4], r10d
movzx ecx, word [r8 + 0x14]
and cx, si
cmp cx, 1
jne 0x14019d2fb
mov ecx, 2
mov eax, 0x180
lea rdx, [rdi + rbx]
test ax, cx
je 0x14019d317
cmp cx, bp
setne al
add al, 0x47
mov byte [rdx + r9], al
mov edx, 0x180
add r9, 0xc
inc r10d
add r8, 0x40
cmp r10d, dword [r12 + 0x14]
jl 0x14019d206
mov esi, dword [rsp + 0x20]
xor ebp, ebp
mov dword [rsp + 0x80], r11d
mov r11, qword [rsp + 0x28]
movsxd r8, esi
test esi, esi
jle 0x14019d2e1
mov rdx, qword [rsp + 0xa0]
add rdx, 0x20
nop word [rax + rax]
mov rax, qword [rdx - 0x18]
lea rdx, [rdx + 0x28]
movsx ecx, word [rax + 0x30]
mov dword [r11 + rbp*8], ecx
movzx eax, byte [rdx - 0x28]
mov byte [r11 + rbp*8 + 4], al
inc rbp
cmp rbp, r8
jl 0x14019d2c0
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x80]
mov word [rax], cx
mov rax, r13
jmp 0x14019d39c
cmp cx, 0x40
jne 0x14019d25b
movzx eax, byte [r8 + 0x17]
lea rcx, [rdi + rbx]
mov byte [rcx + r9], al
jmp 0x14019d27e
mov byte [rdx + r9], cl
test cl, 0x3c
je 0x14019d384
mov rax, qword [r8]
mov rdx, qword [rax + 0x18]
movzx eax, byte [rdx]
cmp al, 0xa8
jne 0x14019d332
movzx eax, byte [rdx + 0x36]
cmp al, 0xa9
jne 0x14019d33c
lea rax, [rdx + 0x20]
jmp 0x14019d348
cmp al, 0x83
jne 0x14019d279
mov rax, qword [rdx + 0x20]
mov rax, qword [rax]
cmp dword [rax], 1
jle 0x14019d279
cmp r10d, 0x10
jge 0x14019d362
movzx r11d, r11w
bts r11d, r10d
cmp cx, 0x10
jne 0x14019d371
mov byte [r9], 8
jmp 0x14019d279
cmp cx, 4
jne 0x14019d279
mov byte [r9], 0x20
jmp 0x14019d279
mov edx, eax
jmp 0x14019d27e
lea rdx, str.out_of_memory
mov rcx, r12
call fcn.1401ee830
xor eax, eax
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret