Function at 0x1400b8e4c
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x950]
sub rsp, 0xa50
mov rax, qword [0x140172608]
xor rax, rsp
mov qword [rbp + 0x940], rax
mov rsi, qword [rbp + 0x9b0]
xor r13d, r13d
mov r14, qword [rbp + 0x9b8]
mov rax, r9
mov r12, qword [rbp + 0x9c0]
mov rdi, rcx
mov r15, qword [rbp + 0x9c8]
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r12
mov dword [rsp + 0x54], r13d
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], rax
mov byte [rbp - 0x20], r13b
mov qword [rbp - 0x48], r8
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x50], rcx
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
lea ebx, [r13 + 4]
cmp rcx, rax
je 0x1400b8f0d
test byte [rcx + 0x1c], bl
je 0x1400b8f0d
cmp byte [rcx + 0x19], bl
jb 0x1400b8f0d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x19b
call fcn.140004b74
xor eax, eax
lea rcx, [rbp + 0x330]
mov qword [rsi], rax
xor edx, edx
mov qword [rsi + 8], rax
mov r8d, 0x100
mov qword [r14], r13
mov qword [r12], r13
mov dword [r15], r13d
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [rbp + 0x430]
mov r8d, 0x400
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [rbp + 0x2b0]
mov r8d, 0x80
call sub.msvcrt.dll_memset
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400b8f91
test byte [rcx + 0x1c], bl
je 0x1400b8f91
cmp byte [rcx + 0x19], bl
jb 0x1400b8f91
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x19c
mov r9, rdi
call fcn.140005afc
xor r14d, r14d
mov esi, r13d
lea r12, [rbp + 0x2b0]
lea r13, [rbp + 0x448]
lea edi, [r14 + 8]
mov edx, 0x20000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + r14 + 0x1b0], rax
test rax, rax
je 0x1400b9cd4
xor r9d, r9d
add rax, 0xffff
and rax, 0xffffffffffff0000
xor r8d, r8d
xor ecx, ecx
mov qword [rbp + r14 + 0x330], rax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r13], rax
test rax, rax
je 0x1400b9c87
and dword [r12], 0
inc esi
add r12, rbx
add r14, rdi
add r13, 0x20
cmp esi, 0x20
jb 0x1400b8fa9
and qword [rbp - 0x80], 0
lea rcx, [rbp + 0x30]
xor edx, edx
mov r8d, 0x180
call sub.msvcrt.dll_memset
mov rsi, qword [rsp + 0x70]
cmp rsi, 0xffffffffffffffff
je 0x1400b9087
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x1400b9083
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
lea rbx, [rbp + 0x1b0]
lea rsi, [rbp + 0x448]
mov r14d, 0x20
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LocalFree]
add rbx, rdi
lea rsi, [rsi + 0x20]
sub r14, 1
jne 0x1400b905b
lea edi, [r14 + 0x13]
jmp 0x1400b9d13
mov byte [rbp - 0x20], 1
mov r13, qword [rbp - 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], r15
lea r9, [rsp + 0x52]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x68]
lea rax, [rbp - 8]
mov rdx, r13
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x30]
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
call fcn.1400c640c
mov r12d, eax
test eax, eax
je 0x1400b9532
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400b9117
test byte [rcx + 0x1c], bl
je 0x1400b9117
cmp byte [rcx + 0x19], bl
jb 0x1400b9117
mov eax, dword [r15]
lea r8, [0x140152e48]
mov rcx, qword [rcx + 0x10]
mov edx, 0x19d
mov dword [rsp + 0x28], eax
mov r9, r13
mov dword [rsp + 0x20], r12d
call fcn.140010730
and qword [rsp + 0x30], 0
mov esi, 3
mov dword [rsp + 0x28], 0x60000080
xor r9d, r9d
mov edx, 0x80000000
mov byte [rsp + 0x53], 1
mov rcx, r13
mov byte [rsp + 0x51], 1
lea r8d, [rsi - 2]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b91e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
lea rsi, [rbp + 0x1b0]
lea r14, [rbp + 0x448]
mov r12d, 0x20
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
add rsi, rdi
lea r14, [r14 + 0x20]
sub r12, 1
jne 0x1400b9177
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400b9d13
test byte [rcx + 0x1c], bl
je 0x1400b9d13
cmp byte [rcx + 0x19], 2
jb 0x1400b9d13
mov eax, dword [r15]
lea r8, [0x140152e48]
mov rcx, qword [rcx + 0x10]
mov edx, 0x19e
mov r9, r13
mov dword [rsp + 0x20], eax
call fcn.140005b60
jmp 0x1400b9d13
lea rdx, [rbp - 0x68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1400b923f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r14
mov dword [r15], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, [rbp + 0x1b0]
mov r14d, 0x20
lea rsi, [rbp + 0x448]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LocalFree]
add rbx, rdi
lea rsi, [rsi + 0x20]
sub r14, 1
jne 0x1400b921b
jmp 0x1400b9d13
mov r13, qword [rbp - 0x68]
test r13, r13
jne 0x1400b9287
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, [rbp + 0x1b0]
lea rsi, [rbp + 0x448]
lea r14d, [r13 + 0x20]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LocalFree]
add rbx, rdi
lea rsi, [rsi + 0x20]
sub r14, 1
jne 0x1400b9263
jmp 0x1400b9d16
mov edx, 0x20000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp - 0x78], rax
test rax, rax
jne 0x1400b92e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r14
mov dword [r15], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, [rbp + 0x1b0]
mov r15d, 0x20
lea r14, [rbp + 0x448]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LocalFree]
add rbx, rdi
lea r14, [r14 + 0x20]
sub r15, 1
jne 0x1400b92c3
jmp 0x1400b9d19
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
xor ecx, ecx
mov qword [rbp - 0x70], rax
test rax, rax
jne 0x1400b9353
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x78]
mov dword [r15], eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, [rbp + 0x1b0]
mov r15d, 0x20
lea r14, [rbp + 0x448]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LocalFree]
add rbx, rdi
lea r14, [r14 + 0x20]
sub r15, 1
jne 0x1400b932f
jmp 0x1400b9d19
mov rdx, qword [rbp + 0x330]
lea r9, [rbp + 0x430]
mov eax, 0x10000
mov dword [rbp - 0x60], ecx
cmp r13, rax
mov qword [rbp + 0x440], rcx
mov esi, eax
mov rcx, r14
cmovl esi, r13d
mov r8d, esi
mov dword [rsp + 0x60], esi
call fcn.1400bcbc0
mov r9d, 1
lea r8, [rsp + 0x54]
lea rdx, [rbp + 0x430]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x1400b9405
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x70]
mov dword [r15], eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rsi, [rbp + 0x1b0]
mov r15d, 0x20
lea r14, [rbp + 0x448]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
add rsi, rdi
lea r14, [r14 + 0x20]
sub r15, 1
jne 0x1400b93e1
jmp 0x1400b9d1b
mov r9d, dword [rsp + 0x54]
cmp r9d, esi
je 0x1400b94a6
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400b944a
test byte [rcx + 0x1c], bl
je 0x1400b944a
cmp byte [rcx + 0x19], 2
jb 0x1400b944a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x19f
mov dword [rsp + 0x20], esi
call fcn.14000ffdc
mov rcx, qword [rbp - 0x70]
mov dword [r15], 0x45d
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rsi, [rbp + 0x1b0]
mov r15d, 0x20
lea r14, [rbp + 0x448]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
add rsi, rdi
lea r14, [r14 + 0x20]
sub r15, 1
jne 0x1400b9482
jmp 0x1400b9d1b
mov rcx, qword [rbp + 0x330]
lea rdx, [0x140152e68]
mov r8d, 0x10
call qword [sym.imp.KERNEL32.dll_RtlCompareMemory]
cmp rax, 0x10
je 0x1400b951b
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, [rbp + 0x1b0]
mov r14d, 0x20
lea rsi, [rbp + 0x448]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LocalFree]
add rbx, rdi
lea rsi, [rsi + 0x20]
sub r14, 1
jne 0x1400b94f7
jmp 0x1400b9d1e
mov rsi, qword [rsp + 0x70]
mov al, byte [rsp + 0x53]
mov dl, byte [rsp + 0x51]
mov qword [rbp - 0x30], 1
jmp 0x1400b9558
mov al, byte [rsp + 0x52]
xor dl, dl
mov r14, qword [rsp + 0x68]
mov byte [rsp + 0x51], dl
mov byte [rsp + 0x53], al
test al, al
je 0x1400b954f
mov r13, qword [rbp + 0x48]
jmp 0x1400b9558
mov r13d, dword [rsp + 0x60]
shl r13, 0x15
mov rcx, qword [0x1401720a0]
lea r8, [0x1401720a0]
cmp rcx, r8
je 0x1400b95ca
test byte [rcx + 0x1c], bl
je 0x1400b959c
cmp byte [rcx + 0x19], bl
jb 0x1400b959c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
movzx eax, al
movzx r9d, dl
mov edx, 0x1a0
mov dword [rsp + 0x20], eax
call fcn.14000ffdc
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400b95ca
test byte [rcx + 0x1c], bl
je 0x1400b95ca
cmp byte [rcx + 0x19], bl
jb 0x1400b95ca
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1a1
mov r9, r13
call fcn.140010244
cmp byte [rbp - 0x20], 0
je 0x1400b9622
cmp rsi, 0xffffffffffffffff
jne 0x1400b95ec
lea r8, str._hImpersonationToken___INVALID_HANDLE_VALUE
lea edx, [rsi + 0x5b]
lea rcx, str.base_stor_blb_blbimg_blbimg.cxx
call fcn.14008410c
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
test eax, eax
jne 0x1400b961e
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x1400b961e
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov byte [rbp - 0x20], 0
mov rcx, qword [rbp - 0x48]
mov r8, r13
mov rax, qword [rbp - 0x40]
xor edx, edx
call qword [case.0x1400059ff.0]
test al, al
jne 0x1400b9683
mov r12d, 1
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400b9b4b
test byte [rcx + 0x1c], bl
je 0x1400b9b4b
cmp byte [rcx + 0x19], 2
jb 0x1400b9b4b
mov edx, 0x1a2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
call fcn.140004b74
jmp 0x1400b9b4b
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov rcx, qword [0x1401720a0]
xor dl, dl
mov byte [rsp + 0x50], dl
xor r9d, r9d
mov byte [rsp + 0x52], 1
xor esi, esi
mov dword [rsp + 0x5c], r9d
lea rax, [rbp + 0x2b0]
mov qword [rsp + 0x78], rsi
lea r8, [rbp + 0x444]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], r8
cmp dword [rax], 0
je 0x1400b98ca
mov eax, r9d
lea rdx, [rbp + 0x430]
shl rax, 5
lea r8, [rsp + 0x54]
add rdx, rax
mov r9d, 1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x1400b9bd5
cmp byte [rsp + 0x51], 0
je 0x1400b977e
mov r9, qword [rsp + 0x68]
mov r8d, dword [rsp + 0x54]
mov rdx, qword [rbp + rsi + 0x330]
mov rcx, qword [rbp - 0x38]
mov eax, dword [r9 - 4]
mov dword [rbp - 0x68], eax
mov eax, dword [r9]
mov dword [rbp - 0x64], eax
mov eax, r8d
add rax, qword [rbp - 0x68]
cmp rax, r13
mov qword [rsp + 0x40], r15
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
sete r9b
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x58], r9b
call fcn.1400b8bf0
mov r12d, eax
test eax, eax
jne 0x1400b9b4b
mov rcx, qword [0x1401720a0]
jmp 0x1400b98b4
mov rsi, qword [rbp + rsi + 0x830]
cmp rsi, qword [rbp - 0x58]
jl 0x1400b97a4
lea r8, str.offset_i____volumeSize
mov edx, 0x2278
lea rcx, str.base_stor_blb_blbimg_blbimg.cxx
call fcn.14008410c
mov r8d, dword [rsp + 0x54]
lea rax, [rsi + r8]
cmp rax, qword [rbp - 0x58]
jle 0x1400b97c9
mov rax, qword [rsp + 0x78]
mov r8d, dword [rbp - 0x58]
sub r8d, dword [rbp + rax + 0x830]
mov dword [rsp + 0x54], r8d
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400b9818
test byte [rcx + 0x1c], bl
je 0x1400b9818
cmp byte [rcx + 0x19], 5
jb 0x1400b9818
mov r9, qword [rsp + 0x68]
mov edx, 0x1a3
mov rcx, qword [rcx + 0x10]
mov eax, dword [r9 - 4]
mov dword [rsp + 0x28], eax
mov eax, dword [r9]
mov r9d, r8d
lea r8, [0x140152e48]
mov dword [rsp + 0x20], eax
call fcn.1400ae470
mov r8d, dword [rsp + 0x54]
mov rax, qword [rsp + 0x78]
lea r9, [rbp + 0x930]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp + rax + 0x330]
call fcn.1400bca34
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400b98af
test byte [rcx + 0x1c], bl
je 0x1400b98af
cmp byte [rcx + 0x19], 5
jb 0x1400b98af
mov eax, dword [rbp + 0x93c]
mov edx, 0x1a4
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0x938]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x934]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x930]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x78]
sar rsi, 0x20
mov r9d, esi
mov eax, dword [rbp + rax + 0x830]
mov dword [rsp + 0x20], eax
call fcn.1400ae540
mov rcx, qword [0x1401720a0]
mov rsi, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
mov r9d, dword [rsp + 0x5c]
mov dl, byte [rsp + 0x50]
and dword [rax], 0
test dl, dl
jne 0x1400b9aa6
cmp byte [rsp + 0x51], dl
je 0x1400b999f
mov rdx, qword [rbp - 0x80]
cmp rdx, r13
jne 0x1400b9926
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400b991b
test byte [rcx + 0x1c], bl
je 0x1400b991b
cmp byte [rcx + 0x19], bl
jb 0x1400b991b
mov edx, 0x1a5
mov r9, qword [rbp - 0x50]
lea r8, [0x140152e48]
mov rcx, qword [rcx + 0x10]
call fcn.140005afc
mov rcx, qword [0x1401720a0]
mov dl, 1
mov byte [rsp + 0x50], dl
jmp 0x1400b9a97
mov rax, rdx
mov qword [rbp - 0x68], rdx
shr rax, 0x20
mov esi, 0x10000
mov dword [r8], eax
lea rax, [rdx + 0x10000]
mov dword [r8 - 4], edx
mov dword [rsp + 0x60], esi
cmp rax, r13
jle 0x1400b9956
mov esi, r13d
sub esi, edx
mov dword [rsp + 0x60], esi
mov eax, r9d
mov r8d, esi
shl rax, 5
lea r9, [rbp + 0x430]
add r9, rax
mov rcx, r14
mov rax, qword [rsp + 0x78]
mov rdx, qword [rbp + rax + 0x330]
call fcn.1400bcbc0
mov rax, qword [rsp + 0x70]
mov byte [rsp + 0x52], 0
mov dword [rax], 1
mov eax, esi
add qword [rbp - 0x80], rax
mov rsi, qword [rsp + 0x78]
jmp 0x1400b9a51
and qword [rsp + 0x38], 0
lea rcx, [rbp + 0x430]
mov edx, r9d
lea r8, [rbp + 0x830]
mov eax, r9d
lea r9, [rsp + 0x60]
shl rax, 5
add rcx, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rcx
lea r8, [r8 + rdx*8]
mov rdx, qword [rbp + rsi + 0x330]
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x20], rax
call fcn.1400c936c
test al, al
jne 0x1400b9a29
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400b991b
test byte [rcx + 0x1c], bl
je 0x1400b991b
cmp byte [rcx + 0x19], bl
jb 0x1400b991b
mov edx, 0x1a6
jmp 0x1400b9900
cmp byte [rsp + 0x53], 0
mov rax, qword [rsp + 0x70]
mov byte [rsp + 0x52], 0
mov dword [rax], 1
je 0x1400b9a46
mov rax, qword [rbp + 0x68]
jmp 0x1400b9a4d
mov eax, dword [rbp - 0x5c]
shl rax, 0x15
mov qword [rbp - 0x80], rax
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [rbp + 0x1c]
cmp word [rbp + 0x2c], ax
je 0x1400b9a8c
mov rdx, qword [rbp - 0x80]
mov r8, r13
mov rcx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x40]
call qword [case.0x1400059ff.0]
test al, al
je 0x1400b9be6
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov dl, byte [rsp + 0x50]
mov rcx, qword [0x1401720a0]
mov r9d, dword [rsp + 0x5c]
mov r8, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
inc r9d
add r8, 0x20
add rsi, rdi
mov dword [rsp + 0x5c], r9d
add rax, rbx
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rax
cmp r9d, 0x20
jb 0x1400b96c6
mov al, byte [rsp + 0x52]
test al, al
je 0x1400b969a
mov rcx, qword [rbp - 0x48]
mov r8, r13
mov rax, qword [rbp - 0x40]
mov rdx, r13
mov qword [rbp - 0x80], r13
call qword [case.0x1400059ff.0]
test r12d, r12d
jne 0x1400b9b4b
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400b9b4b
test byte [rcx + 0x1c], bl
je 0x1400b9b4b
cmp byte [rcx + 0x19], bl
jb 0x1400b9b4b
mov r8, qword [rbp - 0x38]
mov edx, 0x1a8
mov rcx, qword [rcx + 0x10]
mov eax, dword [r8 + 0xc]
mov r9d, dword [r8]
mov dword [rsp + 0x30], eax
mov eax, dword [r8 + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [r8 + 4]
lea r8, [0x140152e48]
mov dword [rsp + 0x20], eax
call fcn.140010e54
mov rax, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x18]
mov qword [rcx], rax
mov rax, qword [rbp - 0x10]
mov qword [rax], r13
test r12d, r12d
je 0x1400b9b7c
lea r9, [rbp + 0x2b0]
or rdx, 0xffffffffffffffff
lea r8, [rbp + 0x430]
mov rcx, r14
call fcn.1400af2b4
lea rsi, [rbp + 0x1b0]
mov r13d, 0x20
lea r15, [rbp + 0x448]
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
add rsi, rdi
lea r15, [r15 + 0x20]
sub r13, 1
jne 0x1400b9b90
cmp byte [rsp + 0x51], r13b
je 0x1400b9c20
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b9c44
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov r12d, ebx
jmp 0x1400b9b4b
mov r12d, 1
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400b9b4b
test byte [rcx + 0x1c], bl
je 0x1400b9b4b
cmp byte [rcx + 0x19], 2
jb 0x1400b9b4b
mov edx, 0x1a7
jmp 0x1400b966e
cmp byte [rsp + 0x53], 0
je 0x1400b9c31
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp + 0x30]
call fcn.1400c5328
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400b9d1e
test byte [rcx + 0x1c], bl
je 0x1400b9d1e
cmp byte [rcx + 0x19], bl
jb 0x1400b9d1e
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1a9
call fcn.140004b74
jmp 0x1400b9d1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + rsi*8 + 0x1b0]
mov dword [r15], eax
mov r14d, esi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
je 0x1400b9d13
lea rbx, [rbp + 0x1b0]
lea rsi, [rbp + 0x448]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LocalFree]
add rbx, rdi
lea rsi, [rsi + 0x20]
sub r14, 1
jne 0x1400b9cb3
jmp 0x1400b9d13
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
test esi, esi
je 0x1400b9d0e
lea rbx, [rbp + 0x1b0]
lea r14, [rbp + 0x448]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LocalFree]
add rbx, rdi
lea r14, [r14 + 0x20]
sub rsi, 1
jne 0x1400b9cef
mov edi, 3
mov r12d, edi
mov esi, r12d
mov ebx, esi
mov r12d, ebx
lea rcx, [rbp - 0x28]
call fcn.1400aefac
mov eax, r12d
mov rcx, qword [rbp + 0x940]
xor rcx, rsp
call fcn.140141cf0
mov rbx, qword [rsp + 0xaa8]
add rsp, 0xa50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret