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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov rax, qword [0x1400b8288]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov r15, r9
mov qword [rbp - 0x48], r8
xor r9d, r9d
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x40], r9
mov r13, r8
mov r12, rdx
mov r14, rcx
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
lea edx, [rbx + 7]
mov r8d, 0x294
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
xor r11d, r11d
mov rsi, rax
test rax, rax
je 0x140035aa8
mov rdi, qword [r14 + 0x10]
test r15, r15
je 0x140034d75
mov qword [r15], rdi
mov r15d, 0xfffffff8
cmp r13, r12
jne 0x140035103
lea rcx, [rax + 8]
xor edx, edx
mov r8d, 0x28c
call sub.msvcrt.dll_memset
mov r10d, 0x68
xor r9d, r9d
mov qword [rsi], r10
mov ecx, r10d
mov dword [rbp - 0x28], r10d
lea eax, [r10 + 0x48]
cmp qword [r13 + 0x78], r9
je 0x140034db7
mov qword [rsi], rax
mov ecx, eax
mov rdx, qword [r13 + 0x70]
test rdx, rdx
je 0x140034df2
mov r8d, r9d
movzx ecx, word [rdx + 0x18]
movzx eax, byte [rdx + 8]
mov rdx, qword [rdx + 0x20]
add eax, r8d
lea r8d, [rcx + 5]
add r8d, eax
test rdx, rdx
jne 0x140034dc3
mov rcx, qword [rsi]
add rcx, 0xf
mov eax, r8d
add rcx, rax
and rcx, 0xfffffffffffffff8
mov qword [rsi], rcx
mov rax, qword [r13 + 0x68]
test rax, rax
je 0x140034e1d
mov edx, r9d
mov rax, qword [rax + 0x10]
add edx, 0x10
test rax, rax
jne 0x140034dfe
mov rcx, qword [rsi]
add rcx, 0xf
mov eax, edx
add rcx, rax
and rcx, 0xfffffffffffffff8
mov qword [rsi], rcx
mov eax, dword [r13 + 0xec]
mov r15, rbx
sub eax, ebx
cmp eax, ebx
ja 0x140034e38
lea rax, [rcx + 0x13]
and rax, 0xfffffffffffffff8
mov qword [rsi], rax
mov eax, dword [r12 + 0x1c]
mov dword [rsi + 8], eax
mov word [rsi + 0x60], r9w
mov rax, qword [r12 + 0x60]
test rax, rax
je 0x140034e63
mov ecx, r9d
add cx, r15w
mov word [rsi + 0x60], cx
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x140034e52
mov qword [rsi + 0x10], r9
mov r8d, r10d
mov eax, dword [r12 + 0x40]
mov rdx, rsi
mov dword [rsi + 0x28], eax
mov rcx, r14
mov eax, dword [r12 + 0x44]
mov ebx, r9d
mov dword [rsi + 0x2c], eax
mov eax, dword [r12 + 0x48]
mov dword [rsi + 0x30], eax
mov eax, dword [r12 + 0x4c]
mov dword [rsi + 0x34], eax
mov eax, dword [r12 + 0x50]
mov dword [rsi + 0x38], eax
mov eax, dword [r12 + 0x54]
mov dword [rsi + 0x3c], eax
movups xmm0, xmmword [r12 + 0x20]
movups xmmword [rsi + 0x40], xmm0
mov eax, dword [r12 + 0x30]
mov dword [rsi + 0x50], eax
mov eax, dword [r12 + 0x58]
mov dword [rsi + 0xc], eax
mov qword [rsi + 0x58], r9
mov dword [rsi + 0x62], r9d
mov eax, dword [r14 + 0x10]
mov dword [r13 + 0x88], eax
call fcn.14005dd64
xor r11d, r11d
test eax, eax
je 0x140035079
cmp qword [r12 + 0x78], r11
je 0x140034f2f
lea ebx, [r11 + 0x40]
mov qword [rbp - 0x28], r15
lea r8d, [r11 + 8]
mov dword [rbp - 0x24], ebx
lea rdx, [rbp - 0x28]
mov rcx, r14
call fcn.14005dd64
xor r11d, r11d
test eax, eax
je 0x140035076
mov rdx, qword [r12 + 0x78]
mov r8d, ebx
mov rcx, r14
call fcn.14005dd64
xor r11d, r11d
test eax, eax
je 0x140035076
mov dword [rbp - 0x28], 0xb0
lea rdx, [rbp - 0x28]
mov rcx, r14
call fcn.140034a18
xor r11d, r11d
mov ebx, eax
test eax, eax
je 0x140035079
lea r8, [rbp - 0x28]
mov rdx, r12
mov rcx, r14
call fcn.140034a6c
xor r11d, r11d
mov ebx, eax
test eax, eax
je 0x140035079
lea r8, [rbp - 0x28]
mov rdx, r12
mov rcx, r14
call fcn.140034b84
xor r11d, r11d
mov ebx, eax
test eax, eax
je 0x140035079
lea r8, [rbp - 0x28]
mov rdx, r12
mov rcx, r14
call fcn.140034c44
xor r11d, r11d
mov ebx, eax
test eax, eax
je 0x140035079
mov r15, qword [r12 + 0x60]
test r15, r15
je 0x14003509c
test r15, r15
je 0x140035098
movzx eax, word [r15 + 8]
mov rdx, rsi
lea r13d, [rax*2 + 2]
mov eax, 0xfffffff8
lea ebx, [r13 + 0x2d]
and rbx, rax
mov rcx, rbx
call fcn.1400349a0
xor r11d, r11d
mov r12, rax
test rax, rax
je 0x140035093
mov qword [rax], rbx
sub r13w, 2
movups xmm0, xmmword [r15 + 0x18]
movups xmmword [rax + 0x10], xmm0
mov ecx, dword [r15 + 0x28]
mov dword [rax + 0x20], ecx
lea rcx, [rax + 0x26]
mov word [rax + 0x24], r13w
lea r13d, [r11 + 1]
movzx edx, word [r15 + 8]
mov r8, qword [r15]
add rdx, r13
call fcn.140001008
mov r8d, dword [r12]
mov rdx, r12
mov rcx, r14
mov ebx, r11d
call fcn.14005dd64
xor r11d, r11d
test eax, eax
cmovne ebx, r13d
cmp r12, rsi
je 0x14003505e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
xor r11d, r11d
mov r15, qword [r15 + 0x30]
test ebx, ebx
jne 0x140034faa
mov r13, qword [rbp - 0x48]
mov r12d, 1
jmp 0x14003507c
mov ebx, r11d
mov r12, r15
mov r15d, 0xfffffff8
mov rdi, qword [r13 + 0xd8]
test ebx, ebx
je 0x140035507
jmp 0x140035111
mov ebx, r11d
jmp 0x14003506a
mov r13, qword [rbp - 0x48]
mov r15d, 8
lea rdx, [0x1400bac90]
mov r8d, r15d
mov rcx, r14
mov ebx, r11d
call fcn.14005dd64
xor r11d, r11d
lea r12d, [r15 - 7]
test eax, eax
je 0x14003507c
mov ebx, r12d
cmp qword [r13 + 0xd8], r11
jne 0x1400350d7
cmp qword [r13 + 0xc8], r11
je 0x14003507c
mov rax, qword [r14 + 0x10]
lea rdx, [rdi + 0x10]
mov r9d, r15d
mov qword [rbp - 0x40], rax
lea r8, [rbp - 0x40]
mov rcx, r14
mov ebx, r11d
call fcn.14005de08
xor r11d, r11d
test eax, eax
cmovne ebx, r12d
jmp 0x14003507c
mov r12, rbx
jmp 0x140035082
mov r15d, 0xfffffff8
test rdi, rdi
je 0x140035503
cmp dword [rdi + 0x1c], 0xffffffff
je 0x1400354f4
movzx eax, word [rdi + 8]
mov r8d, 0x28c
lea r12d, [rax*2 + 2]
movzx eax, word [rdi + 0x18]
add eax, eax
lea ecx, [rax + 2]
neg eax
sbb ebx, ebx
xor edx, edx
and ebx, ecx
lea rcx, [rsi + 8]
call sub.msvcrt.dll_memset
lea r9d, [rbx + r12]
xor r11d, r11d
lea eax, [r9 + 0x6d]
and eax, r15d
mov r15d, eax
mov qword [rsi], r15
mov dword [rbp - 0x28], r15d
mov ecx, eax
cmp qword [rdi + 0x78], r11
je 0x140035177
lea rcx, [rax + 0x48]
mov qword [rsi], rcx
mov rdx, qword [rdi + 0x70]
test rdx, rdx
je 0x1400351b2
mov r8d, r11d
movzx ecx, word [rdx + 0x18]
movzx eax, byte [rdx + 8]
mov rdx, qword [rdx + 0x20]
add eax, r8d
lea r8d, [rcx + 5]
add r8d, eax
test rdx, rdx
jne 0x140035183
mov rcx, qword [rsi]
add rcx, 0xf
mov eax, r8d
add rcx, rax
and rcx, 0xfffffffffffffff8
mov qword [rsi], rcx
mov rax, qword [rdi + 0x68]
test rax, rax
je 0x1400351dd
mov edx, r11d
mov rax, qword [rax + 0x10]
add edx, 0x10
test rax, rax
jne 0x1400351be
mov rcx, qword [rsi]
add rcx, 0xf
mov eax, edx
add rcx, rax
and rcx, 0xfffffffffffffff8
mov qword [rsi], rcx
mov eax, dword [rdi + 0xec]
mov edx, 1
sub eax, edx
cmp eax, edx
ja 0x1400351f9
lea rax, [rcx + 0x13]
and rax, 0xfffffffffffffff8
mov qword [rsi], rax
mov eax, dword [rdi + 0x1c]
mov dword [rsi + 8], eax
mov word [rsi + 0x60], r11w
mov rax, qword [rdi + 0x60]
test rax, rax
je 0x14003522c
mov word [rsi + 0x60], dx
mov ecx, edx
add cx, dx
mov word [rsi + 0x60], cx
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x140035213
xorps xmm0, xmm0
movups xmmword [rsi + 0x40], xmm0
jmp 0x140035237
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rsi + 0x40], xmm0
mov eax, dword [rdi + 0x30]
mov dword [rsi + 0x50], eax
mov eax, dword [rdi + 0x40]
mov dword [rsi + 0x28], eax
mov eax, dword [rdi + 0x44]
mov dword [rsi + 0x2c], eax
mov eax, dword [rdi + 0x48]
mov dword [rsi + 0x30], eax
mov eax, dword [rdi + 0x4c]
mov dword [rsi + 0x34], eax
mov eax, dword [rdi + 0x50]
mov dword [rsi + 0x38], eax
mov eax, dword [rdi + 0x54]
mov dword [rsi + 0x3c], eax
mov eax, dword [rdi + 0x58]
mov dword [rsi + 0xc], eax
test dword [rdi + 0x1c], 0x400
mov eax, dword [rdi + 0x80]
jne 0x140035286
test eax, eax
jne 0x140035286
cmp dword [rdi + 0x84], r11d
jne 0x140035286
mov qword [rsi + 0x58], r11
jmp 0x140035292
mov dword [rsi + 0x58], eax
mov eax, dword [rdi + 0x84]
mov dword [rsi + 0x5c], eax
lea eax, [r9 + 0x66]
cmp eax, 0x294
ja 0x1400356bb
sub r12w, 2
lea rcx, [rsi + 0x66]
mov word [rsi + 0x64], r12w
mov r12d, 1
movzx edx, word [rdi + 8]
mov r8, qword [rdi]
add rdx, r12
call fcn.140001008
test ebx, ebx
je 0x1400352f1
movzx eax, word [rsi + 0x64]
sub bx, 2
mov word [rsi + 0x62], bx
movzx edx, word [rdi + 0x18]
mov r8, qword [rdi + 0x10]
add rdx, r12
shr rax, 1
add rax, 0x34
lea rcx, [rsi + rax*2]
call fcn.140001008
jmp 0x1400352f6
mov word [rsi + 0x62], r11w
mov eax, dword [r14 + 0x10]
mov r8d, r15d
mov rdx, rsi
mov dword [rdi + 0x88], eax
mov rcx, r14
mov ebx, r11d
call fcn.14005dd64
xor r11d, r11d
test eax, eax
je 0x1400354f4
cmp qword [rdi + 0x78], r11
je 0x14003536a
lea ebx, [r11 + 0x40]
mov qword [rbp - 0x20], r12
lea r8d, [r11 + 8]
mov dword [rbp - 0x1c], ebx
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.14005dd64
xor r11d, r11d
test eax, eax
je 0x1400356a5
mov rdx, qword [rdi + 0x78]
mov r8d, ebx
mov rcx, r14
call fcn.14005dd64
xor r11d, r11d
test eax, eax
je 0x1400356a5
add r15d, 0x48
mov dword [rbp - 0x28], r15d
lea rdx, [rbp - 0x28]
mov rcx, r14
call fcn.140034a18
xor r11d, r11d
mov ebx, eax
test eax, eax
je 0x1400354f4
lea r8, [rbp - 0x28]
mov rdx, rdi
mov rcx, r14
call fcn.140034a6c
xor r11d, r11d
mov ebx, eax
test eax, eax
je 0x1400354f4
lea r8, [rbp - 0x28]
mov rdx, rdi
mov rcx, r14
call fcn.140034b84
xor r11d, r11d
mov ebx, eax
test eax, eax
je 0x1400354f4
lea r8, [rbp - 0x28]
mov rdx, rdi
mov rcx, r14
call fcn.140034c44
xor r11d, r11d
mov ebx, eax
test eax, eax
je 0x1400354f4
mov r15, qword [rdi + 0x60]
test r15, r15
je 0x1400354f4
lea rcx, [rsi + 8]
xor edx, edx
mov r8d, 0x28c
call sub.msvcrt.dll_memset
xor r9d, r9d
mov qword [rsi], 0x28
movups xmm0, xmmword [rdi + 0x20]
mov rdx, rsi
mov rcx, r14
mov ebx, r9d
movups xmmword [rsi + 0x10], xmm0
mov eax, dword [rdi + 0x30]
lea r8d, [r9 + 0x28]
mov dword [rsi + 0x20], eax
mov dword [rsi + 0x24], r9d
call fcn.14005dd64
xor r11d, r11d
test eax, eax
je 0x1400354f4
mov ebx, r12d
test r15, r15
je 0x1400356b0
movzx eax, word [r15 + 8]
mov rdx, rsi
lea r13d, [rax*2 + 2]
mov eax, 0xfffffff8
lea ebx, [r13 + 0x2d]
and rbx, rax
mov rcx, rbx
call fcn.1400349a0
xor r11d, r11d
mov r12, rax
test rax, rax
je 0x1400356ad
mov qword [rax], rbx
sub r13w, 2
movups xmm0, xmmword [r15 + 0x18]
movups xmmword [rax + 0x10], xmm0
mov ecx, dword [r15 + 0x28]
mov dword [rax + 0x20], ecx
lea rcx, [rax + 0x26]
mov word [rax + 0x24], r13w
lea r13d, [r11 + 1]
movzx edx, word [r15 + 8]
mov r8, qword [r15]
add rdx, r13
call fcn.140001008
mov r8d, dword [r12]
mov rdx, r12
mov rcx, r14
mov ebx, r11d
call fcn.14005dd64
xor r11d, r11d
test eax, eax
cmovne ebx, r13d
cmp r12, rsi
je 0x1400354e5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
xor r11d, r11d
mov r15, qword [r15 + 0x30]
test ebx, ebx
jne 0x140035431
mov r12, r13
mov rdi, qword [rdi + 0xc0]
test ebx, ebx
jne 0x14003510b
mov r13, qword [rbp - 0x48]
mov rdi, qword [r13 + 0xc8]
mov qword [rbp - 0x38], rdi
test rdi, rdi
je 0x14003551f
mov rax, qword [r14 + 0x10]
mov qword [rbp - 0x40], rax
test ebx, ebx
je 0x140035935
test rdi, rdi
je 0x140035902
cmp dword [rdi + 0x1c], 0xffffffff
je 0x1400358ea
movzx eax, word [rdi + 8]
mov r8d, 0x28c
lea r12d, [rax*2 + 2]
movzx eax, word [rdi + 0x18]
add eax, eax
lea ecx, [rax + 2]
neg eax
sbb ebx, ebx
xor edx, edx
and ebx, ecx
lea rcx, [rsi + 8]
call sub.msvcrt.dll_memset
mov ecx, 0xfffffff8
lea r13d, [rbx + r12]
lea eax, [r13 + 0x6d]
xor r11d, r11d
and eax, ecx
mov r15d, eax
mov qword [rsi], r15
mov dword [rbp - 0x28], r15d
mov ecx, eax
cmp qword [rdi + 0x78], r11
je 0x140035591
lea rcx, [rax + 0x48]
mov qword [rsi], rcx
mov rdx, qword [rdi + 0x70]
test rdx, rdx
je 0x1400355cc
mov r8d, r11d
movzx ecx, word [rdx + 0x18]
movzx eax, byte [rdx + 8]
mov rdx, qword [rdx + 0x20]
add eax, r8d
lea r8d, [rcx + 5]
add r8d, eax
test rdx, rdx
jne 0x14003559d
mov rcx, qword [rsi]
add rcx, 0xf
mov eax, r8d
add rcx, rax
and rcx, 0xfffffffffffffff8
mov qword [rsi], rcx
mov rax, qword [rdi + 0x68]
test rax, rax
je 0x1400355f7
mov edx, r11d
mov rax, qword [rax + 0x10]
add edx, 0x10
test rax, rax
jne 0x1400355d8
mov rcx, qword [rsi]
add rcx, 0xf
mov eax, edx
add rcx, rax
and rcx, 0xfffffffffffffff8
mov qword [rsi], rcx
mov eax, dword [rdi + 0xec]
mov edx, 1
sub eax, edx
cmp eax, edx
ja 0x140035613
lea rax, [rcx + 0x13]
and rax, 0xfffffffffffffff8
mov qword [rsi], rax
mov eax, dword [rdi + 0x1c]
mov dword [rsi + 8], eax
mov word [rsi + 0x60], r11w
mov rax, qword [rdi + 0x60]
test rax, rax
je 0x14003563a
mov ecx, r11d
add cx, dx
mov word [rsi + 0x60], cx
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x14003562a
mov qword [rsi + 0x10], r11
mov eax, dword [rdi + 0x40]
mov dword [rsi + 0x28], eax
mov eax, dword [rdi + 0x44]
mov dword [rsi + 0x2c], eax
mov eax, dword [rdi + 0x48]
mov dword [rsi + 0x30], eax
mov eax, dword [rdi + 0x4c]
mov dword [rsi + 0x34], eax
mov eax, dword [rdi + 0x50]
mov dword [rsi + 0x38], eax
mov eax, dword [rdi + 0x54]
mov dword [rsi + 0x3c], eax
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rsi + 0x40], xmm0
mov eax, dword [rdi + 0x30]
mov dword [rsi + 0x50], eax
mov eax, dword [rdi + 0x58]
mov dword [rsi + 0xc], eax
test dword [rdi + 0x1c], 0x400
je 0x1400356c6
mov ecx, dword [rdi + 0x80]
call fcn.140050f10
xor r11d, r11d
test eax, eax
je 0x1400356c6
mov eax, dword [rdi + 0x80]
mov dword [rsi + 0x58], eax
mov eax, dword [rdi + 0x84]
mov dword [rsi + 0x5c], eax
jmp 0x1400356ca
mov ebx, r11d
jmp 0x1400354f4
mov ebx, r11d
mov r12d, 1
jmp 0x1400354f4
mov ebx, r11d
mov r12, rdx
jmp 0x1400354f4
mov qword [rsi + 0x58], r11
lea eax, [r13 + 0x66]
cmp eax, 0x294
ja 0x1400358e1
sub r12w, 2
lea rcx, [rsi + 0x66]
mov word [rsi + 0x64], r12w
mov r12d, 1
movzx edx, word [rdi + 8]
mov r8, qword [rdi]
add rdx, r12
call fcn.140001008
test ebx, ebx
je 0x140035729
movzx eax, word [rsi + 0x64]
sub bx, 2
mov word [rsi + 0x62], bx
movzx edx, word [rdi + 0x18]
mov r8, qword [rdi + 0x10]
add rdx, r12
shr rax, 1
add rax, 0x34
lea rcx, [rsi + rax*2]
call fcn.140001008
jmp 0x14003572e
mov word [rsi + 0x62], r11w
mov eax, dword [r14 + 0x10]
mov r8d, r15d
mov rdx, rsi
mov dword [rdi + 0x88], eax
mov rcx, r14
mov ebx, r11d
call fcn.14005dd64
xor r11d, r11d
test eax, eax
je 0x1400358ea
cmp qword [rdi + 0x78], r11
je 0x1400357a2
lea ebx, [r11 + 0x40]
mov qword [rbp - 0x20], r12
lea r8d, [r11 + 8]
mov dword [rbp - 0x1c], ebx
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.14005dd64
xor r11d, r11d
test eax, eax
je 0x1400358e7
mov rdx, qword [rdi + 0x78]
mov r8d, ebx
mov rcx, r14
call fcn.14005dd64
xor r11d, r11d
test eax, eax
je 0x1400358e7
add r15d, 0x48
mov dword [rbp - 0x28], r15d
lea rdx, [rbp - 0x28]
mov rcx, r14
call fcn.140034a18
xor r11d, r11d
mov ebx, eax
test eax, eax
je 0x1400358ea
lea r8, [rbp - 0x28]
mov rdx, rdi
mov rcx, r14
call fcn.140034a6c
xor r11d, r11d
mov ebx, eax
test eax, eax
je 0x1400358ea
lea r8, [rbp - 0x28]
mov rdx, rdi
mov rcx, r14
call fcn.140034b84
xor r11d, r11d
mov ebx, eax
test eax, eax
je 0x1400358ea
lea r8, [rbp - 0x28]
mov rdx, rdi
mov rcx, r14
call fcn.140034c44
xor r11d, r11d
mov ebx, eax
test eax, eax
je 0x1400358ea
mov r15, qword [rdi + 0x60]
test r15, r15
je 0x1400358ea
mov rdi, r12
movzx eax, word [r15 + 8]
mov rdx, rsi
lea r13d, [rax*2 + 2]
mov eax, 0xfffffff8
lea ebx, [r13 + 0x2d]
and rbx, rax
mov rcx, rbx
call fcn.1400349a0
xor r11d, r11d
mov r12, rax
test rax, rax
jne 0x140035853
mov ebx, r11d
jmp 0x1400358ce
mov qword [rax], rbx
lea rcx, [r12 + 0x26]
movups xmm0, xmmword [r15 + 0x18]
sub r13w, 2
movups xmmword [rax + 0x10], xmm0
mov eax, dword [r15 + 0x28]
mov dword [r12 + 0x20], eax
mov word [r12 + 0x24], r13w
movzx edx, word [r15 + 8]
mov r8, qword [r15]
add rdx, rdi
call fcn.140001008
mov r8d, dword [r12]
mov rdx, r12
mov rcx, r14
mov ebx, r11d
call fcn.14005dd64
xor r11d, r11d
test eax, eax
cmovne ebx, edi
cmp r12, rsi
je 0x1400358ca
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
xor r11d, r11d
mov r15, qword [r15 + 0x30]
test r15, r15
jne 0x14003581f
mov rdi, qword [rbp - 0x38]
lea r12d, [r15 + 1]
jmp 0x1400358ea
mov r12d, 1
mov ebx, r11d
mov rdi, qword [rdi + 0xc0]
mov qword [rbp - 0x38], rdi
test ebx, ebx
jne 0x140035527
jmp 0x140035a86
mov r8d, 8
lea rdx, [0x1400bac90]
mov rcx, r14
mov ebx, r11d
call fcn.14005dd64
xor r11d, r11d
test eax, eax
je 0x140035931
mov rdi, qword [rbp - 0x48]
mov ebx, r12d
mov rdi, qword [rdi + 0xc8]
jmp 0x140035944
mov r13, qword [rbp - 0x48]
mov rdi, qword [r13 + 0xc8]
test ebx, ebx
je 0x140035a86
mov r15, qword [rbp - 0x30]
test rdi, rdi
je 0x140035a86
lea r9, [rbp - 0x38]
mov qword [rbp - 0x38], r11
mov r8, rdi
mov rdx, r15
mov rcx, r14
mov ebx, r11d
call fcn.140034cf4
xor r11d, r11d
test eax, eax
je 0x140035a77
mov rdx, qword [rbp - 0x40]
lea r9d, [r11 + 8]
add rdx, 0x10
lea r8, [rbp - 0x38]
mov rcx, r14
call fcn.14005de08
xor r11d, r11d
test eax, eax
je 0x140035a77
mov ebx, r12d
cmp qword [rdi + 0xc0], r11
je 0x140035a77
mov ecx, r11d
mov edx, r11d
cmp word [rdi + 8], r11w
je 0x1400359c0
movzx eax, word [rdi + 8]
lea ecx, [rax*2 + 2]
cmp word [rdi + 0x18], r11w
je 0x1400359d2
movzx eax, word [rdi + 0x18]
lea edx, [rax*2 + 2]
add edx, 0x6d
mov r10d, 0xfffffff8
add edx, ecx
and edx, r10d
cmp qword [rdi + 0x78], r11
je 0x1400359ec
add edx, 0x4f
and edx, r10d
mov r8, qword [rdi + 0x70]
test r8, r8
je 0x140035a1e
mov r9d, r11d
movzx ecx, word [r8 + 0x18]
movzx eax, byte [r8 + 8]
mov r8, qword [r8 + 0x20]
add eax, r9d
lea r9d, [rcx + 5]
add r9d, eax
test r8, r8
jne 0x1400359f8
add edx, 0xf
add edx, r9d
and edx, r10d
mov rax, qword [rdi + 0x68]
test rax, rax
je 0x140035a3e
mov ecx, r11d
mov rax, qword [rax + 0x10]
add ecx, 0x10
test rax, rax
jne 0x140035a2a
add edx, 0xf
add edx, ecx
and edx, r10d
mov eax, dword [rdi + 0xec]
sub eax, r12d
cmp eax, r12d
ja 0x140035a52
add edx, 0x13
and edx, r10d
mov rcx, qword [rdi + 0x60]
jmp 0x140035a6c
movzx eax, word [rcx + 8]
mov rcx, qword [rcx + 0x30]
lea eax, [rax*2 + 0x2f]
and eax, r10d
add edx, eax
test rcx, rcx
jne 0x140035a58
mov eax, edx
add qword [rbp - 0x40], rax
mov rdi, qword [rdi + 0xc0]
test ebx, ebx
jne 0x140035948
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.140096bd0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret