Function at 0x140073be0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x370
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov r14, rcx
mov qword [rsp + 0x50], rcx
mov r13, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0xa0], rdx
xor edi, edi
mov dword [rsp + 0x60], edi
cmp byte [0x1402d1019], dil
jne 0x140075097
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x140073c45
mov rdx, qword [rdx]
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], 7
mov word [rsp + 0x80], di
lea rcx, [rsp + 0x80]
call fcn.140018360
nop
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x150]
call fcn.1401cff00
mov r8d, 0x104
lea rdx, [rsp + 0x150]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [rsp + 0x150]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x140073cb4
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], 7
mov word [rsp + 0xc8], di
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0xc8]
call fcn.140018360
nop
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x130]
call fcn.140068a70
nop
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1400840e0
nop
lea rdx, [rsp + 0x110]
mov rcx, rax
call fcn.1400840e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x130]
call fcn.1400272a0
nop
lea rcx, [rsp + 0xc8]
call fcn.1400272a0
nop
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xa8]
call fcn.140018e70
nop
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xa8]
call fcn.140057210
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.140018e70
nop
lea rcx, [rsp + 0xa8]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x110]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x80]
call fcn.1400272a0
lea rcx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rcx, qword [rsp + 0xe8]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rsp + 0xc8]
call fcn.1401ab2e4
mov edx, eax
test eax, eax
jne 0x140073e2c
mov ecx, dword [rsp + 0xd8]
bt ecx, 0xa
jae 0x140073e21
mov eax, dword [rsp + 0xdc]
cmp eax, 0xa000000c
jne 0x140073e13
lea ecx, [rdx + 4]
jmp 0x140073e47
cmp eax, 0xa0000003
jne 0x140073e21
mov ecx, 0xa
jmp 0x140073e47
and ecx, 0x10
or ecx, 0x20
shr ecx, 4
jmp 0x140073e47
sub eax, 2
je 0x140073e42
sub eax, 1
je 0x140073e42
sub eax, 0x32
je 0x140073e42
cmp eax, 0x46
mov ecx, edi
jne 0x140073e47
mov ecx, 1
mov dword [rsp + 0x60], edx
lea rax, [0x1402bf5e0]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
test ecx, ecx
je 0x1400750d1
cmp ecx, 1
je 0x140075089
lea rcx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rcx, qword [rsp + 0xe8]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x140073edc
lea rcx, [rsp + 0xe8]
call fcn.1400272a0
nop
mov rcx, qword [rsp + 0xa0]
call fcn.1400272a0
jmp 0x1400750a4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x120], rax
lea rcx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rcx, qword [rsp + 0xe8]
mov r9d, 0xffffffff
mov r15d, 9
mov r8d, r15d
lea rdx, [rsp + 0x130]
call fcn.1401ab2e4
test eax, eax
jne 0x140075145
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x120], rdi
mov rsi, qword [rsp + 0x138]
test rsi, rsi
je 0x140073fe0
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x1400750ee
lea rdi, [rsi + rsi]
cmp rdi, 0x1000
jb 0x140073f9d
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1400750f3
call fcn.1401a9704
test rax, rax
je 0x1400750f8
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x140073fb3
test rdi, rdi
je 0x140073faf
mov rcx, rdi
call fcn.1401a9704
mov rcx, rax
jmp 0x140073fb3
xor eax, eax
mov ecx, eax
mov qword [rsp + 0x110], rcx
lea r14, [rdi + rcx]
mov qword [rsp + 0x120], r14
mov r8, rdi
xor edx, edx
call fcn.1401cff00
mov qword [rsp + 0x118], r14
mov r14, qword [rsp + 0x50]
xor edi, edi
mov dword [rsp + 0x108], edi
mov r8, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x110]
sub r8, rdx
sar r8, 1
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x108]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x150]
call fcn.1401cff00
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], 7
mov word [rsp + 0xc8], di
mov rdx, qword [rsp + 0x110]
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140074060
mov r8, rbx
lea rcx, [rsp + 0xc8]
call fcn.140018360
nop
lea rax, [0x14027d400]
mov qword [rsp + 0x150], rax
lea rax, [0x14027d4b0]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x1f0], rdi
mov qword [rsp + 0x218], rdi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x220], xmm0
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + 0x1e8], rax
mov dword [rsp + 0x60], 0xdf
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x150]
call fcn.14002a0a0
nop
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x160], rax
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x15c], edx
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x150], rax
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x14c], edx
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x150], rax
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x14c], edx
lea rax, [rsp + 0x168]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x168]
call fcn.14002a320
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x168], rax
mov edi, 0x20
mov rax, qword [rsp + 0xe0]
cmp rax, 8
jb 0x1400741c9
mov rdx, qword [rsp + 0xc8]
lea r15, [rax + 1]
jmp 0x1400741e1
mov ecx, 0x12
call fcn.1401a9704
mov rdx, rax
movups xmm0, xmmword [rsp + 0xc8]
movups xmmword [rax], xmm0
test r15, r15
je 0x140074258
mov rax, qword [rsp + 0xd8]
lea rcx, [rdx + rax*2]
mov qword [rsp + 0x1d0], rcx
mov rax, qword [rsp + 0x188]
mov qword [rax], rdx
mov rax, qword [rsp + 0x1a8]
mov qword [rax], rdx
lea rcx, [r15 + r15]
sar rcx, 1
mov rax, qword [rsp + 0x1c0]
mov dword [rax], ecx
mov rcx, qword [rsp + 0x1d0]
mov rax, qword [rsp + 0x180]
mov qword [rax], rdx
mov rax, qword [rsp + 0x1a0]
mov qword [rax], rdx
sub rcx, rdx
sar rcx, 1
mov rax, qword [rsp + 0x1b8]
mov dword [rax], ecx
mov edi, 0x21
xor eax, eax
jmp 0x140074262
xor eax, eax
mov qword [rsp + 0x1d0], rax
mov dword [rsp + 0x1d8], edi
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], ax
lea r12, [0x140238cb0]
lea r15, [0x140238cac]
lea rsi, [0x140238ca8]
lea rbx, str.GRDW
nop dword [rax]
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x150]
add rcx, rax
mov dl, 0xa
call fcn.14002b6f0
movzx r8d, ax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x150]
call fcn.140040c90
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14007501d
lea r8, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae r8, qword [rsp + 0xa8]
cmp qword [rsp + 0xb8], 1
jne 0x1400743fe
mov edi, 1
mov rcx, rbx
movzx eax, word [r8]
mov edx, 0x47
cmp ax, dx
jb 0x1400743fe
sub r8, rbx
cmp ax, dx
ja 0x1400743fe
cmp rdi, 1
je 0x140074367
dec rdi
add rcx, 2
movzx eax, word [r8 + rcx]
movzx edx, word [rcx]
cmp ax, dx
jae 0x140074342
jmp 0x1400743fe
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x150]
add rcx, rax
mov dl, 0xa
call fcn.14002b6f0
movzx r8d, ax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x150]
call fcn.140040c90
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x1400743fe
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rsp + 0xa8]
call fcn.14009b9c0
cmp byte [r13 + 0xfd0], 0
jne 0x1400743d1
mov byte [r13 + 0xfd0], 1
mov dword [r14 + 0xfcc], eax
jmp 0x1400743fe
lea r8, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae r8, qword [rsp + 0xa8]
cmp qword [rsp + 0xb8], 1
jne 0x140074503
mov edi, 1
mov rcx, rsi
movzx eax, word [r8]
mov edx, 0x52
cmp ax, dx
jb 0x140074503
sub r8, rsi
cmp ax, dx
ja 0x140074503
cmp rdi, 1
je 0x14007446c
dec rdi
add rcx, 2
movzx eax, word [r8 + rcx]
movzx edx, word [rcx]
cmp ax, dx
jae 0x140074447
jmp 0x140074503
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x150]
add rcx, rax
mov dl, 0xa
call fcn.14002b6f0
movzx r8d, ax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x150]
call fcn.140040c90
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x140074503
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rsp + 0xa8]
call fcn.14009b9c0
cmp byte [r13 + 0xfd8], 0
jne 0x1400744d6
mov byte [r13 + 0xfd8], 1
mov dword [r14 + 0xfd4], eax
jmp 0x140074503
lea r8, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae r8, qword [rsp + 0xa8]
cmp qword [rsp + 0xb8], 1
jne 0x140074608
mov edi, 1
mov rcx, r15
movzx eax, word [r8]
mov edx, MsiGetPropertyW
cmp ax, dx
jb 0x140074608
sub r8, r15
cmp ax, dx
ja 0x140074608
cmp rdi, 1
je 0x140074571
dec rdi
add rcx, 2
movzx eax, word [rcx + r8]
movzx edx, word [rcx]
cmp ax, dx
jae 0x14007454c
jmp 0x140074608
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x150]
add rcx, rax
mov dl, 0xa
call fcn.14002b6f0
movzx r8d, ax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x150]
call fcn.140040c90
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x140074608
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rsp + 0xa8]
call fcn.14009b9c0
cmp byte [r13 + 0xfe8], 0
jne 0x1400745db
mov byte [r13 + 0xfe8], 1
mov dword [r14 + 0xfe4], eax
jmp 0x140074608
lea r8, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae r8, qword [rsp + 0xa8]
cmp qword [rsp + 0xb8], 1
jne 0x14007470d
mov edi, 1
mov rcx, r12
movzx eax, word [r8]
mov edx, MsiOpenDatabaseW
cmp ax, dx
jb 0x14007470d
sub r8, r12
cmp ax, dx
ja 0x14007470d
cmp rdi, 1
je 0x140074676
dec rdi
add rcx, 2
movzx eax, word [r8 + rcx]
movzx edx, word [rcx]
cmp ax, dx
jae 0x140074651
jmp 0x14007470d
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x150]
add rcx, rax
mov dl, 0xa
call fcn.14002b6f0
movzx r8d, ax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x150]
call fcn.140040c90
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14007470d
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rsp + 0xa8]
call fcn.14009b9c0
cmp byte [r13 + 0xfe0], 0
jne 0x1400746e0
mov byte [r13 + 0xfe0], 1
mov dword [r14 + 0xfdc], eax
jmp 0x14007470d
lea r9, [0x140238cb8]
lea r8, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae r8, qword [rsp + 0xa8]
cmp qword [rsp + 0xb8], 3
jne 0x14007484b
mov edi, 3
mov rcx, r9
movzx eax, word [r8]
mov edx, 0x47
cmp ax, dx
jb 0x14007484b
sub r8, r9
cmp ax, dx
ja 0x14007484b
cmp rdi, 1
je 0x140074782
dec rdi
add rcx, 2
movzx eax, word [r8 + rcx]
movzx edx, word [rcx]
cmp ax, dx
jae 0x14007475d
jmp 0x14007484b
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x150]
add rcx, rax
mov dl, 0xa
call fcn.14002b6f0
movzx r8d, ax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x150]
call fcn.140040c90
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14007484b
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rsp + 0xa8]
call fcn.14009b9c0
movsxd rcx, eax
cmp byte [r14 + 0xff0], 0
je 0x14007480c
cmp byte [r13 + 0xff0], 0
je 0x1400750fe
mov eax, dword [r13 + 0xfec]
add rax, rcx
mov dword [r14 + 0xfec], eax
jmp 0x140074825
mov dword [r13 + 0xfec], ecx
cmp byte [r13 + 0xff0], 0
jne 0x140074825
mov byte [r13 + 0xff0], 1
jmp 0x14007484b
lea r9, [0x140238cc0]
lea r8, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae r8, qword [rsp + 0xa8]
cmp qword [rsp + 0xb8], 3
jne 0x140074989
mov edi, 3
mov rcx, r9
movzx eax, word [r8]
mov edx, 0x47
cmp ax, dx
jb 0x140074989
sub r8, r9
cmp ax, dx
ja 0x140074989
cmp rdi, 1
je 0x1400748c0
dec rdi
add rcx, 2
movzx eax, word [r8 + rcx]
movzx edx, word [rcx]
cmp ax, dx
jae 0x14007489b
jmp 0x140074989
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x150]
add rcx, rax
mov dl, 0xa
call fcn.14002b6f0
movzx r8d, ax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x150]
call fcn.140040c90
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x140074989
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rsp + 0xa8]
call fcn.14009b9c0
movsxd rcx, eax
cmp byte [r14 + 0x1000], 0
je 0x14007494a
cmp byte [r13 + 0x1000], 0
je 0x140075104
mov eax, dword [r13 + 0xffc]
add rax, rcx
mov dword [r14 + 0xffc], eax
jmp 0x140074963
mov dword [r13 + 0xffc], ecx
cmp byte [r13 + 0x1000], 0
jne 0x140074963
mov byte [r13 + 0x1000], 1
jmp 0x140074989
lea r9, [0x140238cc8]
lea r8, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae r8, qword [rsp + 0xa8]
cmp qword [rsp + 0xb8], 3
jne 0x140074aa5
mov edi, 3
mov rcx, r9
movzx eax, word [r8]
mov edx, 0x52
cmp ax, dx
jb 0x140074aa5
sub r8, r9
cmp ax, dx
ja 0x140074aa5
cmp rdi, 1
je 0x1400749fe
dec rdi
add rcx, 2
movzx eax, word [r8 + rcx]
movzx edx, word [rcx]
cmp ax, dx
jae 0x1400749d9
jmp 0x140074aa5
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x150]
call fcn.140040f30
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x140074aa5
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rsp + 0xa8]
call fcn.14009b9c0
movsxd rcx, eax
cmp byte [r14 + 0xff8], 0
je 0x140074a66
cmp byte [r13 + 0xff8], 0
je 0x14007510a
mov eax, dword [r13 + 0xff4]
add rax, rcx
mov dword [r14 + 0xff4], eax
jmp 0x140074a7f
mov dword [r13 + 0xff4], ecx
cmp byte [r13 + 0xff8], 0
jne 0x140074a7f
mov byte [r13 + 0xff8], 1
jmp 0x140074aa5
lea r9, [0x140238cd0]
lea r8, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae r8, qword [rsp + 0xa8]
cmp qword [rsp + 0xb8], 3
jne 0x140074bc1
mov edi, 3
mov rcx, r9
movzx eax, word [r8]
mov edx, 0x52
cmp ax, dx
jb 0x140074bc1
sub r8, r9
cmp ax, dx
ja 0x140074bc1
cmp rdi, 1
je 0x140074b1a
dec rdi
add rcx, 2
movzx eax, word [r8 + rcx]
movzx edx, word [rcx]
cmp ax, dx
jae 0x140074af5
jmp 0x140074bc1
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x150]
call fcn.140040f30
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x140074bc1
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rsp + 0xa8]
call fcn.14009b9c0
movsxd rcx, eax
cmp byte [r14 + 0x1008], 0
je 0x140074b82
cmp byte [r13 + 0x1008], 0
je 0x140075110
mov eax, dword [r13 + 0x1004]
add rax, rcx
mov dword [r14 + 0x1004], eax
jmp 0x140074b9b
mov dword [r13 + 0x1004], ecx
cmp byte [r13 + 0x1008], 0
jne 0x140074b9b
mov byte [r13 + 0x1008], 1
jmp 0x140074bc1
lea r9, [0x140238cd8]
lea r8, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae r8, qword [rsp + 0xa8]
cmp qword [rsp + 0xb8], 3
jne 0x140074cdd
mov edi, 3
mov rcx, r9
movzx eax, word [r8]
mov edx, 0x50
cmp ax, dx
jb 0x140074cdd
sub r8, r9
cmp ax, dx
ja 0x140074cdd
cmp rdi, 1
je 0x140074c36
dec rdi
add rcx, 2
movzx eax, word [r8 + rcx]
movzx edx, word [rcx]
cmp ax, dx
jae 0x140074c11
jmp 0x140074cdd
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x150]
call fcn.140040f30
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x140074cdd
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rsp + 0xa8]
call fcn.14009b9c0
movsxd rcx, eax
cmp byte [r14 + 0x1010], 0
je 0x140074c9e
cmp byte [r13 + 0x1010], 0
je 0x140075116
mov eax, dword [r13 + 0x100c]
add rax, rcx
mov dword [r14 + 0x100c], eax
jmp 0x140074cb7
mov dword [r13 + 0x100c], ecx
cmp byte [r13 + 0x1010], 0
jne 0x140074cb7
mov byte [r13 + 0x1010], 1
jmp 0x140074cdd
lea r9, [0x140238ce0]
lea r8, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae r8, qword [rsp + 0xa8]
cmp qword [rsp + 0xb8], 3
jne 0x140074df9
mov edi, 3
mov rcx, r9
movzx eax, word [r8]
mov edx, 0x50
cmp ax, dx
jb 0x140074df9
sub r8, r9
cmp ax, dx
ja 0x140074df9
cmp rdi, 1
je 0x140074d52
dec rdi
add rcx, 2
movzx eax, word [r8 + rcx]
movzx edx, word [rcx]
cmp ax, dx
jae 0x140074d2d
jmp 0x140074df9
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x150]
call fcn.140040f30
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x140074df9
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rsp + 0xa8]
call fcn.14009b9c0
movsxd rcx, eax
cmp byte [r14 + 0x1028], 0
je 0x140074dba
cmp byte [r13 + 0x1028], 0
je 0x14007511c
mov eax, dword [r13 + 0x1024]
add rax, rcx
mov dword [r14 + 0x1024], eax
jmp 0x140074dd3
mov dword [r13 + 0x1024], ecx
cmp byte [r13 + 0x1028], 0
jne 0x140074dd3
mov byte [r13 + 0x1028], 1
jmp 0x140074df9
lea r9, [0x140238ce8]
lea r8, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae r8, qword [rsp + 0xa8]
cmp qword [rsp + 0xb8], 3
jne 0x140074f15
mov edi, 3
mov rcx, r9
movzx eax, word [r8]
mov edx, 0x52
cmp ax, dx
jb 0x140074f15
sub r8, r9
cmp ax, dx
ja 0x140074f15
cmp rdi, 1
je 0x140074e6e
dec rdi
add rcx, 2
movzx eax, word [r8 + rcx]
movzx edx, word [rcx]
cmp ax, dx
jae 0x140074e49
jmp 0x140074f15
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x150]
call fcn.140040f30
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x140074f15
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rsp + 0xa8]
call fcn.14009b9c0
movsxd rcx, eax
cmp byte [r14 + 0x1020], 0
je 0x140074ed6
cmp byte [r13 + 0x1020], 0
je 0x140075122
mov eax, dword [r13 + 0x101c]
add rax, rcx
mov dword [r14 + 0x101c], eax
jmp 0x140074eef
mov dword [r13 + 0x101c], ecx
cmp byte [r13 + 0x1020], 0
jne 0x140074eef
mov byte [r13 + 0x1020], 1
jmp 0x140074f15
lea r9, [0x140238cf0]
lea r8, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae r8, qword [rsp + 0xa8]
cmp qword [rsp + 0xb8], 3
jne 0x1400742b0
mov edi, 3
mov rcx, r9
movzx eax, word [r8]
mov edx, 0x47
cmp ax, dx
jb 0x1400742b0
sub r8, r9
cmp ax, dx
ja 0x1400742b0
cmp rdi, 1
je 0x140074f8a
dec rdi
add rcx, 2
movzx eax, word [r8 + rcx]
movzx edx, word [rcx]
cmp ax, dx
jae 0x140074f65
jmp 0x1400742b0
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x150]
call fcn.140040f30
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x1400742b0
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rsp + 0xa8]
call fcn.14009b9c0
movsxd rcx, eax
cmp byte [r14 + 0x1018], 0
je 0x140074ff2
cmp byte [r13 + 0x1018], 0
je 0x140075128
mov eax, dword [r13 + 0x1014]
add rax, rcx
mov dword [r14 + 0x1014], eax
jmp 0x14007500b
mov dword [r13 + 0x1014], ecx
cmp byte [r13 + 0x1018], 0
jne 0x14007500b
mov byte [r13 + 0x1018], 1
jmp 0x1400742b0
call fcn.1400d1ee0
cmp byte [rax + 0x140], 0
jne 0x140075058
lea rcx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rcx, qword [rsp + 0xe8]
call fcn.1401ab700
shr rax, 0x20
test eax, eax
jne 0x14007512e
jmp 0x14007505f
mov byte [0x1402d1019], 1
lea rcx, [rsp + 0xa8]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x150]
call fcn.140019440
nop
lea rcx, [rsp + 0x110]
call fcn.1400213d0
nop
lea rcx, [rsp + 0xe8]
call fcn.1400272a0
nop
mov rcx, qword [rsp + 0xa0]
call fcn.1400272a0
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.1401a9440
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
test edx, edx
je 0x140075089
lea r8, [rsp + 0xe8]
lea rdx, [rsp + 0x60]
lea rcx, str.exists
call fcn.140067eb0
call fcn.140022340
call fcn.140014d90
call fcn.1401e37cc
nop
call fcn.140067e80
nop
call fcn.140067e80
nop
call fcn.140067e80
nop
call fcn.140067e80
nop
call fcn.140067e80
nop
call fcn.140067e80
nop
call fcn.140067e80
nop
call fcn.140067e80
nop
lea r8, [rsp + 0xe8]
mov edx, eax
lea rcx, str.remove
call fcn.140067fe0
nop
lea r8, [rsp + 0xe8]
mov edx, eax
lea rcx, str.file_size
call fcn.140067fe0
int3