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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov r11, qword [rdx]
mov rbx, rdx
mov rsi, qword [rcx + 0x10]
xor edi, edi
movsxd r10, r9d
mov r15, r8
mov r9, rcx
mov qword [rsp + 0x60], r11
movzx edx, byte [r11]
mov ebp, 0x800
mov r12d, 0x400
lea eax, [rdx - 0x2d]
test al, 0xf7
je 0x140143130
cmp dl, 0x32
jne 0x1401429dd
movsxd rcx, dword [rsi + 0x90]
mov r8d, dword [rsp + 0xe8]
cmp dword [rsi + 0x94], ecx
jg 0x1401429ae
mov r9d, r8d
mov dword [rsp + 0x20], edi
xor r8d, r8d
lea edx, [rdi + 0x4b]
mov rcx, rsi
call fcn.1400caf80
jmp 0x1401430d8
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov qword [rax + rcx*8], 0x4b
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdi
jmp 0x1401430e0
mov r14, qword [r8 + 0x60]
mov ebp, edi
mov dword [rsp + 0x38], 5
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rdi
test dword [r14 + 0x38], r12d
jne 0x140142a1c
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x140142a1c
mov rax, qword [rax + 0x38]
cmp byte [r10 + rax], dil
je 0x140142a1c
cmp dword [rsp + 0xe0], edi
mov eax, edi
sete al
jmp 0x140142a23
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x3c], eax
test r10d, r10d
jle 0x140142a4d
mov r8, qword [r14 + 0x48]
mov rax, rdi
mov rcx, qword [r8 + rax*8]
test rcx, rcx
je 0x140142a45
cmp qword [rcx], r11
je 0x140142ae4
inc rax
cmp rax, r10
jl 0x140142a33
movzx r8d, word [r14 + 0x3c]
cmp r10d, r8d
jge 0x140142a88
mov rax, qword [r14 + 0x48]
sub r8d, r10d
lea rdx, [rax + r10*8]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdx]
lea ecx, [rbp + 1]
lea rdx, [rdx + 8]
cmp qword [rax], r11
cmovne ecx, ebp
mov ebp, ecx
sub r8, 1
jne 0x140142a70
mov edx, dword [r11 + 4]
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x30], edi
bt edx, 0xc
jae 0x140142cda
mov rax, qword [r11 + 0x20]
mov rcx, qword [rax + 0x20]
cmp dword [rcx], 1
je 0x140142cda
mov r13, r11
cmp dword [r11 + 0x2c], edi
je 0x140142be5
bt edx, 0x19
jae 0x140142be5
mov rcx, qword [r11 + 0x10]
movzx eax, byte [rcx]
cmp al, 0xb0
jne 0x140142ad5
movzx eax, byte [rcx + 2]
cmp al, 0xb1
jne 0x140142b52
mov rax, qword [rcx + 0x20]
mov ecx, dword [rax]
jmp 0x140142b67
test byte [rbx + 0x12], 4
jne 0x140142b46
mov edx, 0x200
nop
cmp dword [r15], ebp
je 0x140142afe
mov rax, qword [rbx]
test byte [rax + 4], 1
je 0x140142b46
mov rax, qword [rbx + 0x30]
test qword [r15 + 0x68], rax
jne 0x140142b46
test edi, edi
je 0x140142b1f
movzx eax, word [rbx + 0x12]
test r12w, ax
je 0x140142b1f
or ax, dx
mov word [rbx + 0x12], ax
jmp 0x140142b24
or word [rbx + 0x12], 4
movsxd rax, dword [rbx + 0x18]
test eax, eax
js 0x140142b46
mov rcx, qword [rbx + 8]
imul rbx, rax, 0x38
add rbx, qword [rcx + 0x20]
add byte [rbx + 0x16], 0xff
jne 0x140142b46
inc edi
test byte [rbx + 0x12], 4
je 0x140142af0
mov eax, dword [rsp + 0xe8]
jmp 0x140143173
cmp al, 0x8a
jne 0x140142b62
mov rax, qword [rcx + 0x20]
mov rcx, qword [rax + 0x20]
mov ecx, dword [rcx]
jmp 0x140142b67
mov ecx, 1
cmp ebp, ecx
cmovg ecx, ebp
movsxd r14, ecx
mov rcx, qword [r9]
shl r14, 2
test rcx, rcx
je 0x140142b85
mov rdx, r14
call fcn.14009e290
jmp 0x140142b8d
mov rcx, r14
call fcn.14009dae0
mov qword [rsp + 0x40], rax
mov r13, rax
test rax, rax
je 0x140142ba7
mov r8, r14
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r12, qword [rsp + 0xc0]
lea rax, [rsp + 0x30]
mov rdx, qword [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov rcx, r12
mov qword [rsp + 0x20], r13
lea r8d, [r9 + 4]
call fcn.1400e8720
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x34], r8d
mov dword [rsp + 0x38], eax
jmp 0x140142cc1
mov r14, qword [r9]
mov edx, r10d
mov r8, qword [rsp + 0x48]
mov r9, r11
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x50], r14
call fcn.140142610
mov r12, rax
cmp byte [r14 + 0x67], dil
jne 0x140142c96
mov rax, qword [rsp + 0xc0]
movsxd r14, ebp
shl r14, 2
mov rcx, qword [rax]
test rcx, rcx
je 0x140142c33
mov rdx, r14
call fcn.14009e290
jmp 0x140142c3b
mov rcx, r14
call fcn.14009dae0
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140142c57
mov r8, r14
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x40]
xor r9d, r9d
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rdx, r12
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 4]
call fcn.1400e8720
mov r8d, dword [rsp + 0x30]
mov r14, qword [rsp + 0x50]
mov dword [rsp + 0x34], r8d
mov dword [r13 + 0x2c], r8d
mov dword [rsp + 0x38], eax
jmp 0x140142ca0
mov r8d, dword [rsp + 0x34]
mov eax, 5
test r12, r12
je 0x140142cb9
mov rdx, r12
mov rcx, r14
call fcn.1400e62f0
mov r8d, dword [rsp + 0x34]
mov eax, dword [rsp + 0x38]
mov r12, qword [rsp + 0xc0]
mov r14, qword [rsp + 0x48]
cmp eax, 4
jne 0x140142d13
cmp dword [rsp + 0x3c], edi
mov eax, edi
sete al
mov dword [rsp + 0x3c], eax
jmp 0x140142d17
mov r12, qword [rsp + 0xc0]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov rdx, r11
mov qword [rsp + 0x20], rdi
mov rcx, r12
lea r8d, [r9 + 4]
call fcn.1400e8720
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x34], r8d
mov dword [rsp + 0x38], eax
jmp 0x140142cc6
mov eax, dword [rsp + 0x3c]
test eax, eax
mov ecx, 0x20
mov edx, 0x24
cmovne edx, ecx
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x140142d46
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.1400caf80
jmp 0x140142d76
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov byte [rax + rcx*8], dl
mov word [rax + rcx*8 + 2], di
mov dword [rax + rcx*8 + 4], r8d
mov qword [rax + rcx*8 + 8], rdi
mov qword [rax + rcx*8 + 0x10], rdi
mov byte [rax + rcx*8 + 1], dil
or dword [r14 + 0x38], 0x800
cmp dword [r15 + 0x50], edi
jne 0x140142d92
dec dword [r12 + 0x44]
mov eax, dword [r12 + 0x44]
mov dword [r15 + 0x10], eax
cmp dword [rsp + 0xd8], edi
jle 0x140142dad
mov eax, dword [r14 + 0x38]
bt eax, 0x14
jb 0x140142dad
bts eax, 0x12
mov dword [r14 + 0x38], eax
mov eax, dword [r15 + 0x50]
mov dword [rsp + 0x30], eax
add eax, ebp
mov rbp, qword [r15 + 0x58]
mov dword [r15 + 0x50], eax
cdqe
lea r13, [rax + rax*4]
mov rax, qword [rbx + 8]
shl r13, 2
mov r12, qword [rax]
lea rdx, [r13 + 0x10]
mov rcx, qword [r12]
mov rcx, qword [rcx]
call fcn.14009e290
mov r14, rax
test rax, rax
je 0x140142dfd
mov rax, qword [r12 + 0x60]
mov qword [r14], rax
mov qword [r14 + 8], r13
mov qword [r12 + 0x60], r14
add r14, 0x10
test r14, r14
je 0x140142e1c
test rbp, rbp
je 0x140142e1c
mov r8, qword [rbp - 8]
mov rdx, rbp
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov qword [r15 + 0x58], r14
jmp 0x140142e29
mov qword [r15 + 0x58], r14
test r14, r14
je 0x1401430af
movsxd rax, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x48]
movsxd r13, dword [rsp + 0xd8]
lea rcx, [rax + rax*4]
movzx eax, word [rdx + 0x3c]
cmp r13d, eax
jge 0x140143046
mov r8, qword [rsp + 0x40]
lea r14, [r14 + rcx*4]
mov ecx, dword [rsp + 0xe8]
lea r10, [r13*8]
mov r12d, dword [rsp + 0x34]
mov r9d, ecx
mov rbx, qword [rsp + 0x60]
sub r9d, r13d
add r14, 0x10
mov dword [rsp + 0x30], r9d
mov r15d, r13d
mov qword [rsp + 0x50], r10
sub r15d, ecx
mov qword [rsp + 0x68], r8
mov r11, r8
mov ebp, ecx
mov rax, qword [rdx + 0x48]
mov rcx, qword [r10 + rax]
cmp qword [rcx], rbx
jne 0x140143013
cmp dword [rsp + 0x38], 1
jne 0x140142efc
movsxd rdx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], edx
jg 0x140142ed7
mov r9d, ebp
mov dword [rsp + 0x20], edi
mov r8d, r12d
mov edx, 0x87
mov rcx, rsi
call fcn.1400caf80
mov edx, eax
jmp 0x140142f6a
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x90], eax
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x87
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], edi
jmp 0x140142f60
test r8, r8
je 0x140142f0f
mov r8d, dword [r11]
add r11, 4
mov qword [rsp + 0x68], r11
jmp 0x140142f12
mov r8d, edi
movsxd rdx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], edx
jg 0x140142f3c
mov r9d, r8d
mov dword [rsp + 0x20], ebp
mov r8d, r12d
mov edx, 0x5e
mov rcx, rsi
call fcn.1400caf80
mov edx, eax
jmp 0x140142f6a
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x90], eax
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x5e
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rdi
mov dword [rax + rcx*8 + 4], r12d
mov dword [r14 - 0xc], edx
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x140142f95
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov rcx, rsi
lea edx, [r9 + 0x32]
call fcn.1400caf80
jmp 0x140142fbe
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x32
mov dword [rax + rcx*8 + 4], ebp
mov qword [rax + rcx*8 + 8], rdi
mov qword [rax + rcx*8 + 0x10], rdi
lea ecx, [r15 + rbp]
cmp ecx, r13d
jne 0x140142ff2
cmp dword [rsp + 0x3c], edi
mov dword [r14 - 0x10], r12d
sete al
add al, 0x26
mov byte [r14], al
test r13d, r13d
jle 0x140142fea
mov eax, dword [rsp + 0x30]
mov dword [r14 - 8], eax
mov dword [r14 - 4], ecx
jmp 0x140142ff6
mov ecx, edi
mov dword [r14 - 4], ecx
jmp 0x140142ff6
mov byte [r14], 0xbb
mov rdx, qword [rsp + 0x48]
add r14, 0x14
mov r8, qword [rsp + 0x40]
mov r9d, dword [rsp + 0x30]
mov r10, qword [rsp + 0x50]
mov r11, qword [rsp + 0x68]
movzx eax, word [rdx + 0x3c]
inc ebp
dec r9d
add r10, 8
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x50], r10
lea ecx, [r15 + rbp]
cmp ecx, eax
jl 0x140142e92
mov rbx, qword [rsp + 0xc8]
mov r15, qword [rsp + 0xd0]
test r13d, r13d
jle 0x1401430b3
test dword [rdx + 0x38], 0x100400
jne 0x1401430b3
movsxd rcx, dword [rsi + 0x90]
mov edx, dword [r15 + 8]
cmp dword [rsi + 0x94], ecx
jg 0x140143080
xor r9d, r9d
mov dword [rsp + 0x20], r13d
mov r8d, edx
mov rcx, rsi
lea edx, [r9 + 0x7d]
call fcn.1400caf80
jmp 0x1401430b3
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x7d
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], rdi
jmp 0x1401430b3
mov dword [r15 + 0x50], edi
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x1401430cd
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax]
call fcn.14009ddb0
mov r12d, 0x400
mov ebp, 0x800
mov r8d, dword [rsp + 0xe8]
mov rcx, qword [r15 + 0x60]
test dword [rcx + 0x38], 0x200000
je 0x1401430f3
test word [rbx + 0x14], bp
jne 0x140143170
test byte [rbx + 0x12], 4
jne 0x140143170
mov edx, 0x200
nop
cmp dword [r15], 0
je 0x14014310f
mov rax, qword [rbx]
test byte [rax + 4], 1
je 0x140143170
mov rax, qword [r15 + 0x68]
test qword [rbx + 0x30], rax
jne 0x140143170
test edi, edi
je 0x140143146
movzx eax, word [rbx + 0x12]
test r12w, ax
je 0x140143146
or ax, dx
mov word [rbx + 0x12], ax
jmp 0x14014314b
mov r8d, dword [rsp + 0xe8]
mov rdx, qword [r11 + 0x18]
call fcn.1400ec5a0
mov r8d, eax
jmp 0x1401430e0
or word [rbx + 0x12], 4
movsxd rax, dword [rbx + 0x18]
test eax, eax
js 0x140143170
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
add rcx, qword [rax + 0x20]
mov rbx, rcx
add byte [rcx + 0x16], 0xff
jne 0x140143170
inc edi
test byte [rcx + 0x12], 4
je 0x140143100
mov eax, r8d
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret