Function at 0x140043640
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rsi, r8
mov rbx, rdx
mov r15d, 1
xor edx, edx
mov r8d, pe_nt_image_headers64
mov dword [rsp + 0xb0], r15d
mov edi, r9d
mov r14, rcx
call sub.VCRUNTIME140.dll_memset
mov dword [r14 + 0x40], edi
mov rax, qword [rsi + 0x88]
mov qword [r14 + 0x18], rax
test rax, rax
je 0x140043aef
cmp edi, 7
jne 0x1400436f1
mov rcx, qword [rbx]
lea rdx, [0x140189018]
mov r8d, 0x7fffffff
mov rcx, qword [rcx + 8]
call fcn.1400272a0
mov ecx, eax
cmp eax, 0x4b0
jl 0x1400436ca
test dword [rbx + 0x68], 0xe0000000
mov eax, 0
setne al
add eax, 5
jmp 0x1400436e6
cmp ecx, 0x3e8
jl 0x1400436d9
mov eax, 5
jmp 0x1400436e6
xor eax, eax
cmp ecx, 0x320
setge al
inc eax
mov dword [r14 + 0x40], eax
mov byte [r14 + 0x104], r15b
mov ecx, dword [rbx + 0x68]
lea rdx, [0x140049330]
and ecx, 0x800
lea rax, [0x1400492b0]
cmove rax, rdx
test ecx, ecx
mov qword [0x1401baf10], rax
lea rdx, [0x1400493b0]
lea rax, [0x140049380]
cmove rax, rdx
lea rdx, [0x140048c40]
mov qword [0x1401baf18], rax
lea rax, [0x140048b50]
cmove rax, rdx
lea rdx, [0x140049b20]
mov qword [0x1401baf20], rax
lea rax, [0x140049a90]
cmove rax, rdx
lea rdx, [0x1400402e0]
mov qword [0x1401baf28], rax
lea rax, [0x1400402d0]
cmove rax, rdx
lea rdx, [0x140049ba0]
mov qword [0x1401baf30], rax
lea rax, [0x140049bb0]
cmove rax, rdx
lea rdx, [0x140049ba0]
mov qword [0x1401baf38], rax
lea rax, [0x140049b30]
cmove rax, rdx
lea rdx, [0x1400499f0]
mov qword [0x1401baf40], rax
lea rax, [0x140049920]
cmove rax, rdx
lea rdx, [0x140049a80]
mov qword [0x1401baf48], rax
lea rax, [0x140049cc0]
cmove rax, rdx
lea rdx, [0x140049a80]
mov qword [0x1401baf50], rax
lea rax, [0x140049a10]
cmove rax, rdx
lea rdx, [0x1400494e0]
mov qword [0x1401baf58], rax
lea rax, [0x140049470]
cmove rax, rdx
lea rdx, [0x1400494e0]
mov qword [0x1401baf60], rax
lea rax, [0x140049c50]
cmove rax, rdx
lea rdx, [0x140049830]
mov qword [0x1401baf68], rax
lea rax, [0x140049850]
cmove rax, rdx
lea rdx, [0x140049460]
mov qword [0x1401baf70], rax
lea rax, [0x1400493e0]
cmove rax, rdx
lea rdx, [0x140049830]
mov qword [0x1401baf78], rax
lea rax, [0x140049740]
cmove rax, rdx
lea rdx, [0x1400495d0]
mov qword [0x1401baf80], rax
lea rax, [0x1400494f0]
cmove rax, rdx
lea rdx, [0x1400496d0]
mov qword [0x1401baf88], rax
lea rax, [0x1400495f0]
cmove rax, rdx
mov qword [0x1401baf90], rax
mov eax, dword [rbx + 0x80]
and eax, r15d
mov dword [r14 + 0x100], eax
je 0x1400438cd
mov dword [r14 + 0xd4], 0
lea rcx, [0x140040720]
xor eax, eax
jmp 0x140043938
mov rax, qword [r14 + 0x18]
cmp qword [rax + 0x10], 0
je 0x1400438fe
cmp dword [r14 + 0x40], 2
jge 0x1400438fe
lea r8, [0x140189028]
mov edx, r15d
mov ecx, 0x2b99
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbx
jmp fcn.140001480
mov rcx, qword [rbx]
lea rdx, str.compactOLSize
xor r8d, r8d
mov rcx, qword [rcx + 8]
call fcn.1400272a0
mov dword [r14 + 0xd4], eax
lea rdx, str.skipSecondaryRep
mov rcx, qword [rbx]
xor r8d, r8d
mov rcx, qword [rcx + 8]
call fcn.1400272a0
lea rcx, [fcn.1400201e0]
mov qword [0x1401baf98], rcx
mov dword [r14 + 0xd8], eax
call fcn.140008a90
mov rax, qword [rsi + 0x88]
test rax, rax
je 0x14004395b
mov rax, qword [rax + 8]
mov qword [r14 + 0x20], rax
mov qword [r14 + 8], rbx
mov qword [r14 + 0x10], rsi
mov r9, qword [rsi + 0x80]
mov r8, qword [rbx + 0x38]
mov edx, dword [rbx + 0x50]
mov rcx, qword [rbx + 0x30]
mov qword [rsp + 0x20], 0
call fcn.140013360
mov r9, rax
mov qword [r14], rax
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r9 + rax], 0
jne 0x140043994
sub eax, 4
js 0x140043a14
movsxd rdx, eax
lea r10, [0x14018908c]
add rdx, r9
mov rax, rdx
sub r10, rdx
nop word [rax + rax]
movzx r8d, byte [rax]
movzx ecx, byte [rax + r10]
sub r8d, ecx
jne 0x1400439d5
inc rax
test ecx, ecx
jne 0x1400439c0
test r8d, r8d
jne 0x140043a14
cmp byte [r14 + 0x104], r8b
lea rax, str..pvt
lea rcx, [0x140188e2c]
cmovne rcx, rax
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140043a00
mov r9, qword [r14]
mov rdx, qword [r14 + 8]
test dword [rdx + 0x80], 0x100
je 0x140043a39
mov rax, qword [0x1401baf88]
mov qword [0x1401bafa0], rax
mov eax, 8
jmp 0x140043a4c
mov rax, qword [0x1401baf90]
mov qword [0x1401bafa0], rax
mov eax, 4
mov dword [reloc.WS2_32.dll_accept], eax
movsxd rax, dword [0x1401bafe8]
imul rcx, rax, 0x38
mov rax, qword [0x140175020]
test dword [rcx + rax + 0x18], 0x200
je 0x140043a9f
mov r8, qword [rcx + rax]
lea rcx, str._s_MONITOR:_s:
mov rdx, qword [section..data]
call fcn.140002310
mov r8, qword [r14]
lea rcx, str.Writing_Shape_for_Assembly___s__to_OL_v6_file___s__n
mov rdx, qword [rsi + 8]
call fcn.140001fb0
mov rdx, qword [r14 + 8]
mov r9, qword [r14]
test dword [rdx + 0x68], 0x800
mov eax, 0x80
mov edx, 0x20
mov rcx, r9
cmove edx, eax
call fcn.14007d590
mov qword [r14 + 0x28], rax
mov rcx, rax
test rax, rax
jne 0x140043b00
mov r9, qword [r14]
lea r8, [0x140188f80]
mov edx, r15d
mov ecx, 0x2b88
call fcn.140001480
test eax, eax
je 0x140043bb1
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 0xffffffff
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov eax, dword [r14 + 0x40]
cmp eax, 6
jl 0x140043b26
mov rax, qword [r14 + 0x18]
lea rdx, [0x140188fb8]
lea r9, [0x140188fa8]
cmp qword [rax + 0x10], 0
cmove r9, rdx
jmp 0x140043b71
cmp eax, 5
jl 0x140043b48
mov rax, qword [r14 + 0x18]
lea rdx, [0x140188fd8]
lea r9, [0x140188fc8]
cmp qword [rax + 0x10], 0
cmove r9, rdx
jmp 0x140043b71
cmp eax, 2
jl 0x140043b6a
mov rax, qword [r14 + 0x18]
lea rdx, [0x140188ff8]
lea r9, [0x140188fe8]
cmp qword [rax + 0x10], 0
cmove r9, rdx
jmp 0x140043b71
lea r9, [0x140189008]
mov edx, 8
mov r8d, r15d
call fcn.14007db70
mov rax, qword [r14 + 8]
mov rcx, qword [r14 + 0x28]
test dword [rax + 0x68], 0x800
je 0x140043b9d
lea rdx, [0x140188dd4]
call fcn.14007da10
jmp 0x140043bb1
lea r9, [0x140188e14]
mov edx, 2
mov r8d, r15d
call fcn.14007db70
mov rcx, qword [r14 + 8]
mov rax, qword [rcx + 0x1e8]
test rax, rax
je 0x140043be3
mov rax, qword [rax + 0x30]
test rax, rax
je 0x140043be3
nop word [rax + rax]
mov dword [rax + 0x60], 0xfffffffd
mov rax, qword [rax]
test rax, rax
jne 0x140043bd0
mov rcx, qword [r14 + 8]
mov rax, qword [rcx + 0x1f0]
test rax, rax
je 0x140043c13
mov rax, qword [rax]
test rax, rax
je 0x140043c13
nop word [rax + rax]
mov dword [rax + 0x40], 0xffffffff
mov rax, qword [rax]
test rax, rax
jne 0x140043c00
mov rcx, qword [r14 + 8]
test dword [rcx + 0x68], 0x800
jne 0x140043c6a
cmp dword [r14 + 0x100], 0
je 0x140043c2a
xor eax, eax
jmp 0x140043c42
lea r8, [0x14015711c]
mov ecx, 0x3fd
lea rdx, [0x140021670]
call fcn.1400215e0
mov qword [r14 + 0xe0], rax
mov qword [r14 + 0xe8], 0
mov qword [r14 + 0xf0], 0
mov qword [r14 + 0xf8], 0
mov rbx, qword [r14 + 0x18]
mov rax, qword [rbx + 8]
mov r8, qword [rax + 8]
mov rax, rbx
test r8, r8
je 0x140043cd9
nop
mov rdx, qword [r8 + 0x18]
test rdx, rdx
je 0x140043cc9
nop dword [rax]
mov rax, qword [rdx + 0x28]
test rax, rax
je 0x140043cc1
nop dword [rax]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x140043cb9
cmp rcx, qword [0x1401834c0]
je 0x140043cb9
mov dword [rcx + 0x60], 0xfffffffe
mov rax, qword [rax]
test rax, rax
jne 0x140043ca0
mov rdx, qword [rdx]
test rdx, rdx
jne 0x140043c90
mov r8, qword [r8 + 8]
test r8, r8
jne 0x140043c80
mov rbx, qword [r14 + 0x18]
mov rax, rbx
mov rbx, qword [rbx + 0x18]
test rbx, rbx
je 0x140043d1b
call fcn.140008a90
nop word [rax + rax]
lea rdx, [rbx + 0x28]
lea rcx, [r14 + 0x30]
call qword [0x1401baf98]
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x140043d0f
mov rcx, r14
call fcn.140040880
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140043cf0
mov rax, qword [r14 + 0x18]
mov rbx, qword [rax]
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x14004470e
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0x68], r12
lea r12, [r14 + 0x30]
mov qword [rsp + 0x60], r13
lea rdx, [rbx + 0x20]
mov rcx, r12
call qword [0x1401baf98]
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400446ca
nop dword [rax]
nop word [rax + rax]
mov r13, qword [rax + 0x10]
or r15d, 2
mov dword [rsp + 0xb8], r15d
mov qword [rsp + 0x30], r13
test r13, r13
je 0x1400446b4
nop
mov rbx, qword [r13 + 0x18]
test rbx, rbx
je 0x140043e8f
nop dword [rax]
call fcn.140008a90
lea rdx, [rbx + 0x28]
mov rcx, r12
call qword [0x1401baf98]
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140043dc8
cmp dword [rax + 0x60], 0xfffffffd
jne 0x140043dc8
mov dword [rax + 0x60], 0xfffffffe
mov rcx, rbx
call fcn.14006cb30
test rax, rax
je 0x140043de4
mov rcx, rbx
call fcn.14006cb30
mov dword [rax + 0x40], 1
movsxd rsi, dword [rbx + 0x38]
xor edi, edi
test rsi, rsi
jle 0x140043e83
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x20]
mov rcx, r12
mov rdx, qword [rax + rdi*8]
add rdx, 0x28
call qword [0x1401baf98]
mov rax, qword [rbx + 0x20]
mov rcx, qword [rax + rdi*8]
mov dword [rcx], 0xffffffff
mov rax, qword [rbx + 0x20]
mov rcx, qword [rax + rdi*8]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140043e73
cmp byte [rax + 0x24], 3
jne 0x140043e69
mov rdx, qword [rax + 0x18]
xor r9d, r9d
cmp dword [rdx], r9d
jle 0x140043e69
xor r8d, r8d
nop dword [rax]
mov rcx, qword [rdx + 8]
mov rcx, qword [rcx + r8]
call fcn.140047250
inc r9d
lea r8, [r8 + 8]
cmp r9d, dword [rdx]
jl 0x140043e50
mov dword [rax], 0xffffffff
or r15d, 8
inc rdi
cmp rdi, rsi
jl 0x140043e00
mov dword [rsp + 0xb8], r15d
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140043da0
mov rdi, qword [r13 + 0x20]
test rdi, rdi
je 0x140043f4f
nop dword [rax]
call fcn.140008a90
movsxd rsi, dword [rdi + 0x18]
or r15d, 4
xor ebx, ebx
test rsi, rsi
jle 0x140043f3b
nop dword [rax + rax]
mov rax, qword [rdi + 0x10]
mov rcx, r12
mov rdx, qword [rax + rbx*8]
add rdx, 0x28
call qword [0x1401baf98]
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + rbx*8]
mov dword [rcx], 0xffffffff
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + rbx*8]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140043f33
cmp byte [rax + 0x24], 3
jne 0x140043f29
mov rdx, qword [rax + 0x18]
xor r9d, r9d
cmp dword [rdx], r9d
jle 0x140043f29
xor r8d, r8d
nop dword [rax]
mov rcx, qword [rdx + 8]
mov rcx, qword [rcx + r8]
call fcn.140047250
inc r9d
lea r8, [r8 + 8]
cmp r9d, dword [rdx]
jl 0x140043f10
mov dword [rax], 0xffffffff
or r15d, 8
inc rbx
cmp rbx, rsi
jl 0x140043ec0
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140043ea0
mov dword [rsp + 0xb8], r15d
mov rbp, qword [r13 + 0x10]
test rbp, rbp
je 0x14004439d
mov r14d, dword [rsp + 0xb0]
call fcn.140008a90
lea rdx, [rbp + 0x40]
mov rcx, r12
call qword [0x1401baf98]
mov rax, qword [rbp + 0x18]
test rax, rax
je 0x140043f9d
test r14d, r14d
je 0x140043f90
mov dword [rax + 0x60], 0xffffffff
xor r14d, r14d
jmp 0x140043f9d
cmp dword [rax + 0x60], 0xfffffffd
jne 0x140043f9d
mov dword [rax + 0x60], 0xfffffffe
mov rbx, qword [rbp + 0x20]
test rbx, rbx
je 0x140044378
movzx edi, byte [rbx + 0x3c]
xor esi, esi
or r15d, 8
mov dword [rbx], 0xffffffff
cmp byte [rbp + 0x50], sil
je 0x140043fcd
cmp dil, 3
je 0x140043fcd
lea eax, [rdi - 6]
cmp al, 1
ja 0x140043fd5
mov rcx, rbp
call fcn.140074170
cmp dil, 4
jne 0x140043fe8
mov esi, dword [rbx + 0x38]
not esi
and esi, 1
jmp 0x1400440ff
cmp dil, 3
jne 0x14004402d
mov rax, qword [rbx + 0x30]
mov r9, qword [rax]
cmp byte [r9 + 0x24], dil
jne 0x1400440f8
mov r8, qword [r9 + 0x18]
xor edx, edx
cmp dword [r8], edx
jle 0x1400440f8
xor eax, eax
mov rcx, qword [r8 + 8]
mov rcx, qword [rax + rcx]
call fcn.140047250
inc edx
lea rax, [rax + 8]
cmp edx, dword [r8]
jl 0x140044010
jmp 0x1400440f8
cmp dil, 6
jne 0x14004407a
mov rax, qword [rbx + 0x30]
mov r9, qword [rax]
cmp byte [r9 + 0x24], 3
jne 0x1400440f8
mov r8, qword [r9 + 0x18]
xor edx, edx
cmp dword [r8], edx
jle 0x1400440f8
xor eax, eax
nop word [rax + rax]
mov rcx, qword [r8 + 8]
mov rcx, qword [rcx + rax]
call fcn.140047250
inc edx
lea rax, [rax + 8]
cmp edx, dword [r8]
jl 0x140044060
jmp 0x1400440f8
cmp dil, 7
jne 0x1400440ff
mov rax, qword [rbx + 0x30]
mov r9, qword [rax]
cmp byte [r9 + 0x24], 3
jne 0x1400440b8
mov r8, qword [r9 + 0x18]
xor edx, edx
cmp dword [r8], edx
jle 0x1400440b8
xor eax, eax
nop dword [rax + rax]
mov rcx, qword [r8 + 8]
mov rcx, qword [rax + rcx]
call fcn.140047250
inc edx
lea rax, [rax + 8]
cmp edx, dword [r8]
jl 0x1400440a0
mov dword [r9], 0xffffffff
mov rax, qword [rbx + 0x30]
mov r9, qword [rax + 8]
cmp byte [r9 + 0x24], 3
jne 0x1400440f8
mov r8, qword [r9 + 0x18]
xor edx, edx
cmp dword [r8], edx
jle 0x1400440f8
xor eax, eax
nop dword [rax + rax]
mov rcx, qword [r8 + 8]
mov rcx, qword [rax + rcx]
call fcn.140047250
inc edx
lea rax, [rax + 8]
cmp edx, dword [r8]
jl 0x1400440e0
mov dword [r9], 0xffffffff
mov r9, qword [rbp + 0x28]
test r9, r9
je 0x14004423f
movzx eax, byte [r9 + 0x3c]
cmp al, 4
jne 0x140044123
mov esi, dword [r9 + 0x38]
not esi
and esi, 1
jmp 0x14004423f
cmp al, 3
jne 0x14004416d
mov rax, qword [r9 + 0x30]
mov r9, qword [rax]
cmp byte [r9 + 0x24], 3
jne 0x140044238
mov r8, qword [r9 + 0x18]
xor edx, edx
cmp dword [r8], edx
jle 0x140044238
xor eax, eax
nop word [rax + rax]
mov rcx, qword [r8 + 8]
mov rcx, qword [rcx + rax]
call fcn.140047250
inc edx
lea rax, [rax + 8]
cmp edx, dword [r8]
jl 0x140044150
jmp 0x140044238
cmp al, 6
jne 0x1400441ba
mov rax, qword [r9 + 0x30]
mov r9, qword [rax]
cmp byte [r9 + 0x24], 3
jne 0x140044238
mov r8, qword [r9 + 0x18]
xor edx, edx
cmp dword [r8], edx
jle 0x140044238
xor eax, eax
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [r8 + 8]
mov rcx, qword [rcx + rax]
call fcn.140047250
inc edx
lea rax, [rax + 8]
cmp edx, dword [r8]
jl 0x1400441a0
jmp 0x140044238
cmp al, 7
jne 0x14004423f
mov rax, qword [r9 + 0x30]
mov r10, qword [rax]
cmp byte [r10 + 0x24], 3
jne 0x1400441f8
mov r8, qword [r10 + 0x18]
xor edx, edx
cmp dword [r8], edx
jle 0x1400441f8
xor eax, eax
nop dword [rax]
mov rcx, qword [r8 + 8]
mov rcx, qword [rax + rcx]
call fcn.140047250
inc edx
lea rax, [rax + 8]
cmp edx, dword [r8]
jl 0x1400441e0
mov dword [r10], 0xffffffff
mov rax, qword [r9 + 0x30]
mov r9, qword [rax + 8]
cmp byte [r9 + 0x24], 3
jne 0x140044238
mov r8, qword [r9 + 0x18]
xor edx, edx
cmp dword [r8], edx
jle 0x140044238
xor eax, eax
nop dword [rax + rax]
mov rcx, qword [r8 + 8]
mov rcx, qword [rax + rcx]
call fcn.140047250
inc edx
lea rax, [rax + 8]
cmp edx, dword [r8]
jl 0x140044220
mov dword [r9], 0xffffffff
cmp byte [rbp + 0x50], 0
jne 0x140044378
mov rdi, qword [rbp + 0x30]
test rdi, rdi
je 0x140044378
call fcn.140008a90
test esi, esi
je 0x140044267
mov rcx, rdi
call fcn.140073870
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14004436b
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400442df
add rdx, 0x28
mov rcx, r12
call qword [0x1401baf98]
mov rax, qword [rbx + 0x10]
mov dword [rax], 0xffffffff
mov rax, qword [rbx + 0x10]
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x1400442df
cmp byte [rdx + 0x24], 3
jne 0x1400442d9
mov rax, qword [rdx + 0x18]
xor r9d, r9d
cmp dword [rax], r9d
jle 0x1400442d9
xor r8d, r8d
nop word [rax + rax]
mov rcx, qword [rax + 8]
mov rcx, qword [rcx + r8]
call fcn.140047250
inc r9d
lea r8, [r8 + 8]
cmp r9d, dword [rax]
jl 0x1400442c0
mov dword [rdx], 0xffffffff
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14004431f
cmp byte [rax + 0x24], 3
jne 0x140044319
mov rdx, qword [rax + 0x18]
xor r9d, r9d
cmp dword [rdx], r9d
jle 0x140044319
xor r8d, r8d
nop dword [rax]
mov rcx, qword [rdx + 8]
mov rcx, qword [r8 + rcx]
call fcn.140047250
inc r9d
lea r8, [r8 + 8]
cmp r9d, dword [rdx]
jl 0x140044300
mov dword [rax], 0xffffffff
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14004435f
cmp byte [rax + 0x24], 3
jne 0x140044359
mov rdx, qword [rax + 0x18]
xor r9d, r9d
cmp dword [rdx], r9d
jle 0x140044359
xor r8d, r8d
nop dword [rax]
mov rcx, qword [rdx + 8]
mov rcx, qword [r8 + rcx]
call fcn.140047250
inc r9d
lea r8, [r8 + 8]
cmp r9d, dword [rdx]
jl 0x140044340
mov dword [rax], 0xffffffff
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140044274
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x140044256
mov rbp, qword [rbp + 8]
test rbp, rbp
jne 0x140043f64
mov dword [rsp + 0xb0], r14d
mov r14, qword [rsp + 0xa0]
mov dword [rsp + 0xb8], r15d
mov rbx, qword [r13 + 0x30]
test rbx, rbx
je 0x1400443c5
call fcn.140008a90
nop dword [rax + rax]
lea rdx, [rbx + 0x28]
mov rcx, r12
call qword [0x1401baf98]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400443b0
mov rbx, qword [r13 + 0x38]
test rbx, rbx
je 0x140044404
call fcn.140008a90
lea rdx, [rbx + 0x40]
mov rcx, r12
call qword [0x1401baf98]
mov rcx, rbx
call fcn.1400767a0
test rax, rax
je 0x1400443fc
mov rcx, rbx
call fcn.1400767a0
mov dword [rax + 0x40], 1
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400443d3
mov rbx, qword [r13 + 0x40]
test rbx, rbx
je 0x140044427
call fcn.140008a90
lea rdx, [rbx + 0x58]
mov rcx, r12
call qword [0x1401baf98]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140044412
mov rsi, qword [r13 + 0x28]
test rsi, rsi
je 0x14004469d
call fcn.140008a90
mov r13d, 0xfff
lea r15, [0x140188e7c]
nop word [rax + rax]
cmp dword [r14 + 0x40], 5
lea rdx, [0x140188e54]
mov r8d, 0x1fff
lea rcx, [rsp + 0x48]
cmovl r8d, r13d
and r8d, dword [rsi + 0x48]
cmp dword [r14 + 0x40], 5
cmovl rdx, r15
call fcn.140002a20
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.140021200
mov edx, 1
lea rcx, [0x1401890d8]
mov rbx, rax
call fcn.140020ea0
mov rdx, rax
lea rcx, [rsi + 0x18]
mov r8, rbx
call fcn.140020130
lea rdx, [rsi + 0x18]
mov rcx, r12
call qword [0x1401baf98]
mov rax, qword [r14 + 8]
mov rbx, qword [rsi + 0x28]
test dword [rax + 0x68], 0x800
jne 0x1400445a7
test rbx, rbx
je 0x14004450d
nop word [rax + rax]
mov rdx, qword [rbx + 8]
mov rcx, r14
call fcn.140040b10
mov rdx, qword [rbx + 0x10]
cmp byte [rdx], 0
jne 0x140044501
mov rdx, qword [rdx + 8]
mov rcx, r14
call fcn.140040b10
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400444e0
mov rax, qword [r14 + 8]
test dword [rax + 0x68], 0x800
jne 0x1400445a7
cmp dword [r14 + 0x40], 6
jl 0x1400445a7
mov rbx, qword [rsi + 0x50]
test rbx, rbx
je 0x14004455a
nop
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x140044541
mov rcx, r14
call fcn.140040b10
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x140044552
mov rcx, r14
call fcn.140040b10
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140044530
cmp dword [rsi + 0x4c], 0
jle 0x1400445a7
xor edi, edi
xor ebx, ebx
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsi + 0x10]
mov rdx, qword [rax + rbx + 0x28]
test rdx, rdx
je 0x14004458a
mov rcx, r14
call fcn.140040b10
mov rax, qword [rsi + 0x10]
mov rdx, qword [rax + rbx + 0x30]
test rdx, rdx
je 0x14004459c
mov rcx, r14
call fcn.140040b10
inc edi
add rbx, 0x70
cmp edi, dword [rsi + 0x4c]
jl 0x140044570
mov eax, dword [rsi + 0x48]
and eax, 0xf00
cmp eax, 0x100
jne 0x1400445f7
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x1400445f7
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x1400445f7
nop dword [rax + rax]
mov rax, qword [rcx + 0x28]
test rax, rax
je 0x1400445ef
nop dword [rax]
mov dword [rax + 0x60], 0xffffffff
mov rax, qword [rax]
test rax, rax
jne 0x1400445e0
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1400445d0
cmp dword [rsi + 0x4c], 0
jle 0x14004466b
xor r9d, r9d
xor edx, edx
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
mov rax, rcx
mov r8, qword [rcx + rdx + 8]
test r8, r8
je 0x140044647
cmp qword [r8 + 0x18], 0
je 0x140044647
cmp dword [r8 + 0x60], 0xfffffffd
jne 0x140044647
or byte [rcx + rdx], 0x10
mov rax, qword [rsi + 0x10]
mov rcx, qword [rdx + rax + 8]
mov dword [rcx + 0x60], 0xfffffffe
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + rdx + 0x38]
test rcx, rcx
je 0x14004465e
cmp dword [rcx + 0x60], 0xfffffffd
jne 0x14004465e
mov dword [rcx + 0x60], 0xfffffffe
inc r9d
add rdx, 0x70
cmp r9d, dword [rsi + 0x4c]
jl 0x140044610
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x140044684
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x140044684
mov dword [rcx + 0x60], 0xfffffffe
mov rsi, qword [rsi]
test rsi, rsi
jne 0x140044450
mov r15d, dword [rsp + 0xb8]
mov r13, qword [rsp + 0x30]
mov r13, qword [r13]
mov qword [rsp + 0x30], r13
test r13, r13
jne 0x140043d90
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140043d70
mov rbx, qword [rsp + 0x40]
mov rbx, qword [rbx + 8]
mov ecx, r15d
mov qword [rsp + 0x40], rbx
test rbx, rbx
jne 0x140043d42
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0xa8]
test cl, 8
je 0x14004470e
mov rax, qword [r14 + 8]
test dword [rax + 0x80], 0x100
je 0x14004470e
and r15d, 0xfffffff7
or r15d, 0x10
mov rax, qword [r14 + 0x10]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x140044741
nop dword [rax + rax]
mov rcx, rbx
call fcn.140079130
test al, al
je 0x140044739
lea rdx, [rbx + 0x10]
lea rcx, [r14 + 0x30]
call fcn.1400201e0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140044720
mov dword [r14 + 0xa4], r15d
xor eax, eax
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret