Function at 0x180036798
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x480
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x178], 0xfffffffffffffffe
mov qword [rbp + 0x490], rbx
mov rax, qword [0x1801563c0]
xor rax, rbp
mov qword [rbp + 0x430], rax
mov r13, rdx
mov r15, rcx
mov qword [rbp + 0x180], rdx
xor esi, esi
mov dword [rbp], esi
lea rdx, [rbp + 0x38]
lea rcx, [0x180162940]
call fcn.1800392a0
nop
lea rdx, str.Extensions_
lea rcx, [rbp + 0x108]
call fcn.180007f64
nop
mov rdi, qword [rbp + 0x108]
mov r8, rdi
mov edx, dword [rdi - 8]
lea rcx, [rbp + 0x38]
call fcn.180008324
nop
lea rcx, [rdi - 0xc]
lea rax, [0x18015f758]
or rbx, 0xffffffffffffffff
cmp rcx, rax
je 0x180036846
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
cmp eax, esi
jg 0x180036846
call fcn.1800d1434
mov rax, qword [r13]
mov r8, rax
mov edx, dword [rax - 8]
lea rcx, [rbp + 0x38]
call fcn.180008324
lea rdx, [0x18011c1e8]
lea rcx, [rbp + 0x120]
call fcn.180007f64
nop
mov rdi, qword [rbp + 0x120]
mov r8, rdi
mov edx, dword [rdi - 8]
lea rcx, [rbp + 0x38]
call fcn.180008324
nop
lea rcx, [rdi - 0xc]
lea rdi, [0x18015f758]
cmp rcx, rdi
je 0x1800368a5
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
cmp eax, esi
jg 0x1800368a5
call fcn.1800d1434
lea rdx, [rbp + 0x1e0]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
test byte [rbp + 0x1e0], 0x10
je 0x1800374dc
lea rdx, [rbp + 0x20c]
lea rcx, [rbp + 0x28]
call fcn.1800041c0
nop
lea rdi, [0x18010d3c4]
mov rbx, qword [rbp + 0x28]
mov rsi, rbx
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x1800374a9
lea rdi, [0x18010d50c]
mov rsi, rbx
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x1800374a9
lea rdx, [rbp + 0x20]
lea rcx, [0x180162940]
call fcn.1800392a0
nop
lea rdx, str.Extensions_
lea rcx, [rbp + 0x110]
call fcn.180007f64
nop
mov rdi, qword [rbp + 0x110]
mov r8, rdi
mov edx, dword [rdi - 8]
lea rcx, [rbp + 0x20]
call fcn.180008324
nop
lea rcx, [rdi - 0xc]
lea r12, [0x18015f758]
cmp rcx, r12
je 0x18003696d
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
xor esi, esi
cmp eax, esi
jg 0x18003696f
call fcn.1800d1434
jmp 0x18003696f
xor esi, esi
mov rax, qword [r13]
mov r8, rax
mov edx, dword [rax - 8]
lea rcx, [rbp + 0x20]
call fcn.180008324
lea rdx, [0x18011c1ec]
lea rcx, [rbp + 0xf8]
call fcn.180007f64
nop
mov rdi, qword [rbp + 0xf8]
mov r8, rdi
mov edx, dword [rdi - 8]
lea rcx, [rbp + 0x20]
call fcn.180008324
nop
lea rcx, [rdi - 0xc]
cmp rcx, r12
je 0x1800369c8
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, esi
jg 0x1800369c8
call fcn.1800d1434
mov rbx, qword [rbp + 0x28]
mov r8, rbx
mov edx, dword [rbx - 8]
lea rcx, [rbp + 0x20]
call fcn.180008324
lea rdx, str.manifest.json
lea rcx, [rbp + 0x118]
call fcn.180007f64
nop
mov rdi, qword [rbp + 0x118]
mov r8, rdi
mov edx, dword [rdi - 8]
lea rcx, [rbp + 0x20]
call fcn.180008324
nop
lea rcx, [rdi - 0xc]
cmp rcx, r12
je 0x180036a21
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, esi
jg 0x180036a21
call fcn.1800d1434
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x88], rsi
mov qword [rbp + 0x90], rsi
mov dword [rbp + 0x98], esi
mov rdi, qword [rbp + 0x20]
lea r12, [rdi - 0xc]
cmp dword [r12], esi
jl 0x180036a56
mov qword [rbp + 0x68], rdi
lock add dword [r12], 1
jmp 0x180036a78
mov rax, qword [0x18015f768]
mov qword [rbp + 0x68], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rdi
mov edx, eax
lea rcx, [rbp + 0x68]
call fcn.180003e28
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x80]
call fcn.180059e8c
mov rdx, qword [0x18015f768]
mov qword [rbp + 8], rdx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x70], rdx
mov dword [rbp + 0x30], esi
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x80]
call fcn.18005afac
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x80]
call fcn.18005b254
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x80]
call fcn.18005b100
lea rdx, str.__MSG_appName__
lea rcx, [rbp + 0xb0]
call fcn.180007f64
nop
or dword [rbp], 1
mov rax, qword [rbp + 0x18]
mov rdi, qword [rbp + 0xb0]
sub rdi, rax
movzx edx, word [rax]
movzx ecx, word [rax + rdi]
sub edx, ecx
jne 0x180036b07
add rax, 2
test ecx, ecx
jne 0x180036af4
cmp edx, esi
je 0x180036b4c
lea rdx, str.__MSG_appDesc__
lea rcx, [rbp + 0xc0]
call fcn.180007f64
or dword [rbp], 2
mov rax, qword [rbp + 8]
mov rdi, qword [rbp + 0xc0]
sub rdi, rax
movzx edx, word [rax]
movzx ecx, word [rax + rdi]
sub edx, ecx
jne 0x180036b43
add rax, 2
test ecx, ecx
jne 0x180036b30
cmp edx, esi
je 0x180036b4c
mov dil, sil
jmp 0x180036b4f
mov dil, 1
mov eax, dword [rbp]
test al, 2
je 0x180036b8c
and dword [rbp], 0xfffffffd
mov rcx, qword [rbp + 0xc0]
add rcx, 0xfffffffffffffff4
lea rdx, [0x18015f758]
cmp rcx, rdx
je 0x180036b93
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, esi
jg 0x180036b93
call fcn.1800d1434
lea rdx, [0x18015f758]
jmp 0x180036b93
lea rdx, [0x18015f758]
mov eax, dword [rbp]
test al, 1
je 0x180036bc0
and dword [rbp], 0xfffffffe
mov rcx, qword [rbp + 0xb0]
add rcx, 0xfffffffffffffff4
cmp rcx, rdx
je 0x180036bc0
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, esi
jg 0x180036bc0
call fcn.1800d1434
cmp dil, sil
je 0x180036e19
lea rdx, str.messages.json
lea rcx, [rbp + 0xd8]
call fcn.1800041c0
nop
lea rdx, [rbp + 0x10]
lea rcx, [0x180162940]
call fcn.1800392a0
nop
lea rdx, str.Extensions_
lea rcx, [rbp + 0xe0]
call fcn.180007f64
nop
mov rdi, qword [rbp + 0xe0]
mov r8, rdi
mov edx, dword [rdi - 8]
lea rcx, [rbp + 0x10]
call fcn.180008324
nop
lea rcx, [rdi - 0xc]
lea rax, [0x18015f758]
cmp rcx, rax
je 0x180036c3b
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, esi
jg 0x180036c3b
call fcn.1800d1434
mov rax, qword [r13]
mov r8, rax
mov edx, dword [rax - 8]
lea rcx, [rbp + 0x10]
call fcn.180008324
lea rdx, [0x18011c1ec]
lea rcx, [rbp + 0xe8]
call fcn.180007f64
nop
mov rdi, qword [rbp + 0xe8]
mov r8, rdi
mov edx, dword [rdi - 8]
lea rcx, [rbp + 0x10]
call fcn.180008324
nop
lea rcx, [rdi - 0xc]
lea rax, [0x18015f758]
cmp rcx, rax
je 0x180036c9b
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, esi
jg 0x180036c9b
call fcn.1800d1434
mov r8, qword [rbp + 0x28]
mov edx, dword [rbx - 8]
lea rcx, [rbp + 0x10]
call fcn.180008324
lea rdx, str._locales
lea rcx, [rbp + 0xf0]
call fcn.180007f64
nop
mov rdi, qword [rbp + 0xf0]
mov r8, rdi
mov edx, dword [rdi - 8]
lea rcx, [rbp + 0x10]
call fcn.180008324
nop
lea rcx, [rdi - 0xc]
lea rbx, [0x18015f758]
cmp rcx, rbx
je 0x180036cf8
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, esi
jg 0x180036cf8
call fcn.1800d1434
mov rdi, qword [rbp + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180036dd9
lea rdx, str.en_
lea rcx, [rbp + 0x100]
call fcn.180007f64
nop
mov rdi, qword [rbp + 0x100]
mov r8, rdi
mov edx, dword [rdi - 8]
lea rcx, [rbp + 0x10]
call fcn.180008324
nop
lea rcx, [rdi - 0xc]
cmp rcx, rbx
je 0x180036d54
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, esi
jg 0x180036d54
call fcn.1800d1434
mov rax, qword [rbp + 0xd8]
mov r8, rax
mov edx, dword [rax - 8]
lea rcx, [rbp + 0x10]
call fcn.180008324
mov rdi, qword [rbp + 0x10]
cmp dword [rdi - 0xc], esi
jl 0x180036d82
mov qword [rbp + 0x78], rdi
lock add dword [rdi - 0xc], 1
mov rdi, qword [rbp + 0x10]
jmp 0x180036da4
mov rax, qword [0x18015f768]
mov qword [rbp + 0x78], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rdi
mov edx, eax
lea rcx, [rbp + 0x78]
call fcn.180003e28
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x80]
call fcn.180059e8c
cmp eax, esi
jne 0x180036dd9
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x80]
call fcn.18005b600
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x80]
call fcn.18005b768
nop
lea rcx, [rdi - 0xc]
cmp rcx, rbx
je 0x180036df5
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, esi
jg 0x180036df5
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0xd8]
add rcx, 0xfffffffffffffff4
cmp rcx, rbx
je 0x180036e20
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, esi
jg 0x180036e20
call fcn.1800d1434
jmp 0x180036e20
lea rbx, [0x18015f758]
mov rax, qword [rbp + 8]
mov edi, dword [rax - 8]
cmp edi, 0x64
jle 0x180036e97
lea esi, [rdi - 0x64]
test esi, esi
jle 0x180036e95
cmp edi, 0x63
jle 0x180036e91
lea eax, [rsi + 0x63]
cmp eax, edi
jle 0x180036e42
lea esi, [rdi - 0x63]
lea rcx, [rbp + 8]
call fcn.180003f8c
mov edx, edi
sub edx, esi
sub edx, 0x62
movsxd r8, edx
add r8, r8
movsxd rcx, esi
mov rax, qword [rbp + 8]
lea rdx, [rax + rcx*2 + 0xc6]
mov ecx, dword [rax - 4]
sub ecx, 0x62
movsxd rcx, ecx
add rcx, rcx
cmp rcx, r8
jb 0x180036e84
lea rcx, [rax + 0xc6]
call fcn.1800d47b0
sub edi, esi
mov rax, qword [rbp + 8]
mov dword [rax - 8], edi
xor esi, esi
jmp 0x180036e97
xor esi, esi
jmp 0x180036e97
xor esi, esi
lea rdx, str.Preferences
lea rcx, [rbp + 0xc8]
call fcn.1800041c0
nop
lea rdx, [0x18010d528]
lea rcx, [rbp + 0x48]
call fcn.1800041c0
nop
lea rdx, [rbp + 0x60]
lea rcx, [0x180162940]
call fcn.1800392a0
nop
mov rax, qword [rbp + 0x60]
cmp dword [rax - 8], esi
je 0x18003700e
lea r8, [0x18010d37c]
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.1800084fc
nop
lea r8, [rbp + 0xc8]
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1800083ec
nop
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.180003500
nop
mov rcx, qword [rbp + 0xd0]
add rcx, 0xfffffffffffffff4
cmp rcx, rbx
je 0x180036f44
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, esi
jg 0x180036f44
mov rcx, qword [rbp + 0xd0]
add rcx, 0xfffffffffffffff4
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0xa0]
add rcx, 0xfffffffffffffff4
cmp rcx, rbx
je 0x180036f71
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, esi
jg 0x180036f71
mov rcx, qword [rbp + 0xa0]
add rcx, 0xfffffffffffffff4
call fcn.1800d1434
mov rdi, qword [rbp + 0x48]
cmp dword [rdi - 0xc], esi
jl 0x180036f85
mov qword [rbp + 0x50], rdi
lock add dword [rdi - 0xc], 1
jmp 0x180036fab
mov rax, qword [0x18015f768]
mov qword [rbp + 0x50], rax
mov rdi, qword [rbp + 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rdi
mov edx, eax
lea rcx, [rbp + 0x50]
call fcn.180003e28
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x80]
call fcn.180059e8c
mov rdi, qword [r13]
cmp dword [rdi - 0xc], esi
jl 0x180036fcf
mov qword [rbp + 0x58], rdi
lock add dword [rdi - 0xc], 1
jmp 0x180036ffa
mov rax, qword [0x18015f768]
mov qword [rbp + 0x58], rax
cmp rdi, rsi
jne 0x180036fe3
mov eax, esi
jmp 0x180036fec
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rdi
mov edx, eax
lea rcx, [rbp + 0x58]
call fcn.180003e28
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x80]
call fcn.18005b3a8
cmp qword [rbp + 0x18], rsi
jne 0x18003701c
mov rdx, rsi
jmp 0x1800370a1
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jle 0x180037036
mov rdx, rsi
jmp 0x1800370a1
movsxd rax, edx
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x18003704f
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1800f12f0
sub rsp, rcx
lea rdi, [rsp + 0x40]
cmp rdi, rsi
je 0x18003709e
mov byte [rdi], sil
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
or r9d, 0xffffffff
mov r8, qword [rbp + 0x18]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb rdx, rdx
and rdx, rdi
jmp 0x1800370a1
mov rdx, rsi
mov qword [rbp + 0x170], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x168], rsi
mov byte [rbp + 0x158], sil
xor eax, eax
or rbx, 0xffffffffffffffff
mov rcx, rbx
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0x150]
call fcn.180003768
nop
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x1b0]
call fcn.180059a54
nop
cmp qword [rbp + 0x170], 0x10
jb 0x180037106
mov rcx, qword [rbp + 0x158]
call fcn.1800d1290
mov qword [rbp + 0x170], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x168], rsi
mov byte [rbp + 0x158], sil
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jle 0x180037139
mov rdx, rsi
jmp 0x1800371a3
movsxd rax, edx
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x180037152
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1800f12f0
sub rsp, rcx
lea rdi, [rsp + 0x40]
cmp rdi, rsi
je 0x1800371a0
mov byte [rdi], sil
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, ebx
mov r8, qword [rbp + 8]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb rdx, rdx
and rdx, rdi
jmp 0x1800371a3
mov rdx, rsi
mov qword [rbp + 0x148], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x140], rsi
mov byte [rbp + 0x130], sil
xor eax, eax
mov rcx, rbx
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0x128]
call fcn.180003768
nop
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0x188]
call fcn.180059a54
nop
cmp qword [rbp + 0x148], 0x10
jb 0x180037204
mov rcx, qword [rbp + 0x130]
call fcn.1800d1290
mov qword [rbp + 0x148], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x140], rsi
mov byte [rbp + 0x130], sil
lea rdx, [rbp + 0x1b8]
cmp qword [rbp + 0x1d0], 0x10
cmovae rdx, qword [rbp + 0x1b8]
lea rcx, [rbp + 0xb8]
call fcn.180007f64
nop
lea rdx, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 0x10
cmovae rdx, qword [rbp + 0x190]
lea rcx, [rbp + 0xa8]
call fcn.180007f64
nop
lea rdi, [0x18010d528]
mov rdx, rdi
lea rcx, [rbp + 0x40]
call fcn.1800041c0
nop
mov eax, dword [rbp + 0x30]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0xb8]
mov r8, qword [r13]
lea rdx, str._Addin_id__s__name__s__desc__s__ver__s__active__d__type_extension___
lea rcx, [rbp + 0x40]
call fcn.180008f64
lea rcx, [r15 + 0x18]
mov rax, qword [rcx]
mov r8, qword [rbp + 0x40]
mov edx, dword [rax - 8]
call fcn.180039144
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rdi
mov edx, eax
lea rcx, [rbp + 0x40]
call fcn.180003e28
nop
mov rcx, qword [rbp + 0x40]
add rcx, 0xfffffffffffffff4
lea rdi, [0x18015f758]
cmp rcx, rdi
je 0x180037301
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
cmp eax, esi
jg 0x180037301
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0xa8]
add rcx, 0xfffffffffffffff4
cmp rcx, rdi
je 0x180037323
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
cmp eax, esi
jg 0x180037323
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0xb8]
add rcx, 0xfffffffffffffff4
cmp rcx, rdi
je 0x180037345
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
cmp eax, esi
jg 0x180037345
call fcn.1800d1434
nop
cmp qword [rbp + 0x1a8], 0x10
jb 0x18003735b
mov rcx, qword [rbp + 0x190]
call fcn.1800d1290
mov qword [rbp + 0x1a8], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x1a0], rsi
mov byte [rbp + 0x190], sil
cmp qword [rbp + 0x1d0], 0x10
jb 0x18003738a
mov rcx, qword [rbp + 0x1b8]
call fcn.1800d1290
mov qword [rbp + 0x1d0], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x1c8], rsi
mov byte [rbp + 0x1b8], sil
mov rcx, qword [rbp + 0x60]
add rcx, 0xfffffffffffffff4
cmp rcx, rdi
je 0x1800373c2
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
cmp eax, esi
jg 0x1800373c2
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0x48]
add rcx, 0xfffffffffffffff4
cmp rcx, rdi
je 0x1800373e1
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
cmp eax, esi
jg 0x1800373e1
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0xc8]
add rcx, 0xfffffffffffffff4
cmp rcx, rdi
je 0x180037403
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
cmp eax, esi
jg 0x180037403
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0x70]
add rcx, 0xfffffffffffffff4
cmp rcx, rdi
je 0x180037422
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
cmp eax, esi
jg 0x180037422
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0x18]
add rcx, 0xfffffffffffffff4
cmp rcx, rdi
je 0x180037441
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
cmp eax, esi
jg 0x180037441
call fcn.1800d1434
nop
mov rcx, qword [rbp + 8]
add rcx, 0xfffffffffffffff4
cmp rcx, rdi
je 0x180037460
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
cmp eax, esi
jg 0x180037460
call fcn.1800d1434
nop
lea rcx, [rbp + 0x80]
call fcn.180059db0
nop
cmp r12, rdi
je 0x180037489
mov eax, ebx
lock xadd dword [r12], eax
add eax, ebx
cmp eax, esi
jg 0x180037489
mov rcx, r12
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0x28]
add rcx, 0xfffffffffffffff4
cmp rcx, rdi
je 0x1800374dc
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
cmp eax, esi
jg 0x1800374dc
call fcn.1800d1434
jmp 0x1800374dc
mov rcx, qword [rbp + 0x28]
add rcx, 0xfffffffffffffff4
lea rdi, [0x18015f758]
cmp rcx, rdi
je 0x1800374d6
or rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
xor esi, esi
cmp eax, esi
jg 0x1800374dc
call fcn.1800d1434
jmp 0x1800374dc
xor esi, esi
or rbx, 0xffffffffffffffff
lea rdx, [rbp + 0x1e0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, esi
jne 0x1800368b9
mov rcx, qword [rbp + 0x38]
add rcx, 0xfffffffffffffff4
cmp rcx, rdi
je 0x180037513
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
cmp eax, esi
jg 0x180037513
call fcn.1800d1434
nop
mov rcx, qword [r13]
add rcx, 0xfffffffffffffff4
cmp rcx, rdi
je 0x180037539
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
cmp eax, esi
jg 0x180037539
mov rcx, qword [r13]
sub rcx, 0xc
call fcn.1800d1434
mov rcx, qword [rbp + 0x430]
xor rcx, rbp
call fcn.1800d12b0
mov rbx, qword [rbp + 0x490]
lea rsp, [rbp + 0x440]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret