Function at 0x1400b6784
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 [0x14016f608]
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 [0x14016f048]
lea rax, [0x14016f048]
lea ebx, [r13 + 4]
cmp rcx, rax
je 0x1400b6845
test byte [rcx + 0x1c], bl
je 0x1400b6845
cmp byte [rcx + 0x19], bl
jb 0x1400b6845
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x19b
call fcn.1400049d8
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 [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400b68c9
test byte [rcx + 0x1c], bl
je 0x1400b68c9
cmp byte [rcx + 0x19], bl
jb 0x1400b68c9
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x19c
mov r9, rdi
call fcn.1400058d8
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 0x1400b7610
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 0x1400b75c3
and dword [r12], 0
inc esi
add r12, rbx
add r14, rdi
add r13, 0x20
cmp esi, 0x20
jb 0x1400b68e1
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 0x1400b69bf
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x1400b69bb
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 0x1400b6993
lea edi, [r14 + 0x13]
jmp 0x1400b764f
mov byte [rbp - 0x20], 1
mov r13, qword [rbp - 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], r15
lea r9, [rsp + 0x50]
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.1400c3bb8
mov r12d, eax
test eax, eax
je 0x1400b6e6a
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400b6a4f
test byte [rcx + 0x1c], bl
je 0x1400b6a4f
cmp byte [rcx + 0x19], bl
jb 0x1400b6a4f
mov eax, dword [r15]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov edx, 0x19d
mov dword [rsp + 0x28], eax
mov r9, r13
mov dword [rsp + 0x20], r12d
call fcn.14001017c
and qword [rsp + 0x30], 0
mov esi, 3
mov dword [rsp + 0x28], 0x60000080
xor r9d, r9d
mov edx, 0x80000000
mov byte [rsp + 0x50], 1
mov rcx, r13
mov byte [rsp + 0x53], 1
lea r8d, [rsi - 2]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b6b1c
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 0x1400b6aaf
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400b764f
test byte [rcx + 0x1c], bl
je 0x1400b764f
cmp byte [rcx + 0x19], 2
jb 0x1400b764f
mov eax, dword [r15]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov edx, 0x19e
mov r9, r13
mov dword [rsp + 0x20], eax
call fcn.140005938
jmp 0x1400b764f
lea rdx, [rbp - 0x68]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1400b6b77
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 0x1400b6b53
jmp 0x1400b764f
mov r13, qword [rbp - 0x68]
test r13, r13
jne 0x1400b6bbf
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 0x1400b6b9b
jmp 0x1400b7652
mov edx, 0x20000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp - 0x78], rax
test rax, rax
jne 0x1400b6c1f
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 0x1400b6bfb
jmp 0x1400b7655
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 0x1400b6c8b
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 0x1400b6c67
jmp 0x1400b7655
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.1400ba468
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 0x1400b6d3d
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 0x1400b6d19
jmp 0x1400b7657
mov r9d, dword [rsp + 0x54]
cmp r9d, esi
je 0x1400b6dde
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400b6d82
test byte [rcx + 0x1c], bl
je 0x1400b6d82
cmp byte [rcx + 0x19], 2
jb 0x1400b6d82
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x19f
mov dword [rsp + 0x20], esi
call fcn.14000fa80
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 0x1400b6dba
jmp 0x1400b7657
mov rcx, qword [rbp + 0x330]
lea rdx, [0x14014f148]
mov r8d, 0x10
call qword [sym.imp.KERNEL32.dll_RtlCompareMemory]
cmp rax, 0x10
je 0x1400b6e53
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 0x1400b6e2f
jmp 0x1400b765a
mov rsi, qword [rsp + 0x70]
mov al, byte [rsp + 0x50]
mov dl, byte [rsp + 0x53]
mov qword [rbp - 0x30], 1
jmp 0x1400b6e90
mov al, byte [rsp + 0x50]
xor dl, dl
mov r14, qword [rsp + 0x68]
mov byte [rsp + 0x53], dl
mov byte [rsp + 0x50], al
test al, al
je 0x1400b6e87
mov r13, qword [rbp + 0x48]
jmp 0x1400b6e90
mov r13d, dword [rsp + 0x60]
shl r13, 0x15
mov rcx, qword [0x14016f048]
lea r8, [0x14016f048]
cmp rcx, r8
je 0x1400b6f02
test byte [rcx + 0x1c], bl
je 0x1400b6ed4
cmp byte [rcx + 0x19], bl
jb 0x1400b6ed4
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
movzx eax, al
movzx r9d, dl
mov edx, 0x1a0
mov dword [rsp + 0x20], eax
call fcn.14000fa80
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400b6f02
test byte [rcx + 0x1c], bl
je 0x1400b6f02
cmp byte [rcx + 0x19], bl
jb 0x1400b6f02
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1a1
mov r9, r13
call fcn.14000fcd0
cmp byte [rbp - 0x20], 0
je 0x1400b6f5a
cmp rsi, 0xffffffffffffffff
jne 0x1400b6f24
lea r8, str._hImpersonationToken___INVALID_HANDLE_VALUE
lea edx, [rsi + 0x5b]
lea rcx, str.base_stor_blb_blbimg_blbimg.cxx
call fcn.140082070
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
test eax, eax
jne 0x1400b6f56
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x1400b6f56
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.0x1400057f3.0]
test al, al
jne 0x1400b6fbb
mov r12d, 1
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400b7487
test byte [rcx + 0x1c], bl
je 0x1400b7487
cmp byte [rcx + 0x19], 2
jb 0x1400b7487
mov edx, 0x1a2
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
call fcn.1400049d8
jmp 0x1400b7487
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov r10, qword [0x14016f048]
xor r8b, r8b
mov byte [rsp + 0x52], r8b
xor r9d, r9d
lea rax, [rbp + 0x2b0]
xor esi, esi
mov dword [rsp + 0x5c], r9d
mov cl, 1
mov qword [rsp + 0x68], rsi
lea rdx, [rbp + 0x444]
mov byte [rsp + 0x51], cl
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdx
cmp dword [rax], 0
je 0x1400b71f6
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 0x1400b7511
cmp byte [rsp + 0x53], 0
je 0x1400b70b9
mov r9, qword [rsp + 0x78]
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.1400b6534
mov r12d, eax
test eax, eax
jne 0x1400b7487
mov r10, qword [0x14016f048]
jmp 0x1400b71db
mov rsi, qword [rbp + rsi + 0x830]
cmp rsi, qword [rbp - 0x58]
jl 0x1400b70df
lea r8, str.offset_i____volumeSize
mov edx, 0x2278
lea rcx, str.base_stor_blb_blbimg_blbimg.cxx
call fcn.140082070
mov r8d, dword [rsp + 0x54]
lea rax, [rsi + r8]
cmp rax, qword [rbp - 0x58]
jle 0x1400b70fa
mov r8d, dword [rbp - 0x58]
sub r8d, esi
mov dword [rsp + 0x54], r8d
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400b7149
test byte [rcx + 0x1c], bl
je 0x1400b7149
cmp byte [rcx + 0x19], 5
jb 0x1400b7149
mov r9, qword [rsp + 0x78]
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, [0x14014f138]
mov dword [rsp + 0x20], eax
call fcn.1400abf8c
mov r8d, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x68]
lea r9, [rbp + 0x930]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp + rdx + 0x330]
call fcn.1400ba2e4
mov r10, qword [0x14016f048]
lea rax, [0x14016f048]
cmp r10, rax
je 0x1400b71d6
test byte [r10 + 0x1c], bl
je 0x1400b71d6
cmp byte [r10 + 0x19], 5
jb 0x1400b71d6
mov eax, dword [rbp + 0x93c]
mov r9, rsi
mov rcx, qword [r10 + 0x10]
mov edx, 0x1a4
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
sar r9, 0x20
mov dword [rsp + 0x20], esi
call fcn.1400ac050
mov r10, qword [0x14016f048]
mov rsi, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov r9d, dword [rsp + 0x5c]
mov cl, byte [rsp + 0x51]
and dword [rax], 0
mov r8b, byte [rsp + 0x52]
test r8b, r8b
jne 0x1400b73e6
cmp byte [rsp + 0x53], r8b
je 0x1400b72d5
mov rcx, qword [rbp - 0x80]
cmp rcx, r13
jne 0x1400b725c
lea rax, [0x14016f048]
cmp r10, rax
je 0x1400b724b
test byte [r10 + 0x1c], bl
je 0x1400b724b
cmp byte [r10 + 0x19], bl
jb 0x1400b724b
mov edx, 0x1a5
mov r9, qword [rbp - 0x50]
lea r8, [0x14014f138]
mov rcx, qword [r10 + 0x10]
call fcn.1400058d8
mov r10, qword [0x14016f048]
mov cl, byte [rsp + 0x51]
mov r8b, 1
mov byte [rsp + 0x52], r8b
jmp 0x1400b73d7
mov r8d, 0x10000
mov qword [rbp - 0x68], rcx
mov rax, rcx
mov dword [rdx - 4], ecx
shr rax, 0x20
mov esi, r8d
mov dword [rdx], eax
lea rax, [rcx + 0x10000]
mov dword [rsp + 0x60], r8d
cmp rax, r13
jle 0x1400b7294
mov r8d, r13d
sub r8d, ecx
mov dword [rsp + 0x60], r8d
mov esi, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, r14
mov eax, r9d
lea r9, [rbp + 0x430]
shl rax, 5
add r9, rax
mov rdx, qword [rbp + rdx + 0x330]
call fcn.1400ba468
mov rax, qword [rsp + 0x70]
mov dword [rax], 1
mov eax, esi
add qword [rbp - 0x80], rax
mov rsi, qword [rsp + 0x68]
jmp 0x1400b7384
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.1400c6ae4
test al, al
jne 0x1400b7361
mov r10, qword [0x14016f048]
lea rax, [0x14016f048]
cmp r10, rax
je 0x1400b724b
test byte [r10 + 0x1c], bl
je 0x1400b724b
cmp byte [r10 + 0x19], bl
jb 0x1400b724b
mov edx, 0x1a6
jmp 0x1400b7230
cmp byte [rsp + 0x50], 0
mov rax, qword [rsp + 0x70]
mov dword [rax], 1
je 0x1400b7379
mov rax, qword [rbp + 0x68]
jmp 0x1400b7380
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]
xor cl, cl
mov byte [rsp + 0x51], cl
cmp word [rbp + 0x2c], ax
je 0x1400b73cb
mov rdx, qword [rbp - 0x80]
mov r8, r13
mov rcx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x40]
call qword [case.0x1400057f3.0]
test al, al
je 0x1400b7522
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
xor cl, cl
mov byte [rsp + 0x51], cl
mov r8b, byte [rsp + 0x52]
mov r10, qword [0x14016f048]
mov r9d, dword [rsp + 0x5c]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
inc r9d
add rdx, 0x20
add rsi, rdi
mov dword [rsp + 0x5c], r9d
add rax, rbx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rax
cmp r9d, 0x20
jb 0x1400b7001
test cl, cl
je 0x1400b6fd4
mov rcx, qword [rbp - 0x48]
mov r8, r13
mov rax, qword [rbp - 0x40]
mov rdx, r13
mov qword [rbp - 0x80], r13
call qword [case.0x1400057f3.0]
test r12d, r12d
jne 0x1400b7487
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400b7487
test byte [rcx + 0x1c], bl
je 0x1400b7487
cmp byte [rcx + 0x19], bl
jb 0x1400b7487
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, [0x14014f138]
mov dword [rsp + 0x20], eax
call fcn.140010868
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 0x1400b74b8
lea r9, [rbp + 0x2b0]
or rdx, 0xffffffffffffffff
lea r8, [rbp + 0x430]
mov rcx, r14
call fcn.1400acd2c
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 0x1400b74cc
cmp byte [rsp + 0x53], r13b
je 0x1400b755c
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 0x1400b7580
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov r12d, ebx
jmp 0x1400b7487
mov r12d, 1
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400b7487
test byte [rcx + 0x1c], bl
je 0x1400b7487
cmp byte [rcx + 0x19], 2
jb 0x1400b7487
mov edx, 0x1a7
jmp 0x1400b6fa6
cmp byte [rsp + 0x50], 0
je 0x1400b756d
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.1400c2af0
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400b765a
test byte [rcx + 0x1c], bl
je 0x1400b765a
cmp byte [rcx + 0x19], bl
jb 0x1400b765a
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1a9
call fcn.1400049d8
jmp 0x1400b765a
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 0x1400b764f
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 0x1400b75ef
jmp 0x1400b764f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
test esi, esi
je 0x1400b764a
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 0x1400b762b
mov edi, 3
mov r12d, edi
mov esi, r12d
mov ebx, esi
mov r12d, ebx
lea rcx, [rbp - 0x28]
call fcn.1400aca38
mov eax, r12d
mov rcx, qword [rbp + 0x940]
xor rcx, rsp
call fcn.14013e290
mov rbx, qword [rsp + 0xaa8]
add rsp, 0xa50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret