Function at 0x140057290
Capabilities:
Check for time delay via gettickcount
Check os version
Encode data using xor
Enumerate processes
Get disk size
Get process image filename

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7b20]
mov eax, 0x7c20
call fcn.1400d0b90
sub rsp, rax
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x7c58], rbx
mov qword [rsp + 0x7c60], rsi
mov qword [rsp + 0x7c68], rdi
mov rax, qword [0x1401b5e90]
xor rax, rsp
mov qword [rbp + 0x7b10], rax
mov rsi, rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
mov word [rbp + 0x880], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x882]
call fcn.1400d0f20
mov qword [rsi + 0x1d0], r14
mov eax, dword [0x1401bdd80]
imul eax, eax
and eax, 0x8000000f
jge 0x140057325
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 8
jne 0x14005733f
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r12d, eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x70], r14d
mov ebx, 0x63
lea r13d, [rbx - 0x5c]
or r15, 0xffffffffffffffff
lea edi, [rbx - 0x62]
cmp byte [rsi + 0x119], 0
je 0x14005738a
mov ebx, dword [rsi + 0x1e0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r12d
cmp eax, ebx
jb 0x140057385
test ebx, ebx
jne 0x140058736
mov ebx, 0x63
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140058dbd
xor edx, edx
mov r8d, 0x238
lea rcx, [rbp + 0x60]
call fcn.1400d0f20
mov dword [rbp + 0x60], 0x238
mov dword [rsp + 0x48], r14d
lea rdx, [rbp + 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140058cf9
mov word [rbp + 0x860], bx
mov dword [rbp + 0x864], 0x6f0072
mov eax, 0x6d
mov word [rbp + 0x868], ax
mov eax, 0x2e
mov word [rbp + 0x86c], ax
mov word [rbp + 0x874], r14w
mov eax, dword [0x1401bdd80]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x6bca1af3
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13
sub ecx, edx
cmp ecx, 0x11
jne 0x14005746d
mov ecx, 0x28
call fcn.1400cb128
mov rdi, rax
mov rbx, r14
nop dword [rax]
call fcn.1400cc4a0
add eax, dword [0x1401bdd80]
mov dword [rdi + rbx*4], eax
inc rbx
cmp rbx, 0xa
jl 0x140057440
mov ecx, dword [rdi + 0x24]
mov dword [0x1401bdd80], ecx
mov rcx, rdi
call fcn.1400cc208
mov edi, 1
mov qword [rbp + 0x2b0], r14
mov qword [rbp + 0x2b8], r14
mov qword [rbp + 0x2b8], r13
mov qword [rbp + 0x2b0], r14
mov word [rbp + 0x2a0], r14w
cmp word [rbp + 0x8c], 0
jne 0x1400574a0
mov r8, r14
jmp 0x1400574bb
lea rax, [rbp + 0x8c]
mov r8, r15
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400574b0
lea rdx, [rbp + 0x8c]
lea rcx, [rbp + 0x2a0]
call fcn.14005c150
nop
mov ebx, 0x65
mov dword [rbp + 0x870], 0x650078
mov word [rbp + 0x86e], bx
mov word [rbp + 0x86a], bx
mov eax, 0x68
mov word [rbp + 0x862], ax
lea rax, [rbp + 0x860]
mov rdx, r15
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140057502
lea rcx, [rbp + 0x2a0]
cmp qword [rbp + 0x2b8], 8
cmovae rcx, qword [rbp + 0x2a0]
mov r9, rdx
mov r10, qword [rbp + 0x2b0]
cmp r10, rdx
cmovb r9, r10
test r9, r9
je 0x140057564
lea r8, [rbp + 0x860]
movzx eax, word [r8]
cmp word [rcx], ax
jne 0x140057558
add rcx, 2
add r8, 2
dec r9
jne 0x140057540
jmp 0x140057564
mov r9d, edi
cmp word [rcx], ax
cmovb r9d, r15d
jmp 0x140057567
mov r9d, r14d
movsxd rax, r9d
test r9d, r9d
jne 0x14005757a
cmp r10, rdx
jb 0x140057582
mov eax, r14d
setne al
test eax, eax
je 0x140057628
mov r8d, dword [0x1401bdd80]
lea ecx, [r8 + 2]
lea eax, [r8 + 1]
imul ecx, eax
imul ecx, r8d
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xf
sub ecx, edx
cmp ecx, 1
jne 0x1400575dd
mov r9d, r14d
test r8d, r8d
je 0x1400575d6
nop dword [rax]
mov ecx, r8d
and ecx, 1
add r9d, ecx
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
jne 0x1400575c0
mov dword [0x1401bdd80], r9d
cmp qword [rbp + 0x2b8], 8
jb 0x1400575f3
mov rcx, qword [rbp + 0x2a0]
call fcn.1400cbac0
mov qword [rbp + 0x2b8], r13
mov qword [rbp + 0x2b0], r14
mov word [rbp + 0x2a0], r14w
lea rdx, [rbp + 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140057ab4
mov ebx, 0x63
jmp 0x1400573d4
mov r8d, dword [0x1401bdd80]
mov ecx, r8d
imul ecx, r8d
imul ecx, r8d
mov eax, 0x6bca1af3
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13
sub ecx, edx
cmp ecx, 0xd
jne 0x140057674
mov edx, edi
mov eax, edi
mov ecx, 0xef
nop
lea r8d, [rax + rdx]
lea edx, [rax]
mov eax, r8d
dec ecx
jns 0x140057660
mov dword [0x1401bdd80], r8d
cmp dword [rsi + 0x2d0], 1
jne 0x140057687
mov dword [rsi + 0x2d0], 2
mov r9d, dword [rbp + 0x80]
mov r13d, r9d
mov dword [rsp + 0x48], r9d
mov ecx, r8d
imul ecx, r8d
imul ecx, r8d
mov eax, 0x38e38e39
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
add eax, eax
sub ecx, eax
cmp ecx, 3
jne 0x1400576e9
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [0x1401bdd80]
test rax, rax
mov eax, 7
cmove ecx, eax
mov dword [0x1401bdd80], ecx
mov r9d, dword [rbp + 0x80]
mov r8d, r9d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsi + 0x1d0], rax
test rax, rax
je 0x140057973
test r13d, r13d
je 0x140057973
mov r8d, 0x104
lea rdx, [rbp + 0x880]
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x14005883d
cmp word [rbp + 0x880], 0
jne 0x14005773f
mov r8, r14
jmp 0x14005775b
lea rax, [rbp + 0x880]
mov r8, r15
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140057750
lea rdx, [rbp + 0x880]
lea rcx, [rbp + 0x2a0]
call fcn.14005c150
mov r8, qword [rbp + 0x2b0]
add r8, 0xfffffffffffffff6
mov r9, r15
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x2a0]
call fcn.14005bc60
mov rcx, rax
lea rax, [rbp + 0x860]
mov rdx, r15
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1400577a0
mov r10, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x1400577b8
mov rcx, qword [rcx]
mov r9, rdx
cmp r10, rdx
cmovb r9, r10
test r9, r9
je 0x1400577f4
lea r8, [rbp + 0x860]
nop
movzx eax, word [r8]
cmp word [rcx], ax
jne 0x1400577e8
add rcx, 2
add r8, 2
dec r9
jne 0x1400577d0
jmp 0x1400577f4
mov r9d, edi
cmp word [rcx], ax
cmovb r9d, r15d
jmp 0x1400577f7
mov r9d, r14d
movsxd rax, r9d
test r9d, r9d
jne 0x140057812
cmp r10, rdx
jae 0x140057809
mov eax, r15d
jmp 0x140057812
mov eax, r14d
cmp r10, rdx
setne al
test eax, eax
setne bl
cmp qword [rbp + 0x338], 8
jb 0x14005782d
mov rcx, qword [rbp + 0x320]
call fcn.1400cbac0
mov r13d, 7
mov qword [rbp + 0x338], r13
mov qword [rbp + 0x330], r14
mov word [rbp + 0x320], r14w
test bl, bl
je 0x140057954
mov eax, dword [0x1401bdd80]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x15
sub ecx, edx
cmp ecx, 3
jne 0x1400578fa
mov word [rbp + 0xa90], r14w
xor edx, edx
mov r8d, 0x707e
lea rcx, [rbp + 0xa92]
call fcn.1400d0f20
mov r10, r14
mov r9, r14
nop
mov rax, r14
test r10, r10
je 0x1400578d4
test rax, rax
je 0x1400578d4
lea rcx, [rax + r9]
lea r8, [rbp + 0xa90]
lea r8, [r8 + rcx*2]
lea rcx, [rax + r9]
movzx edx, word [rbp + rcx*2 + 0x9a0]
inc dx
add dx, word [r8 - 2]
mov word [r8], dx
inc rax
cmp rax, 0x78
jl 0x1400578a3
inc r10
add r9, 0x78
cmp r9, 0x3840
jl 0x1400578a0
movsx eax, word [rbp + 0x7b0e]
mov dword [0x1401bdd80], eax
mov rcx, qword [rsi + 0x1d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13d, dword [rbp + 0x68]
mov dword [rsp + 0x48], r13d
mov r8d, r13d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsi + 0x1d0], rax
test rax, rax
je 0x140058779
mov r8d, 0x104
lea rdx, [rbp + 0x880]
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x14005873d
mov r13d, 7
cmp qword [rbp + 0x2b8], 8
jb 0x140057a9e
mov rcx, qword [rbp + 0x2a0]
call fcn.1400cbac0
jmp 0x140057a9e
mov r8d, dword [0x1401bdd80]
lea ecx, [r8 + 2]
lea eax, [r8 + 1]
imul ecx, eax
imul ecx, r8d
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub ecx, eax
cmp ecx, 5
jne 0x1400579d3
mov ecx, r14d
lea rdx, [rbp + 0x560]
mov eax, dword [rdx]
imul eax, eax, 0x91
add r8d, eax
inc ecx
lea rdx, [rdx + 4]
movsxd rax, ecx
cmp rax, 0x2fc
jb 0x1400579b0
mov dword [0x1401bdd80], r8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov r8d, dword [rbp + 0x68]
mov dword [rsp + 0x48], r8d
mov ecx, dword [0x1401bdd80]
imul ecx, ecx
and ecx, 0x8000000f
jge 0x1400579fc
dec ecx
or ecx, 0xfffffff0
inc ecx
cmp ecx, 0xa
jne 0x140057a3d
mov ecx, 0x28
call fcn.1400cb128
mov rdi, rax
mov rbx, r14
call fcn.1400cc4a0
add eax, dword [0x1401bdd80]
mov dword [rdi + rbx*4], eax
inc rbx
cmp rbx, 0xa
jl 0x140057a11
mov ecx, dword [rdi + 0x24]
mov dword [0x1401bdd80], ecx
mov rcx, rdi
call fcn.1400cc208
mov r8d, dword [rbp + 0x68]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, qword [rsp + 0x40]
mov qword [rdi + 0x1d0], rax
test rax, rax
je 0x1400589cc
mov r8d, 0x104
lea rdx, [rbp + 0x880]
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x140058901
cmp qword [rbp + 0x2b8], 8
jb 0x140057a93
mov rcx, qword [rbp + 0x2a0]
call fcn.1400cbac0
mov r13d, 7
mov rsi, qword [rsp + 0x40]
mov word [rbp + 0x2a0], r14w
mov qword [rbp + 0x2b0], r14
mov qword [rbp + 0x2b8], r13
call fcn.14004f3f0
test al, al
jne 0x140057ac3
inc dword [0x1401bdd80]
mov rax, qword [rsi + 0x1d0]
inc rax
test rax, 0xfffffffffffffffe
jne 0x140057ae1
mov ecx, dword [rsi + 0x1dc]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsi + 0x1d0]
dec rax
cmp rax, 0xfffffffffffffffd
mov edi, 1
mov r12d, dword [rsp + 0x60]
lea ebx, [rdi + 0x62]
ja 0x140057361
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x64], r14d
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
setb al
test al, al
jne 0x140057d9b
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x140057b87
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.140002490
mov rdi, qword [rsp + 0x50]
cmp dword [rdi - 0xc], 0x104
jl 0x140058afe
mov dword [rdi - 0x10], 0x104
mov word [rdi + 0x208], r14w
mov r9d, 0x104
mov r8, rdi
xor edx, edx
mov rcx, qword [rsi + 0x1d0]
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x64], eax
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x68], rcx
mov rcx, qword [rdi - 0x18]
mov rdx, qword [rcx]
call qword [rdx + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x140057bf6
cmp rax, qword [rdi - 0x18]
jne 0x140057bf6
lea rsi, [rdi - 0x18]
lock inc dword [rdi - 8]
mov rbx, qword [rsp + 0x30]
jmp 0x140057c31
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
je 0x140058af8
mov ecx, dword [rdi - 0x10]
mov dword [rax + 8], ecx
mov ecx, dword [rdi - 0x10]
inc ecx
movsxd rdx, ecx
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rax + 0x18]
call fcn.1400cc4cc
lea rax, [rsi + 0x18]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x10]
call fcn.14004bf40
nop
mov r13, qword [rax]
lea rcx, [r13 - 0x18]
lea rdi, [rbx - 0x18]
cmp rcx, rdi
je 0x140057d70
cmp dword [rdi + 0x10], 0
jl 0x140057c93
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140057c93
call fcn.1400024f0
mov rbx, rax
lock add dword [rdi + 0x10], 0xffffffff
jg 0x140057c85
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x30], rax
jmp 0x140057d70
movsxd rsi, dword [r13 - 0x10]
test esi, esi
jne 0x140057cef
mov rsi, qword [rdi]
cmp dword [rdi + 8], 0
je 0x140057d70
cmp dword [rdi + 0x10], 0
jge 0x140057cc5
cmp dword [rbx - 0xc], 0
jl 0x140058acc
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
jmp 0x140057d70
lock add dword [rdi + 0x10], 0xffffffff
jg 0x140057cd8
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
jmp 0x140057d70
test r13, r13
je 0x140058aed
mov eax, dword [rbx - 0x10]
mov dword [rsp + 0x68], eax
mov r12, r13
sub r12, rbx
sar r12, 1
test esi, esi
js 0x140058ae2
mov ecx, 1
sub ecx, dword [rdi + 0x10]
mov eax, dword [rdi + 0xc]
sub eax, esi
or eax, ecx
jge 0x140057d32
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140002490
mov rbx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x68]
lea rdi, [rsi + rsi]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
mov r9, rdi
add rdx, rdx
cmp r12, rax
ja 0x140057d57
lea r8, [rbx + r12*2]
call fcn.1400cc30c
jmp 0x140057d5f
mov r8, r13
call fcn.1400cc4cc
cmp esi, dword [rbx - 0xc]
jg 0x140058ad7
mov dword [rbx - 0x10], esi
mov word [rdi + rbx], r14w
mov rdx, qword [rbp + 0x10]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140057d88
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rbx, qword [rsp + 0x30]
jmp 0x1400580d3
lea rax, [rbp - 0x80]
mov qword [rsp + 0x68], rax
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x80], rax
lea rcx, [rbp + 0x880]
lea rax, [rbp + 0x880]
test rax, 0xffffffffffff0000
jne 0x140057df3
movzx edi, cx
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x140057e1e
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140002690
jmp 0x140057e1e
lea rcx, [rbp + 0x880]
mov rax, r15
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140057e00
mov r8d, eax
lea rdx, [rbp + 0x880]
lea rcx, [rbp - 0x80]
call fcn.1400023a0
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x18]
call fcn.14004bf40
nop
mov r13, qword [rax]
lea rcx, [r13 - 0x18]
lea rdi, [rbx - 0x18]
cmp rcx, rdi
je 0x140057f5a
cmp dword [rdi + 0x10], 0
jl 0x140057e78
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140057e78
call fcn.1400024f0
mov rbx, rax
lock add dword [rdi + 0x10], 0xffffffff
jg 0x140057e6a
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x30], rax
jmp 0x140057f5a
movsxd rsi, dword [r13 - 0x10]
test esi, esi
jne 0x140057ed4
mov rsi, qword [rdi]
cmp dword [rdi + 8], 0
je 0x140057f55
cmp dword [rdi + 0x10], 0
jge 0x140057eaa
cmp dword [rbx - 0xc], 0
jl 0x140058b09
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
jmp 0x140057f55
lock add dword [rdi + 0x10], 0xffffffff
jg 0x140057ebd
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
jmp 0x140057f55
test r13, r13
je 0x140058b2a
mov eax, dword [rbx - 0x10]
mov dword [rsp + 0x68], eax
mov r12, r13
sub r12, rbx
sar r12, 1
test esi, esi
js 0x140058b1f
mov ecx, 1
sub ecx, dword [rdi + 0x10]
mov eax, dword [rdi + 0xc]
sub eax, esi
or eax, ecx
jge 0x140057f17
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140002490
mov rbx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x68]
lea rdi, [rsi + rsi]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
mov r9, rdi
add rdx, rdx
cmp r12, rax
ja 0x140057f3c
lea r8, [rbx + r12*2]
call fcn.1400cc30c
jmp 0x140057f44
mov r8, r13
call fcn.1400cc4cc
cmp esi, dword [rbx - 0xc]
jg 0x140058b14
mov dword [rbx - 0x10], esi
mov word [rbx + rdi], r14w
mov rsi, qword [rsp + 0x40]
mov rdx, qword [rbp + 0x18]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140057f72
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
call fcn.140050ee0
mov r9, rax
mov ecx, r14d
test rax, rax
setne cl
test ecx, ecx
je 0x140058cee
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
sub r9, rbx
nop
movzx eax, word [rcx]
cmp ax, word [rcx + r9]
jne 0x140057fb8
add rcx, 2
test ax, ax
jne 0x140057fa0
mov eax, r14d
jmp 0x140057fbd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400580d3
mov rdi, qword [rsp + 0x50]
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x140057ff2
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.140002490
mov rdi, qword [rsp + 0x50]
cmp dword [rdi - 0xc], 0x104
jl 0x140058b35
mov dword [rdi - 0x10], 0x104
mov word [rdi + 0x208], r14w
mov r9d, 0x104
mov r8, rdi
xor edx, edx
mov rcx, qword [rsi + 0x1d0]
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x68], rax
lea rcx, [rdi - 0x18]
call fcn.1400024f0
add rax, 0x18
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 8]
call fcn.14004bf40
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400580ab
cmp dword [rbx + 0x10], 0
jl 0x14005809c
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14005809c
call fcn.1400024f0
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140058091
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x30], rax
jmp 0x1400580ab
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.1400023a0
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400580c3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rbx, qword [rsp + 0x30]
jmp 0x1400580d8
mov r13d, dword [rsp + 0x64]
cmp dword [rbx - 0x10], 0
je 0x140058125
call fcn.140050ee0
mov r9, rax
mov ecx, r14d
test rax, rax
setne cl
test ecx, ecx
je 0x140058b40
mov rcx, rbx
sub r9, rbx
nop dword [rax]
movzx eax, word [rcx]
cmp ax, word [rcx + r9]
jne 0x140058118
add rcx, 2
test ax, ax
jne 0x140058100
mov eax, r14d
jmp 0x14005811d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140058b4b
mov r10d, r14d
cmp r12d, 0x714
jne 0x1400581b9
lea rcx, [rbp]
call fcn.14004c630
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140058193
cmp dword [rbx + 0x10], 0
jl 0x140058184
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140058184
call fcn.1400024f0
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140058179
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x30], rax
jmp 0x140058193
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.1400023a0
nop
mov rdx, qword [rbp]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400581ab
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r10d, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rbx - 0x10], 0
je 0x140058205
call fcn.140050ee0
mov r9, rax
mov ecx, r14d
test rax, rax
setne cl
test ecx, ecx
je 0x140058ca7
mov rcx, rbx
sub r9, rbx
nop
movzx eax, word [rcx]
cmp ax, word [rcx + r9]
jne 0x1400581f8
add rcx, 2
test ax, ax
jne 0x1400581e0
mov eax, r14d
jmp 0x1400581fd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140058b4b
mov rdi, qword [rsp + 0x40]
mov qword [rdi + 0x1d0], r14
mov edx, r10d
lea rcx, [rbp + 0x3c0]
call fcn.14004f240
mov rsi, rax
mov edx, r12d
lea rcx, [rbp + 0x2e0]
call fcn.14004f240
mov rdi, rax
mov edx, r13d
lea rcx, [rbp + 0x380]
call fcn.14004f240
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x340]
call fcn.14004f240
nop
lea r8, [0x14014b190]
mov rdx, rax
lea rcx, [rbp + 0x300]
call fcn.140031ae0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x3e0]
call fcn.14005c7f0
nop
lea r8, [0x14014b190]
mov rdx, rax
lea rcx, [rbp + 0x360]
call fcn.140031ae0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x3a0]
call fcn.14005c7f0
nop
lea r8, [0x14014b190]
mov rdx, rax
lea rcx, [rbp + 0x400]
call fcn.140031ae0
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rbp + 0x2c0]
call fcn.14005c7f0
nop
cmp qword [rbp + 0x418], 0x10
jb 0x1400582f0
mov rcx, qword [rbp + 0x400]
call fcn.1400cbac0
mov qword [rbp + 0x418], 0xf
mov qword [rbp + 0x410], r14
mov byte [rbp + 0x400], 0
cmp qword [rbp + 0x3b8], 0x10
jb 0x14005831f
mov rcx, qword [rbp + 0x3a0]
call fcn.1400cbac0
mov qword [rbp + 0x3b8], 0xf
mov qword [rbp + 0x3b0], r14
mov byte [rbp + 0x3a0], 0
cmp qword [rbp + 0x378], 0x10
jb 0x14005834e
mov rcx, qword [rbp + 0x360]
call fcn.1400cbac0
mov qword [rbp + 0x378], 0xf
mov qword [rbp + 0x370], r14
mov byte [rbp + 0x360], 0
cmp qword [rbp + 0x3f8], 0x10
jb 0x14005837d
mov rcx, qword [rbp + 0x3e0]
call fcn.1400cbac0
mov qword [rbp + 0x3f8], 0xf
mov qword [rbp + 0x3f0], r14
mov byte [rbp + 0x3e0], 0
cmp qword [rbp + 0x318], 0x10
jb 0x1400583ac
mov rcx, qword [rbp + 0x300]
call fcn.1400cbac0
mov qword [rbp + 0x318], 0xf
mov qword [rbp + 0x310], r14
mov byte [rbp + 0x300], 0
cmp qword [rbp + 0x358], 0x10
jb 0x1400583db
mov rcx, qword [rbp + 0x340]
call fcn.1400cbac0
mov qword [rbp + 0x358], 0xf
mov qword [rbp + 0x350], r14
mov byte [rbp + 0x340], 0
cmp qword [rbp + 0x398], 0x10
jb 0x14005840a
mov rcx, qword [rbp + 0x380]
call fcn.1400cbac0
mov qword [rbp + 0x398], 0xf
mov qword [rbp + 0x390], r14
mov byte [rbp + 0x380], 0
cmp qword [rbp + 0x2f8], 0x10
jb 0x140058439
mov rcx, qword [rbp + 0x2e0]
call fcn.1400cbac0
mov qword [rbp + 0x2f8], 0xf
mov qword [rbp + 0x2f0], r14
mov byte [rbp + 0x2e0], 0
cmp qword [rbp + 0x3d8], 0x10
jb 0x140058468
mov rcx, qword [rbp + 0x3c0]
call fcn.1400cbac0
mov qword [rbp + 0x3d8], 0xf
mov qword [rbp + 0x3d0], r14
mov byte [rbp + 0x3c0], 0
mov r8d, dword [0x1401bdd80]
lea ecx, [r8 + 2]
lea eax, [r8 + 1]
imul ecx, eax
imul ecx, r8d
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub ecx, eax
cmp ecx, 0xa
jne 0x1400584c8
mov ecx, 4
call fcn.1400cc2a0
mov r8d, dword [0x1401bdd80]
mov dword [rax], r8d
mov r12d, dword [rsp + 0x70]
mov eax, r12d
inc r12d
mov dword [rsp + 0x70], r12d
cmp eax, 5
jge 0x140058cb2
lea ecx, [r8 + 2]
lea eax, [r8 + 1]
imul ecx, eax
imul ecx, r8d
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub ecx, edx
cmp ecx, 0xa
jne 0x1400585ae
mov edx, r14d
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, r8d
mov eax, edx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r8d
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, r8d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r8d
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, r8d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r8d
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, r8d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r8d
sar ecx, 1
xor eax, ecx
add r8d, eax
inc edx
cmp edx, 0x100
jl 0x140058514
mov dword [0x1401bdd80], r8d
lea rbx, [rbp + 0x2c0]
cmp qword [rbp + 0x2d8], 0x10
cmovae rbx, qword [rbp + 0x2c0]
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
test rbx, rbx
je 0x14005860e
test rbx, 0xffffffffffff0000
jne 0x14005860e
movzx ebx, bx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x14005861c
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140002690
jmp 0x14005861c
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140003600
nop
call fcn.140053bc0
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400021f0
nop
lea r8, [rsp + 0x78]
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.14000feb0
nop
mov rsi, qword [rsp + 0x40]
lea rcx, [rsi + 0x1b8]
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
call fcn.140010970
nop
mov rdx, qword [rbp + 8]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140058673
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005868d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400586a6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rsi + 0x1dc]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
cmp qword [rbp + 0x2d8], 0x10
jb 0x1400586d0
mov rcx, qword [rbp + 0x2c0]
call fcn.1400cbac0
mov qword [rbp + 0x2d8], 0xf
mov qword [rbp + 0x2d0], r14
mov byte [rbp + 0x2c0], 0
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140058703
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
mov edi, 1
mov r12d, dword [rsp + 0x60]
lea ebx, [rdi + 0x62]
lea r13d, [rdi + 6]
jg 0x140057361
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140057361
mov eax, edi
jmp 0x140058e81
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x520]
call fcn.14004f240
mov rbx, rax
call fcn.1400539b0
mov rdx, rax
mov r8, rbx
lea rcx, [rbp + 0x48]
call fcn.1400549e0
lea rdx, [0x140180970]
lea rcx, [rbp + 0x48]
call fcn.1400d39b8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x460]
call fcn.14004f240
mov rdi, rax
call fcn.140054680
mov rbx, rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
lea rcx, [0x1401b59a8]
mov rdx, qword [0x1401b59a8]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x70], rax
test rbx, rbx
je 0x1400587ef
inc r15
cmp word [rbx + r15*2], 0
jne 0x1400587e1
mov r14d, r15d
mov r8d, r14d
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.1400023a0
cmp qword [rdi + 0x18], 0x10
jb 0x140058808
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140003600
lea r8, [0x140147144]
lea rdx, [0x140147148]
lea rcx, [rbp - 0x78]
call fcn.14000fa00
nop
lea rdx, [0x140180970]
lea rcx, [rbp - 0x78]
call fcn.1400d39b8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x420]
call fcn.14004f240
mov rdi, rax
call fcn.140054400
mov rbx, rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x38], rax
lea rcx, [0x1401b59a8]
mov rdx, qword [0x1401b59a8]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x30], rax
test rbx, rbx
je 0x1400588b3
inc r15
cmp word [rbx + r15*2], 0
jne 0x1400588a5
mov r14d, r15d
mov r8d, r14d
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.1400023a0
cmp qword [rdi + 0x18], 0x10
jb 0x1400588cc
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.140003600
lea r8, [0x140147144]
lea rdx, [0x140147148]
lea rcx, [rbp - 0x38]
call fcn.14000fa00
nop
lea rdx, [0x140180970]
lea rcx, [rbp - 0x38]
call fcn.1400d39b8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x4a0]
call fcn.14004f240
mov rdi, rax
call fcn.1400523b0
mov rbx, rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
lea rcx, [0x1401b59a8]
mov rdx, qword [0x1401b59a8]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x60], rax
test rbx, rbx
je 0x14005897e
nop dword [rax]
inc r15
cmp word [rbx + r15*2], 0
jne 0x140058970
mov r14d, r15d
mov r8d, r14d
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.1400023a0
cmp qword [rdi + 0x18], 0x10
jb 0x140058997
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.140003600
lea r8, [0x140147144]
lea rdx, [0x140147148]
lea rcx, [rbp - 0x68]
call fcn.14000fa00
nop
lea rdx, [0x140180970]
lea rcx, [rbp - 0x68]
call fcn.1400d39b8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x540]
call fcn.14004f240
mov rbx, rax
mov edx, esi
lea rcx, [rbp + 0x4e0]
call fcn.14004f240
nop
lea r8, [0x14014c634]
mov rdx, rax
lea rcx, [rbp + 0x500]
call fcn.140031ae0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x440]
call fcn.14005c7f0
mov rdi, rax
call fcn.140053440
mov rbx, rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x38], rax
lea rcx, [0x1401b59a8]
mov rdx, qword [0x1401b59a8]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x38], rax
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x40], rax
test rbx, rbx
je 0x140058a7e
nop
inc r15
cmp word [rbx + r15*2], 0
jne 0x140058a70
mov r14d, r15d
mov r8d, r14d
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.1400023a0
cmp qword [rdi + 0x18], 0x10
jb 0x140058a97
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140003600
lea r8, [0x140147144]
lea rdx, [0x140147148]
lea rcx, [rbp - 0x48]
call fcn.14000fa00
nop
lea rdx, [0x140180970]
lea rcx, [rbp - 0x48]
call fcn.1400d39b8
nop
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 0x80070057
call fcn.140001920
nop
call fcn.140002580
int3
mov ecx, 0x80070057
call fcn.140001920
nop
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 0x80070057
call fcn.140001920
nop
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 0x80004005
call fcn.140001920
int3
mov rcx, r14
lea rdx, [0x14014c638]
nop word [rax + rax]
movzx eax, word [rbx + rcx*2]
inc rcx
cmp ax, word [rdx + rcx*2 - 2]
jne 0x140058b79
cmp rcx, 8
jne 0x140058b60
mov eax, r14d
jmp 0x140058b7e
sbb eax, eax
or eax, 1
mov rdi, qword [rsp + 0x40]
test eax, eax
jne 0x140058c57
mov qword [rdi + 0x1d0], r14
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x140058be0
test rdx, 0xffffffffffff0000
jne 0x140058be0
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x140058beb
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14001b560
jmp 0x140058beb
lea rcx, [rsp + 0x58]
call fcn.14001ac40
nop
mov dl, 0x5c
lea rcx, [rsp + 0x58]
call fcn.14005bb30
mov dl, 0x20
lea rcx, [rsp + 0x58]
call fcn.14005bb30
mov dl, 0x2f
lea rcx, [rsp + 0x58]
call fcn.14005bb30
mov rbx, qword [rsp + 0x58]
mov eax, 1
sub eax, dword [rbx - 8]
or eax, dword [rbx - 0xc]
jge 0x140058c32
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.14001b6a0
mov rbx, qword [rsp + 0x58]
call fcn.140053840
mov rdx, rax
mov r8, rbx
lea rcx, [rbp + 0x20]
call fcn.140054920
lea rdx, [0x140180970]
lea rcx, [rbp + 0x20]
call fcn.1400d39b8
nop
lea rcx, [rdi + 0x188]
lea rdx, [rsp + 0x30]
call fcn.140002310
mov eax, dword [rsp + 0x48]
mov dword [rdi + 0x1c8], eax
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140058c87
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140058ca0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140058e81
mov ecx, 0x80004005
call fcn.140001920
nop
lea r9, [rbp + 0x2c0]
cmp qword [rbp + 0x2d8], 0x10
cmovae r9, qword [rbp + 0x2c0]
call fcn.1400533a0
mov rdx, rax
mov r8, r9
lea rcx, [rbp + 0x30]
call fcn.140054920
lea rdx, [0x140180970]
lea rcx, [rbp + 0x30]
call fcn.1400d39b8
nop
mov ecx, 0x80004005
call fcn.140001920
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x480]
call fcn.14004f240
mov rdi, rax
call fcn.1400530f0
mov rbx, rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x38], rax
lea rcx, [0x1401b59a8]
mov rdx, qword [0x1401b59a8]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x20], rax
test rbx, rbx
je 0x140058d6f
inc r15
cmp word [rbx + r15*2], 0
jne 0x140058d61
mov r14d, r15d
mov r8d, r14d
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.1400023a0
cmp qword [rdi + 0x18], 0x10
jb 0x140058d88
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.140003600
lea r8, [0x140147144]
lea rdx, [0x140147148]
lea rcx, [rbp - 0x28]
call fcn.14000fa00
nop
lea rdx, [0x140180970]
lea rcx, [rbp - 0x28]
call fcn.1400d39b8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x4c0]
call fcn.14004f240
mov rdi, rax
call fcn.140053530
mov rbx, rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x38], rax
lea rcx, [0x1401b59a8]
mov rdx, qword [0x1401b59a8]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x50], rax
test rbx, rbx
je 0x140058e33
inc r15
cmp word [rbx + r15*2], 0
jne 0x140058e25
mov r14d, r15d
mov r8d, r14d
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.1400023a0
cmp qword [rdi + 0x18], 0x10
jb 0x140058e4c
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.140003600
lea r8, [0x140147144]
lea rdx, [0x140147148]
lea rcx, [rbp - 0x58]
call fcn.14000fa00
nop
lea rdx, [0x140180970]
lea rcx, [rbp - 0x58]
call fcn.1400d39b8
nop
mov rcx, qword [rbp + 0x7b10]
xor rcx, rsp
call fcn.1400cbae0
lea r11, [rsp + 0x7c20]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret