Function at 0x1400e15c0
Capabilities:
Get disk size

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x150]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400de72e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
movsxd rdx, eax
mov qword [rbx + 0x88], rdx
add rsp, 0x20
pop rbx
ret
test byte [rbx + 0x158], 2
je 0x1400de761
and al, 0x11
cmp al, 1
jne 0x1400de761
mov ecx, 0xfffff030
mov dword [rbx + 0x14c], 0xfffff030
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov qword [rbx + 0x88], 0
add rsp, 0x20
pop rbx
ret
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x158]
mov rbx, rcx
mov rcx, qword [rcx + 0x150]
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__wchmod
cmp eax, 0xffffffff
jne 0x1400de7c2
call sub.api_ms_win_crt_runtime_l1_1_0.dll___doserrno
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov qword [rbx + 0x88], 0
add rsp, 0x20
pop rbx
ret
mov qword [rcx + 0x88], 0
ret
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x40
mov ebx, dword [rcx + 0x150]
mov rsi, rcx
cmp ebx, 0xffffffff
jne 0x1400de828
mov qword [rcx + 0x88], 0xfffffffffffff00d
mov dword [rcx + 0x14c], 6
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x50], rdi
lea rax, [0x1403e9080]
mov qword [rsp + 0x58], r14
lea rcx, [0x140161050]
movzx r14d, bl
xor edi, edi
shl r14, 4
add r14, rax
call sub.KERNEL32.dll_EnterCriticalSection
mov r11, qword [r14]
mov rdx, r11
and edx, 0xf
test r11, r11
je 0x1400de871
test rdx, rdx
jne 0x1400de871
mov r10, qword [r14 + 8]
lea edx, [rdi + 0x10]
mov r9, r10
jmp 0x1400de87d
mov r10, qword [r14 + 8]
mov r9, r10
test rdx, rdx
je 0x1400de89d
xor eax, eax
xor ecx, ecx
lea rax, [rax + rax*4]
cmp dword [r9 + rax*8], ebx
lea r8, [r9 + rax*8]
je 0x1400de89a
inc ecx
mov eax, ecx
cmp rax, rdx
jb 0x1400de881
jmp 0x1400de89d
mov rdi, r8
mov rdx, qword [r9 + 0x280]
test rdx, rdx
je 0x1400de8e5
nop dword [rax]
test rdi, rdi
jne 0x1400de8ea
xor eax, eax
mov rcx, rdx
nop word [rax + rax]
cmp dword [rcx], ebx
je 0x1400de8d1
inc eax
add rcx, 0x28
cmp eax, 0x10
jb 0x1400de8c0
jmp 0x1400de8d9
lea rax, [rax + rax*4]
lea rdi, [rdx + rax*8]
mov rdx, qword [rdx + 0x280]
test rdx, rdx
jne 0x1400de8b0
test rdi, rdi
je 0x1400de946
movups xmm0, xmmword [rdi + 8]
lea rcx, [r11 - 1]
mov rax, rcx
mov qword [r14], rcx
and eax, 0xf
movups xmmword [rsp + 0x20], xmm0
lea rax, [rax + rax*4]
lea rdx, [r10 + rax*8]
cmp rdi, rdx
je 0x1400de928
movups xmm0, xmmword [rdx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rdi + 0x10], xmm1
movsd xmm0, qword [rdx + 0x20]
movsd qword [rdi + 0x20], xmm0
mov rcx, qword [r14]
test rcx, rcx
je 0x1400de946
test cl, 0xf
jne 0x1400de946
mov rcx, qword [r14 + 8]
mov rax, qword [rcx + 0x280]
mov qword [r14 + 8], rax
call fcn.1400d9a00
lea rcx, [0x140161050]
call sub.KERNEL32.dll_LeaveCriticalSection
mov r14, qword [rsp + 0x58]
test rdi, rdi
mov rdi, qword [rsp + 0x50]
je 0x1400de972
mov rcx, qword [rsp + 0x28]
cmp rcx, 0xffffffffffffffff
je 0x1400de972
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 2
jle 0x1400de9a3
mov ecx, ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll__close
cmp eax, 0xffffffff
jne 0x1400de9a3
mov qword [rsi + 0x88], 0xfffffffffffff00d
mov dword [rsi + 0x14c], 6
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
mov rbx, qword [rsp + 0x60]
mov qword [rsi + 0x88], 0
add rsp, 0x40
pop rsi
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbx + 0x90]
call fcn.1400d9a00
mov qword [rbx + 0x88], 0
add rsp, 0x20
pop rbx
ret
push rbx
sub rsp, 0x140
mov r8d, dword [rcx + 0x168]
mov rbx, rcx
test r8b, 4
je 0x1400dea37
mov qword [rcx + 0x88], 0xfffffffffffff02a
mov dword [rcx + 0x14c], gethostname
add rsp, 0x140
pop rbx
ret
mov rdx, qword [rcx + 0x160]
and r8d, 1
mov rcx, qword [rcx + 0x150]
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x158], rdi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400deb9a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
cmp rcx, 0xfffffffffffff00e
jne 0x1400deba5
mov rcx, qword [rbx + 0x150]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov edx, 0x80
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400dead6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400deb02
xor r8d, r8d
lea rdx, [rsp + 0xc0]
mov rcx, rsi
call fcn.1400e1210
test eax, eax
je 0x1400deaf7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400deaf9
xor edi, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x1400deba5
mov rcx, qword [rbx + 0x160]
lea r8d, [rdi + 7]
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x2000000
mov edx, 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400deb4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400deb78
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400e1210
test eax, eax
je 0x1400deb6d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400deb6f
xor edi, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x1400deba5
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0xc0], rax
jne 0x1400deba5
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0xf0], rax
jne 0x1400deba5
mov qword [rbx + 0x88], 0
mov rsi, qword [rsp + 0x150]
mov rdi, qword [rsp + 0x158]
add rsp, 0x140
pop rbx
ret
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov r12, r8
mov rsi, rdx
mov rbp, rcx
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x1400debe6
mov ebx, 4
lea rdx, [0x14013adb8]
mov r8d, ebx
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcsncmp
xor r13d, r13d
test eax, eax
mov r14d, r13d
sete r14b
test eax, eax
je 0x1400dec63
cmp edi, 3
jl 0x1400dec49
movzx ecx, word [rsi]
lea eax, [rcx - 0x61]
cmp ax, 0x19
jbe 0x1400dec32
sub cx, 0x41
cmp cx, 0x19
ja 0x1400dec49
cmp word [rsi + 2], 0x3a
jne 0x1400dec49
movzx eax, word [rsi + 4]
cmp ax, 0x5c
je 0x1400dec63
cmp ax, 0x2f
je 0x1400dec63
mov qword [rbp + 0x88], 0xfffffffffffff019
mov dword [rbp + 0x14c], gethostname
jmp 0x1400deefc
lea eax, [rdi*4 + 0x20]
mov qword [rsp + 0x70], r15
movsxd rcx, eax
call fcn.1400d9bc0
mov r15, rax
test rax, rax
je 0x1400def16
mov r8, rbx
lea rdx, [0x14013ada8]
lea rcx, [rax + 0x10]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcsncpy
lea eax, [r14*4]
mov r8d, r13d
movzx ecx, word [rsi + rax*2]
mov r14d, 0x5c
mov r11d, eax
lea r10, [rsi + rax*2]
test cx, cx
je 0x1400ded06
mov r9d, r11d
mov rdx, r10
nop dword [rax]
cmp cx, r14w
je 0x1400decef
cmp cx, 0x2f
je 0x1400decef
test r8d, r8d
je 0x1400dece2
movsxd rax, ebx
mov r8d, r13d
inc ebx
mov word [r15 + rax*2 + 0x10], r14w
movzx ecx, word [rdx]
movsxd rax, ebx
inc ebx
mov word [r15 + rax*2 + 0x10], cx
jmp 0x1400decf5
mov r8d, 1
inc r9
movzx ecx, word [rsi + r9*2]
lea rdx, [rsi + r9*2]
test cx, cx
jne 0x1400decc0
movsxd rax, ebx
mov edx, r13d
inc ebx
mov word [r15 + rax*2 + 0x10], r14w
movzx eax, bx
add ax, ax
mov word [r15 + 8], r13w
mov word [r15 + 0xa], ax
movsxd rax, ebx
inc ebx
mov r8d, ebx
mov word [r15 + rax*2 + 0x10], r13w
movzx ecx, word [r10]
test cx, cx
je 0x1400ded85
nop dword [rax + rax]
cmp cx, r14w
je 0x1400ded6f
cmp cx, 0x2f
je 0x1400ded6f
test edx, edx
je 0x1400ded62
movsxd rax, ebx
mov edx, r13d
inc ebx
mov word [r15 + rax*2 + 0x10], r14w
movzx ecx, word [r10]
movsxd rax, ebx
inc ebx
mov word [r15 + rax*2 + 0x10], cx
jmp 0x1400ded74
mov edx, 1
inc r11
movzx ecx, word [rsi + r11*2]
lea r10, [rsi + r11*2]
test cx, cx
jne 0x1400ded40
mov eax, ebx
sub eax, r8d
cmp eax, 2
jne 0x1400ded9f
movsxd rax, ebx
inc ebx
mov word [r15 + rax*2 + 0x10], r14w
mov eax, 3
add ax, ax
lea edi, [rbx*2 + 0x12]
mov word [r15 + 0xe], ax
add r8w, r8w
movsxd rax, ebx
xor edx, edx
mov word [r15 + 0xc], r8w
mov rcx, r12
mov word [r15 + rax*2 + 0x10], r13w
lea eax, [rdi - 8]
mov word [r15 + 4], ax
mov dword [r15], 0xa0000003
mov word [r15 + 6], r13w
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400dee0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbp + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbp + 0x88], rcx
mov rcx, r15
call fcn.1400d9a00
jmp 0x1400deef7
mov qword [rsp + 0x30], r13
xor r9d, r9d
mov dword [rsp + 0x28], 0x2200000
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400dee72
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbp + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbp + 0x88], rcx
mov rcx, r15
call fcn.1400d9a00
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1400deef7
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov r9d, edi
mov dword [rsp + 0x28], r13d
mov r8, r15
mov edx, 0x900a4
mov qword [rsp + 0x20], r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400deedf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbp + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbp + 0x88], rcx
mov rcx, r15
call fcn.1400d9a00
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1400deef7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
call fcn.1400d9a00
mov qword [rbp + 0x88], r13
mov r15, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
lea rdx, str.uv__malloc
mov ecx, select
call fcn.1400ee7b0
int3
push rbx
sub rsp, 0x70
mov rax, qword [0x140159cc0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov ecx, dword [rcx + 0x150]
cmp ecx, 0xffffffff
jne 0x1400def7b
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14011ae70
add rsp, 0x70
pop rbx
ret
mov qword [rsp + 0x90], rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__get_osfhandle
xor r9d, r9d
xor r8d, r8d
mov edx, 0x100
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReOpenFile]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400defc7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x1400df10b
mov r9d, 0x28
mov dword [rsp + 0x20], 4
lea r8, [rsp + 0x40]
mov rcx, rdi
lea rdx, [rsp + 0x30]
call qword [0x14046aac0]
test eax, eax
jns 0x1400df010
mov ecx, eax
call qword [0x14046aad0]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x1400df102
mov eax, dword [rsp + 0x60]
mov qword [rsp + 0x88], rsi
test al, 0x20
jne 0x1400df05b
or eax, 0x20
mov dword [rsp + 0x20], 4
mov r9d, 0x28
mov dword [rsp + 0x60], eax
lea r8, [rsp + 0x40]
mov rcx, rdi
lea rdx, [rsp + 0x30]
call qword [0x14046aab8]
test eax, eax
js 0x1400df0d1
mov eax, dword [rsp + 0x60]
mov esi, 1
jmp 0x1400df05d
xor esi, esi
test byte [rbx + 0x158], 0x80
je 0x1400df06b
and eax, 0xfffffffe
jmp 0x1400df06e
or eax, 1
mov r9d, 0x28
mov dword [rsp + 0x60], eax
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], 4
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [0x14046aab8]
test eax, eax
js 0x1400df0d1
test esi, esi
je 0x1400df0f2
mov eax, dword [rsp + 0x60]
lea r8, [rsp + 0x40]
mov ecx, 0x80
mov dword [rsp + 0x20], 4
and eax, 0xffffffdf
lea rdx, [rsp + 0x30]
cmove eax, ecx
lea r9d, [rcx - 0x58]
mov dword [rsp + 0x60], eax
mov rcx, rdi
call qword [0x14046aab8]
test eax, eax
jns 0x1400df0f2
mov ecx, eax
call qword [0x14046aad0]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x1400df0fa
mov qword [rbx + 0x40], 0
mov rsi, qword [rsp + 0x88]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14011ae70
add rsp, 0x70
pop rbx
ret
jmp 0x1400e1880
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x20
mov esi, dword [rcx + 0x150]
mov rbx, rcx
cmp esi, 0xffffffff
jne 0x1400df1c8
mov dword [rcx + 0x14c], 6
mov qword [rcx + 0x88], 0xfffffffffffff00d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov ecx, esi
mov qword [rsp + 0x30], rbp
call sub.api_ms_win_crt_stdio_l1_1_0.dll__get_osfhandle
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x1400df209
lea ecx, [rax + 7]
mov dword [rbx + 0x14c], 6
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x38], rdi
mov ecx, esi
lea rdi, [rbx + 0xa0]
call fcn.1400da790
mov ecx, eax
test eax, eax
je 0x1400df2b4
cmp eax, 7
je 0x1400df249
cmp eax, 0xe
je 0x1400df249
cmp eax, 0x11
jne 0x1400df2b4
xor r8d, r8d
mov rdx, rdi
mov rcx, rbp
call fcn.1400e1210
test eax, eax
je 0x1400df2a0
jmp 0x1400df2bf
xorps xmm0, xmm0
cmp ecx, 0xe
movups xmmword [rdi], xmm0
mov edx, 0x2000
mov eax, 0x1000
movups xmmword [rdi + 0x10], xmm0
cmove eax, edx
mov edx, 0x50
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm0
movups xmmword [rdi + 0x60], xmm0
movups xmmword [rdi + 0x70], xmm0
mov qword [rdi + 8], rax
mov eax, select
cmove eax, edx
mov qword [rdi + 0x10], 1
shl rax, 0x10
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x30], rbp
mov qword [rbx + 0x90], rdi
mov qword [rbx + 0x88], 0
jmp 0x1400df2dc
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x60
mov edi, dword [rcx + 0x150]
xor ebp, ebp
mov qword [rsp + 0x40], rbp
mov rbx, rcx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x58], rbp
cmp edi, 0xffffffff
jne 0x1400df355
mov qword [rcx + 0x88], 0xfffffffffffff00d
mov dword [rcx + 0x14c], 6
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, edi
mov qword [rsp + 0x78], rsi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__get_osfhandle
lea rdx, [rsp + 0x40]
mov ecx, edi
mov rsi, rax
call fcn.1400e23e0
test eax, eax
je 0x1400df3af
cmp byte [rsp + 0x44], bpl
je 0x1400df39e
mov ecx, 5
mov dword [rbx + 0x14c], 5
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x1400df4b8
mov rcx, qword [rsp + 0x48]
cmp rcx, 0xffffffffffffffff
je 0x1400df3af
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx + 0x180]
lea r8, [rsp + 0x70]
mov r9d, 8
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], shutdown
mov rcx, rsi
call qword [0x14046aab8]
test eax, eax
js 0x1400df46b
mov rdx, qword [rsp + 0x40]
mov qword [rbx + 0x88], rbp
test edx, edx
je 0x1400df4b8
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x1400df415
mov qword [rsp + 0x48], 0xffffffffffffffff
jmp 0x1400df4ac
mov r9, rax
mov qword [rsp + 0x28], rbp
sar r9, 0x20
mov r8d, 4
test dl, 3
mov dword [rsp + 0x20], eax
mov edx, 2
mov rcx, rsi
cmove r8d, edx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x1400df4ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
movsxd rdx, eax
mov qword [rbx + 0x88], rdx
jmp 0x1400df490
mov ecx, eax
call qword [0x14046aad0]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
cmp dword [rsp + 0x40], ebp
je 0x1400df4b8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movdqa xmm0, xmmword [0x140132c30]
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbp
lea rdx, [rsp + 0x40]
mov ecx, edi
call fcn.1400e2280
mov rsi, qword [rsp + 0x78]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x150]
cmp ecx, 0xffffffff
jne 0x1400df4ff
mov dword [rbx + 0x14c], 6
mov qword [rbx + 0x88], 0xfffffffffffff00d
add rsp, 0x20
pop rbx
ret
call sub.api_ms_win_crt_stdio_l1_1_0.dll__get_osfhandle
cmp rax, 0xffffffffffffffff
jne 0x1400df52c
lea ecx, [rax + 7]
mov dword [rbx + 0x14c], 6
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
movsd xmm2, qword [rbx + 0x160]
mov rcx, rax
movsd xmm1, qword [rbx + 0x158]
call fcn.1400e1ba0
test eax, eax
je 0x1400df56b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov qword [rbx + 0x88], 0
add rsp, 0x20
pop rbx
ret
push rbx
sub rsp, 0x20
mov rdx, qword [rcx + 0x150]
mov rbx, rcx
mov rcx, qword [rcx + 0x160]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateHardLinkW]
test eax, eax
jne 0x1400df5c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov qword [rbx + 0x88], 0
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rcx + 0x150]
mov r8, rcx
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400df5f1
cmp rax, 1
jbe 0x1400df624
cmp word [rdx + rax*2 - 4], 0x3a
je 0x1400df624
lea rcx, [rdx + rax*2]
movzx eax, word [rdx + rax*2 - 2]
cmp ax, 0x5c
je 0x1400df61e
cmp ax, 0x2f
jne 0x1400df624
xor eax, eax
mov word [rcx - 2], ax
mov edx, 1
mov rcx, r8
jmp 0x1400e1480
mov edx, 1
jmp 0x1400e1c20
push rbx
sub rsp, 0x20
mov rbx, rcx
xor edx, edx
mov rcx, qword [rcx + 0x150]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400df67d
mov qword [rbx + 0x88], 0
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov eax, dword [rbx + 0x14c]
mov qword [rbx + 0x88], rcx
cmp eax, 0x7b
je 0x1400df6ac
cmp eax, 0x10b
jne 0x1400df6b7
mov qword [rbx + 0x88], 0xfffffffffffff019
add rsp, 0x20
pop rbx
ret
lea rdx, [0x1400df6d0]
jmp 0x1400df870
lea rdx, [0x1400df750]
jmp 0x1400df870
push rbx
push rbp
push rsi
push r14
sub rsp, 0x28
mov r14, qword [rcx + 0x98]
mov rbx, 0xffffffffffffffff
mov rsi, rcx
mov rax, rbx
mov rcx, qword [rcx + 0x150]
mov rbp, rdx
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400df8a0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x20], r15
cmp rax, 6
jb 0x1400dfb25
lea r15, [rcx + rax*2]
mov r8d, 6
lea rcx, [r15 - 0xc]
lea rdx, str.XXXXXX
call sub.api_ms_win_crt_string_l1_1_0.dll_wcsncmp
test eax, eax
jne 0x1400dfb25
mov edi, 0x7fffffff
movabs r12, 0x842108421084211
nop dword [rax]
nop dword [rax + rax]
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.1400e5010
test eax, eax
js 0x1400dfb12
mov rcx, qword [rsp + 0x50]
mov rax, r12
mul rcx
mov r8, qword [0x140159b30]
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movzx eax, word [r8 + rcx*2]
mov word [r15 - 0xc], ax
mov rax, r12
mov rcx, qword [rsp + 0x50]
mul rcx
mov rax, r12
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
mul rcx
mov qword [rsp + 0x50], rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movzx eax, word [r8 + rcx*2]
mov word [r15 - 0xa], ax
mov rax, r12
mov rcx, qword [rsp + 0x50]
mul rcx
mov rax, r12
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
mul rcx
mov qword [rsp + 0x50], rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movzx eax, word [r8 + rcx*2]
mov word [r15 - 8], ax
mov rax, r12
mov rcx, qword [rsp + 0x50]
mul rcx
mov rax, r12
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
mul rcx
mov qword [rsp + 0x50], rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movzx eax, word [r8 + rcx*2]
mov word [r15 - 6], ax
mov rax, r12
mov rcx, qword [rsp + 0x50]
mul rcx
mov rax, r12
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
mul rcx
mov rax, rcx
mov qword [rsp + 0x50], rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movzx eax, word [r8 + rcx*2]
mov word [r15 - 4], ax
mov rax, r12
mov rcx, qword [rsp + 0x50]
mul rcx
mov rax, r12
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
mul rcx
mov qword [rsp + 0x50], rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movzx eax, word [r8 + rcx*2]
mov word [r15 - 2], ax
mov rax, r12
mov rcx, qword [rsp + 0x50]
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
mov qword [rsp + 0x50], rcx
mov rcx, rsi
call rbp
test eax, eax
jne 0x1400dfae5
add edi, 0xffffffff
jne 0x1400df900
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rsi + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
jmp 0x1400dfb36
cmp qword [rsi + 0x88], 0
jl 0x1400dfb41
nop
inc rbx
cmp byte [r14 + rbx], 0
jne 0x1400dfaf0
lea rcx, [r14 - 6]
mov r8d, 6
add rcx, rbx
lea rdx, [r15 - 0xc]
call sub.api_ms_win_crt_convert_l1_1_0.dll_wcstombs
jmp 0x1400dfb41
mov dword [rsi + 0x14c], 0x45d
mov rcx, 0xfffffffffffff01a
jmp 0x1400dfb36
mov dword [rsi + 0x14c], 0x57
mov rcx, 0xfffffffffffff019
mov qword [rsi + 0x88], rcx
mov byte [r14], 0
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
add rsp, 0x28
pop r14
pop rsi
pop rbp
pop rbx
ret
push rbx
push rsi
push rdi
push r15
sub rsp, 0x88
mov rax, qword [0x140159cc0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov ebx, dword [rcx + 0x168]
xor r15d, r15d
mov rdi, rcx
bt ebx, 0x1d
jae 0x1400dfbb0
mov eax, ebx
mov dword [rsp + 0x40], ebx
and al, 3
mov qword [rsp + 0x58], r15
cmp al, 1
jne 0x1400dfba5
and ebx, 0xfffffffe
or ebx, 2
test bl, 8
je 0x1400dfbb0
and ebx, 0xfffffff6
or ebx, 2
mov qword [rsp + 0xc0], r12
xor ecx, ecx
mov qword [rsp + 0x80], r14
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__umask
mov ecx, eax
mov esi, eax
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__umask
mov edx, ebx
and edx, 3
je 0x1400dfbf3
sub edx, 1
je 0x1400dfbec
cmp edx, 1
jne 0x1400dfd23
mov ecx, 0x12019f
jmp 0x1400dfbf8
mov ecx, 0x120116
jmp 0x1400dfbf8
mov ecx, 0x120089
test bl, 8
je 0x1400dfc03
and ecx, 0xfffffffd
or ecx, 4
bt ebx, 0x1c
mov eax, 7
mov r10d, r15d
mov r12d, 2
cmovae r10d, eax
mov eax, ebx
and eax, 0x700
lea r14d, [r12 + 2]
cmp eax, 0x400
ja 0x1400dfc62
test eax, 0xfffffbff
je 0x1400dfc5a
cmp eax, 0x100
je 0x1400dfc55
cmp eax, 0x200
je 0x1400dfce8
cmp eax, 0x300
jne 0x1400dfd23
mov r9d, r12d
jmp 0x1400dfc81
mov r9d, r14d
jmp 0x1400dfc81
mov r9d, 3
jmp 0x1400dfc81
cmp eax, 0x500
je 0x1400dfc7b
cmp eax, 0x600
je 0x1400dfce8
cmp eax, 0x700
jne 0x1400dfd23
mov r9d, 1
mov edx, 0x80
bt ebx, 8
jae 0x1400dfca1
not sil
mov eax, 0x81
and sil, byte [rdi + 0x158]
test dl, sil
cmove edx, eax
mov r8d, ecx
mov eax, ebx
bts r8d, 0x10
and eax, 0x40
mov eax, ebx
cmove r8d, ecx
mov ecx, edx
or ecx, 0x4000100
bt ebx, 6
cmovae ecx, edx
mov edx, ecx
bts edx, 8
and eax, 0x1000
mov eax, ebx
cmove edx, ecx
and eax, 0x30
je 0x1400dfcf4
cmp eax, 0x10
je 0x1400dfcf0
cmp eax, 0x20
jne 0x1400dfd23
bts edx, 0x1b
jmp 0x1400dfcf4
mov r9d, 5
jmp 0x1400dfc81
bts edx, 0x1c
mov ecx, r8d
bt ebx, 0x19
jae 0x1400dfd0e
test r14b, r8b
je 0x1400dfd0a
test r12b, r8b
je 0x1400dfd23
and ecx, 0xfffffffb
bts edx, 0x1d
mov eax, ebx
and eax, 0xc000000
je 0x1400dfd41
add eax, 0xfc000000
test eax, 0xfbffffff
je 0x1400dfd3d
mov qword [rdi + 0x88], 0xfffffffffffff019
mov dword [rdi + 0x14c], 0x57
jmp 0x1400dfe95
bts edx, 0x1f
bts edx, 0x19
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], edx
mov r8d, r10d
mov dword [rsp + 0x20], r9d
mov edx, ecx
mov rcx, qword [rdi + 0x150]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400dfdc4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x1400dfda3
and ebx, 0x500
cmp ebx, 0x100
jne 0x1400dfda3
mov dword [rdi + 0x14c], eax
mov rax, 0xfffffffffffff01c
mov qword [rdi + 0x88], rax
jmp 0x1400dfe95
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.1400ee860
cdqe
mov qword [rdi + 0x88], rax
jmp 0x1400dfe95
mov edx, ebx
mov qword [rsp + 0xb8], rbp
mov rcx, rsi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__open_osfhandle
movsxd rbp, eax
test eax, eax
jns 0x1400dfe39
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
cmp dword [rax], 0x18
jne 0x1400dfdf7
mov dword [rdi + 0x14c], r14d
mov rax, 0xfffffffffffff01e
jmp 0x1400dfe27
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400dfe11
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 0x14c], eax
mov ecx, eax
jmp 0x1400dfe20
mov dword [rdi + 0x14c], 0xfffff002
mov ecx, 0xfffff002
call fcn.1400ee860
cdqe
mov rcx, rsi
mov qword [rdi + 0x88], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400dfe8d
bt ebx, 0x1d
jae 0x1400dfe86
mov r9d, 0x18
lea r8, [rsp + 0x60]
mov rcx, rsi
lea edx, [r9 - 0x17]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
test eax, eax
je 0x1400dff0f
movzx eax, byte [rsp + 0x75]
mov byte [rsp + 0x44], al
test al, al
je 0x1400dfebf
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], 0xffffffffffffffff
lea rdx, [rsp + 0x40]
mov ecx, ebp
call fcn.1400e2280
mov qword [rdi + 0x88], rbp
mov rbp, qword [rsp + 0xb8]
mov r14, qword [rsp + 0x80]
mov r12, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14011ae70
add rsp, 0x88
pop r15
pop rdi
pop rsi
pop rbx
ret
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400dff0f
cmp qword [rsp + 0x50], r15
je 0x1400dfe71
test byte [rsp + 0x40], 3
mov rcx, rsi
mov eax, dword [rsp + 0x50]
mov r9d, dword [rsp + 0x54]
cmove r14d, r12d
mov r8d, r14d
mov qword [rsp + 0x28], r15
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x1400dfe7a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400dfe8d
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, qword [rcx + 0x150]
mov rdi, rcx
mov rcx, rsi
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1400dff87
mov dword [rdi + 0x14c], 0x10b
mov rax, 0xfffffffffffff02c
jmp 0x1400e0054
mov ecx, 0x290
call fcn.1400d9bc0
mov rbp, rax
test rax, rax
jne 0x1400dffaf
mov dword [rdi + 0x14c], shutdown
mov rax, 0xfffffffffffff027
jmp 0x1400e0054
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1400dffb6
test rbx, rbx
jne 0x1400dffce
lea r14, [0x14013ae90]
jmp 0x1400dffed
movzx eax, word [rsi + rbx*2 - 2]
cmp ax, 0x5c
je 0x1400dffe6
lea r14, str._s
cmp ax, 0x2f
jne 0x1400dffed
lea r14, [0x14013ae98]
lea rcx, [rbx*2 + 8]
call fcn.1400d9bc0
mov r15, rax
test rax, rax
je 0x1400dff99
lea rdx, [rbx + 3]
mov r9, rsi
mov r8, r14
mov rcx, rax
call fcn.1400de690
lea rdx, [rbp + 0x38]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rcx, r15
mov qword [rbp + 0x30], rax
call fcn.1400d9a00
cmp qword [rbp + 0x30], 0xffffffffffffffff
jne 0x1400e0077
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400e0077
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.1400ee860
cdqe
mov rcx, rbp
mov qword [rdi + 0x88], rax
call fcn.1400d9a00
xor ecx, ecx
call fcn.1400d9a00
mov qword [rdi + 0x90], 0
jmp 0x1400e0093
mov dword [rbp + 0x288], 0
mov qword [rdi + 0x88], 0
mov qword [rdi + 0x90], rbp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
push rbp
push rsi
push rdi
sub rsp, 0x90
mov esi, dword [rcx + 0x150]
mov rdi, rcx
mov rbp, qword [rcx + 0x180]
cmp esi, 0xffffffff
jne 0x1400e00f0
mov qword [rcx + 0x88], 0xfffffffffffff00d
mov dword [rcx + 0x14c], 6
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rsp + 0x50]
mov ecx, esi
call fcn.1400e23e0
test eax, eax
je 0x1400e0118
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400e02a0
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0xc0], rbx
mov ecx, esi
mov qword [rsp + 0x80], r13
xor ebx, ebx
mov r13d, ebx
mov qword [rsp + 0x70], r15
call sub.api_ms_win_crt_stdio_l1_1_0.dll__get_osfhandle
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x1400e0163
lea ecx, [rbx + 6]
mov dword [rdi + 0x14c], 6
call fcn.1400ee860
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x1400e027d
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x78], r14
cmp rbp, 0xffffffffffffffff
je 0x1400e01ae
xorps xmm0, xmm0
lea r8, [rsp + 0xb8]
mov r9d, 1
lea r12, [rsp + 0x30]
mov rdx, rbx
mov rcx, r15
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400e01b1
mov r13d, 1
jmp 0x1400e01b1
mov r12, rbx
mov esi, ebx
cmp rbp, 0xffffffffffffffff
je 0x1400e01ca
mov eax, esi
add rax, rbp
mov dword [rsp + 0x40], eax
shr rax, 0x20
mov dword [rsp + 0x44], eax
mov rax, qword [rdi + 0x178]
lea r9, [rsp + 0xb0]
mov ecx, ebx
add rcx, rcx
mov qword [rsp + 0x20], r12
mov r8d, dword [rax + rcx*8]
mov rdx, qword [rax + rcx*8 + 8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
add esi, dword [rsp + 0xb0]
inc ebx
mov r14d, eax
test eax, eax
je 0x1400e020d
cmp ebx, dword [rdi + 0x170]
jb 0x1400e01b3
mov r12, qword [rsp + 0x88]
test r13d, r13d
je 0x1400e0231
mov rdx, qword [rsp + 0xb8]
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test r14d, r14d
mov r14, qword [rsp + 0x78]
jne 0x1400e0274
test esi, esi
jne 0x1400e0274
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1400e0251
mov eax, 0x3ec
jmp 0x1400e025b
cmp eax, 0x26
je 0x1400e0274
cmp eax, 0x6d
je 0x1400e0274
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x1400e027d
mov eax, esi
mov qword [rdi + 0x88], rax
mov r13, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xc0]
mov r15, qword [rsp + 0x70]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x140159cc0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rsi, qword [rcx + 0x90]
mov r15, rcx
or dword [rcx + 0x148], 8
xor edx, edx
mov rbx, qword [rsi]
mov r8, qword [rsi + 8]
mov rcx, rbx
shl r8, 4
call sub.VCRUNTIME140.dll_memset
xor r12d, r12d
mov ebp, r12d
cmp qword [rsi + 8], rbp
jbe 0x1400e061d
lea r13d, [r12 + 6]
cmp dword [rsi + 0x288], r12d
je 0x1400e0585
mov rcx, qword [rsi + 0x30]
lea rdx, [rsi + 0x38]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400e0650
cmp word [rsi + 0x64], 0x2e
lea rcx, [rsi + 0x64]
jne 0x1400e05a6
movzx eax, word [rsi + 0x66]
test ax, ax
je 0x1400e0607
cmp ax, 0x2e
jne 0x1400e05a6
cmp word [rsi + 0x68], r12w
je 0x1400e0607
mov r14d, ebp
mov rdx, 0xffffffffffffffff
shl r14, 4
add r14, rbx
mov r8, r14
call fcn.1400e4b80
test eax, eax
jne 0x1400e065b
mov eax, dword [rsi + 0x38]
test al, 0x10
je 0x1400e05d8
mov dword [rsp + 0x20], 2
jmp 0x1400e05f7
bt eax, 0xa
jae 0x1400e05e8
mov dword [rsp + 0x20], 3
jmp 0x1400e05f7
test al, 0x40
mov eax, 1
cmovne eax, r13d
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x20]
call fcn.1400d9a30
mov dword [r14 + 8], eax
inc ebp
mov eax, ebp
mov dword [rsi + 0x288], 1
cmp rax, qword [rsi + 8]
jb 0x1400e0566
mov eax, ebp
mov qword [r15 + 0x88], rax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14011ae70
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1400e061d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [r15 + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [r15 + 0x88], rcx
test ebp, ebp
je 0x1400e0626
mov edi, ebp
nop
mov rcx, qword [rbx]
call fcn.1400d9a00
mov qword [rbx], r12
lea rbx, [rbx + 0x10]
sub rdi, 1
jne 0x1400e0680
jmp 0x1400e0626
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
xor ebx, ebx
mov rcx, qword [rcx + 0x150]
xor r9d, r9d
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 0x2200000
xor edx, edx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400e0714
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
lea rdx, [rdi + 0x90]
xor r8d, r8d
mov rcx, rsi
call fcn.1400e0790
test eax, eax
je 0x1400e075e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rdi + 0x14c], eax
mov ebx, eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
cmp ebx, 0x1126
jne 0x1400e076c
mov qword [rdi + 0x88], 0xfffffffffffff019
jmp 0x1400e076c
or dword [rdi + 0x148], 8
mov qword [rdi + 0x88], rbx
mov rcx, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
mov qword [rsp + 0x30], 0
mov rcx, qword [rcx + 0x150]
xor r9d, r9d
mov dword [rsp + 0x28], 0x2000080
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400e0b02
lea rdx, [rbx + 0x90]
mov rcx, rax
call fcn.1400e0b50
mov rcx, rdi
cmp rax, 0xffffffffffffffff
jne 0x1400e0b2a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [rbx + 0x148], 8
mov qword [rbx + 0x88], 0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
push rbx
sub rsp, 0x20
mov rdx, qword [rcx + 0x160]
mov rbx, rcx
mov rcx, qword [rcx + 0x150]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1400e0caa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov qword [rbx + 0x88], 0
add rsp, 0x20
pop rbx
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x150]
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__wrmdir
cmp eax, 0xffffffff
jne 0x1400e0cfc
call sub.api_ms_win_crt_runtime_l1_1_0.dll___doserrno
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov qword [rbx + 0x88], 0
add rsp, 0x20
pop rbx
ret
push rbx
push rsi
push r12
push r14
push r15
mov eax, 0x20a0
call fcn.14011b200
sub rsp, rax
mov rax, qword [0x140159cc0]
xor rax, rsp
mov qword [rsp + 0x2090], rax
xor r12d, r12d
mov qword [rsp + 0x60], rcx
mov rbx, rcx
mov qword [rsp + 0x30], r12
mov rcx, qword [rcx + 0x150]
xor r9d, r9d
mov dword [rsp + 0x28], 0x2000000
mov edx, 0x100001
lea r8d, [r12 + 7]
mov dword [rsp + 0x20], 3
xor r14d, r14d
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x70], rax
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400e0da8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x1400e1086
mov byte [rsp + 0x50], 1
lea rax, [rsp + 0x90]
mov qword [rsp + 0x48], r12
xor r9d, r9d
mov byte [rsp + 0x40], r12b
xor r8d, r8d
mov dword [rsp + 0x38], 1
xor edx, edx
mov dword [rsp + 0x30], 0x2000
mov rcx, rsi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20d8], rbp
mov qword [rsp + 0x20e0], rdi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x20e8], r13
call qword [0x14046aaa8]
cmp eax, 0xc000000d
jne 0x1400e0e27
mov dword [rbx + 0x14c], 0x10b
mov rax, 0xfffffffffffff02c
jmp 0x1400e0fee
test eax, eax
js 0x1400e0fd0
nop
lea rdi, [rsp + 0x90]
xor r13d, r13d
nop dword [rax + rax]
add rdi, r13
mov ebx, dword [rdi + 0x3c]
shr rbx, 1
mov r13d, dword [rdi]
je 0x1400e0f4f
lea rax, [rbx + 0x1f]
lea rax, [rdi + rax*2]
nop word [rax + rax]
cmp word [rax], 0
jne 0x1400e0e75
sub rax, 2
sub rbx, 1
jne 0x1400e0e60
jmp 0x1400e0f4f
cmp rbx, 1
jne 0x1400e0e82
cmp word [rdi + 0x40], 0x2e
jmp 0x1400e0e94
cmp rbx, 2
jne 0x1400e0e9a
cmp word [rdi + 0x40], 0x2e
jne 0x1400e0e9a
cmp word [rdi + 0x42], 0x2e
je 0x1400e0f4f
mov rdx, rbx
lea rcx, [rdi + 0x40]
call fcn.1400ef410
mov qword [rsp + 0x68], rax
cmp r15, r14
jb 0x1400e0ee1
test r14, r14
jne 0x1400e0ebd
mov r14d, 0x20
jmp 0x1400e0ec0
add r14, r14
lea rdx, [r14*8]
mov rcx, r12
call fcn.1400d9ca0
test rax, rax
je 0x1400e1024
mov r12, rax
mov rax, qword [rsp + 0x68]
lea rcx, [rax + 8]
call fcn.1400d9bc0
mov rsi, rax
test rax, rax
je 0x1400e1024
lea rdx, [rax + 4]
mov qword [r12 + r15*8], rax
mov qword [rsp + 0x78], rdx
lea r9, [rsp + 0x68]
mov rdx, rbx
lea r8, [rsp + 0x78]
lea rcx, [rdi + 0x40]
inc r15
call fcn.1400ef490
test eax, eax
jne 0x1400e1024
mov eax, dword [rdi + 0x38]
test al, 0x40
je 0x1400e0f33
mov dword [rsi], 6
jmp 0x1400e0f4f
bt eax, 0xa
jae 0x1400e0f41
mov dword [rsi], 3
jmp 0x1400e0f4f
test al, 0x10
mov eax, 0
setne al
inc eax
mov dword [rsi], eax
test r13, r13
jne 0x1400e0e40
mov rsi, qword [rsp + 0x70]
lea rax, [rsp + 0x90]
mov byte [rsp + 0x50], r13b
xor r9d, r9d
mov qword [rsp + 0x48], r13
xor r8d, r8d
mov byte [rsp + 0x40], r13b
xor edx, edx
mov dword [rsp + 0x38], 1
mov rcx, rsi
mov dword [rsp + 0x30], 0x2000
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
call qword [0x14046aaa8]
test eax, eax
jne 0x1400e0fc5
cmp qword [rsp + 0x88], r13
jne 0x1400e0e30
mov rbx, qword [rsp + 0x60]
mov eax, 0x80000005
jmp 0x1400e0fd7
jns 0x1400e0e30
mov rbx, qword [rsp + 0x60]
cmp eax, 0x80000006
je 0x1400e1041
mov ecx, eax
call qword [0x14046aad0]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
cdqe
mov qword [rbx + 0x88], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15, r15
je 0x1400e1015
mov rcx, qword [r12 + r15*8 - 8]
dec r15
call fcn.1400d9a00
test r15, r15
jne 0x1400e1003
test r12, r12
je 0x1400e106e
mov rcx, r12
call fcn.1400d9a00
jmp 0x1400e106e
mov rbx, qword [rsp + 0x60]
mov rax, 0xfffffffffffff027
mov rsi, qword [rsp + 0x70]
mov dword [rbx + 0x14c], shutdown
jmp 0x1400e0fee
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x90], r12
test r12, r12
je 0x1400e105d
or dword [rbx + 0x148], 8
mov qword [rbx + 0x88], r15
mov dword [rbx + 0x170], 0
mov rdi, qword [rsp + 0x20e0]
mov rbp, qword [rsp + 0x20d8]
mov r13, qword [rsp + 0x20e8]
mov rcx, qword [rsp + 0x2090]
xor rcx, rsp
call fcn.14011ae70
add rsp, 0x20a0
pop r15
pop r14
pop r12
pop rsi
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov edi, dword [rcx + 0x188]
mov ebp, 0x10000
mov r15d, dword [rcx + 0x150]
mov r13, rcx
mov r12d, dword [rcx + 0x16c]
cmp rdi, rbp
mov r14, qword [rcx + 0x180]
cmovb ebp, edi
xor ebx, ebx
mov ecx, ebp
call fcn.1400d9bc0
mov rsi, rax
test rax, rax
je 0x1400e11a4
cmp r14, 0xffffffffffffffff
je 0x1400e1124
xor r8d, r8d
mov rdx, r14
mov ecx, r15d
call sub.api_ms_win_crt_stdio_l1_1_0.dll__lseeki64
cmp rax, 0xffffffffffffffff
je 0x1400e1170
test rdi, rdi
je 0x1400e1175
nop dword [rax]
mov r8d, ebp
cmp rdi, rbp
mov rdx, rsi
mov ecx, r15d
cmovb r8d, edi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
test eax, eax
je 0x1400e1175
cmp eax, 0xffffffff
je 0x1400e1170
movsxd rcx, eax
mov r8d, eax
sub rdi, rcx
mov rdx, rsi
mov ecx, r12d
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
cmp eax, 0xffffffff
je 0x1400e1170
add ebx, eax
test rdi, rdi
jne 0x1400e1130
jmp 0x1400e1175
mov ebx, 0xffffffff
mov rcx, rsi
call fcn.1400d9a00
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
movsxd rax, ebx
mov rbx, qword [rsp + 0x50]
mov qword [r13 + 0x88], rax
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rdx, str.uv__malloc
mov ecx, select
call fcn.1400ee7b0
int3
mov rdx, qword [rcx + 0x150]
mov r8, rcx
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400e11d1
cmp rax, 1
jbe 0x1400e1204
cmp word [rdx + rax*2 - 4], 0x3a
je 0x1400e1204
lea rcx, [rdx + rax*2]
movzx eax, word [rdx + rax*2 - 2]
cmp ax, 0x5c
je 0x1400e11fe
cmp ax, 0x2f
jne 0x1400e1204
xor eax, eax
mov word [rcx - 2], ax
xor edx, edx
mov rcx, r8
jmp 0x1400e1480
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rdi, [rcx + 0xa0]
mov rbx, rcx
mov rcx, qword [rcx + 0x150]
mov r8, rdi
mov esi, edx
call fcn.1400e1520
test eax, eax
je 0x1400e14fc
test esi, esi
je 0x1400e14d5
cmp eax, 0x5b8
je 0x1400e14c0
cmp eax, 0x1126
jne 0x1400e14d5
mov rcx, qword [rbx + 0x150]
mov r8, rdi
xor edx, edx
call fcn.1400e1520
test eax, eax
je 0x1400e14fc
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rbx + 0x90], rdi
mov qword [rbx + 0x88], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x48
mov rbx, qword [rcx + 0x150]
lea rax, [r11 + 0x20]
mov rsi, rcx
mov qword [r11 - 0x48], rax
mov rcx, rbx
lea r9, [r11 + 8]
lea r8, [r11 + 0x18]
lea rdx, [r11 + 0x10]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
xor ebp, ebp
test eax, eax
jne 0x1400e16d7
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 0x150]
cmp edi, 0x10b
jne 0x1400e177d
cmp rbx, rax
jne 0x1400e1782
mov ecx, 0x20a
mov edi, 0x105
call fcn.1400d9bc0
mov rbx, rax
test rax, rax
je 0x1400e167c
nop dword [rax + rax]
mov rcx, qword [rsi + 0x150]
lea r9, [rsp + 0x30]
mov r8, rbx
mov edx, edi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x1400e174e
mov eax, eax
cmp rax, rdi
jbe 0x1400e169a
lea rdx, [rax + rax]
mov rcx, rbx
mov edi, eax
call fcn.1400d9cc0
mov rbx, rax
test rax, rax
jne 0x1400e1640
mov dword [rsi + 0x14c], shutdown
mov qword [rsi + 0x88], 0xfffffffffffff027
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1400e16a7
mov word [rax], bp
lea rax, [rsp + 0x88]
mov rcx, rbx
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x1400e1600
cmp rbx, qword [rsi + 0x150]
je 0x1400e16e8
mov rcx, rbx
call fcn.1400d9a00
mov ecx, 0x58
call fcn.1400d9bc0
mov rcx, rax
test rax, rax
je 0x1400e167c
mov qword [rax], rbp
mov eax, dword [rsp + 0x78]
imul eax, dword [rsp + 0x80]
mov qword [rcx + 8], rax
mov eax, dword [rsp + 0x88]
mov qword [rcx + 0x10], rax
mov eax, dword [rsp + 0x70]
mov qword [rcx + 0x18], rax
mov eax, dword [rsp + 0x70]
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rbp
mov qword [rcx + 0x30], rbp
or dword [rsi + 0x148], 8
mov qword [rsi + 0x90], rcx
mov qword [rsi + 0x88], rbp
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, rbx
call fcn.1400d9a00
mov ecx, 0x10b
mov dword [rsi + 0x14c], 0x10b
call fcn.1400ee860
movsxd rcx, eax
mov qword [rsi + 0x88], rcx
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp rbx, rax
je 0x1400e178a
mov rcx, rbx
call fcn.1400d9a00
mov ecx, edi
mov dword [rsi + 0x14c], edi
call fcn.1400ee860
movsxd rcx, eax
mov qword [rsi + 0x88], rcx
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x150]
mov rbx, rcx
mov rcx, qword [rcx + 0x160]
mov r8d, dword [rbx + 0x168]
test r8b, 2
jne 0x1400e182d
mov edi, dword [reloc.WS2_32.dll_bind]
nop
mov eax, edi
or eax, 1
test r8b, 1
cmovne edi, eax
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_CreateSymbolicLinkW]
test al, al
jne 0x1400e1864
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1400e1842
test dil, 2
je 0x1400e1842
mov r8d, dword [rbx + 0x168]
xor edi, edi
mov rdx, qword [rbx + 0x150]
mov rcx, qword [rbx + 0x160]
mov dword [reloc.WS2_32.dll_bind], edi
test r8b, 2
je 0x1400e17e0
mov r8, rcx
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400debc0
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov qword [rbx + 0x88], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x150]
cmp ecx, 0xffffffff
jne 0x1400e18af
mov dword [rbx + 0x14c], 6
mov qword [rbx + 0x88], 0xfffffffffffff00d
add rsp, 0x20
pop rbx
ret
call sub.api_ms_win_crt_stdio_l1_1_0.dll__get_osfhandle
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x1400e18e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov qword [rbx + 0x88], 0
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140159cc0]
xor rax, rsp
mov qword [rsp + 0xb8], rax
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov rbx, rcx
mov dword [rsp + 0x28], 0x2200000
mov rcx, qword [rcx + 0x150]
mov edx, 0x10180
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400e197f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x1400e1a91
lea rdx, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x1400e199f
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400e1a71
mov eax, dword [rsp + 0x80]
test al, 0x10
je 0x1400e19f0
bt eax, 0xa
jb 0x1400e19c0
mov ecx, 5
mov dword [rbx + 0x14c], ecx
jmp 0x1400e1a79
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1400e0790
test eax, eax
jns 0x1400e19e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x5b8
mov ecx, 5
cmove eax, ecx
jmp 0x1400e1a71
mov eax, dword [rsp + 0x80]
test al, 1
je 0x1400e1a35
xor ecx, ecx
mov dword [rsp + 0x20], 4
xorps xmm0, xmm0
mov qword [rsp + 0x78], rcx
and eax, 0xfffffffe
lea r8, [rsp + 0x58]
or eax, 0x20
lea rdx, [rsp + 0x48]
lea r9d, [rcx + 0x28]
mov dword [rsp + 0x78], eax
mov rcx, rdi
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
call qword [0x14046aab8]
test eax, eax
js 0x1400e1a69
mov r9d, 1
mov byte [rsp + 0x40], 1
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], reloc.WS2_32.dll_listen
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [0x14046aab8]
test eax, eax
js 0x1400e1a69
mov qword [rbx + 0x40], 0
jmp 0x1400e1a88
mov ecx, eax
call qword [0x14046aad0]
mov dword [rbx + 0x14c], eax
mov ecx, eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14011ae70
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x60
movaps xmmword [rax - 0x18], xmm6
xor r9d, r9d
movsd xmm6, qword [rcx + 0x160]
mov rdi, rcx
mov qword [rax - 0x38], 0
mov edx, 0x100
movaps xmmword [rax - 0x28], xmm7
movsd xmm7, qword [rcx + 0x158]
lea r8d, [r9 + 7]
mov rcx, qword [rcx + 0x150]
mov dword [rax - 0x40], 0x2000000
mov dword [rax - 0x48], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400e1b2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1400e1b54
movaps xmm2, xmm6
movaps xmm1, xmm7
mov rcx, rsi
call fcn.1400e1ba0
test eax, eax
je 0x1400e1b49
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1400e1b4b
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1400e1b71
mov ecx, ebx
mov dword [rdi + 0x14c], ebx
call fcn.1400ee860
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x1400e1b7c
mov qword [rdi + 0x88], 0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x60
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov edi, edx
movaps xmmword [rsp + 0x40], xmm7
mov rbp, rcx
mov r15d, 0x2000000
xor r14d, r14d
mov rcx, qword [rbp + 0x150]
mov eax, 0x2200000
movsd xmm6, qword [rbp + 0x160]
test edi, edi
movsd xmm7, qword [rbp + 0x158]
mov edx, 0x100
cmove eax, r15d
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400e1ca8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1400e1cd0
movaps xmm2, xmm6
movaps xmm1, xmm7
mov rcx, rsi
call fcn.1400e1ba0
test eax, eax
je 0x1400e1cc4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1400e1cc7
mov ebx, r14d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1400e1d09
test edi, edi
je 0x1400e1cf0
cmp ebx, 0x5b8
je 0x1400e1ce8
cmp ebx, 0x1126
jne 0x1400e1cf0
mov edi, r14d
jmp 0x1400e1c50
mov ecx, ebx
mov dword [rbp + 0x14c], ebx
call fcn.1400ee860
movsxd rcx, eax
mov qword [rbp + 0x88], rcx
jmp 0x1400e1d10
mov qword [rbp + 0x88], r14
movaps xmm6, xmmword [rsp + 0x50]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
push rbp
push rsi
push rdi
sub rsp, 0x90
mov esi, dword [rcx + 0x150]
mov rdi, rcx
mov rbp, qword [rcx + 0x180]
cmp esi, 0xffffffff
jne 0x1400e1d80
mov qword [rcx + 0x88], 0xfffffffffffff00d
mov dword [rcx + 0x14c], 6
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0xc0], rbx
mov ecx, esi
mov qword [rsp + 0x80], r13
xor ebx, ebx
mov r13d, ebx
mov qword [rsp + 0x78], r14
call sub.api_ms_win_crt_stdio_l1_1_0.dll__get_osfhandle
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400e1dcb
lea ecx, [rbx + 6]
mov dword [rdi + 0x14c], 6
call fcn.1400ee860
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x1400e1eff
lea rdx, [rsp + 0x50]
mov ecx, esi
call fcn.1400e23e0
test eax, eax
je 0x1400e1df0
lea r8, [rsp + 0x50]
mov rdx, r14
mov rcx, rdi
call fcn.1400e1f20
jmp 0x1400e1eff
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x70], r15
cmp rbp, 0xffffffffffffffff
je 0x1400e1e3b
xorps xmm0, xmm0
lea r8, [rsp + 0xb8]
mov r9d, 1
lea r12, [rsp + 0x30]
mov rdx, rbx
mov rcx, r14
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400e1e3e
mov r13d, 1
jmp 0x1400e1e3e
mov r12, rbx
mov esi, ebx
cmp rbp, 0xffffffffffffffff
je 0x1400e1e57
mov eax, esi
add rax, rbp
mov dword [rsp + 0x40], eax
shr rax, 0x20
mov dword [rsp + 0x44], eax
mov rax, qword [rdi + 0x178]
lea r9, [rsp + 0xb0]
mov ecx, ebx
add rcx, rcx
mov qword [rsp + 0x20], r12
mov r8d, dword [rax + rcx*8]
mov rdx, qword [rax + rcx*8 + 8]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
add esi, dword [rsp + 0xb0]
inc ebx
mov r15d, eax
test eax, eax
je 0x1400e1e9a
cmp ebx, dword [rdi + 0x170]
jb 0x1400e1e40
mov r12, qword [rsp + 0x88]
test r13d, r13d
je 0x1400e1ebe
mov rdx, qword [rsp + 0xb8]
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test r15d, r15d
mov r15, qword [rsp + 0x70]
jne 0x1400e1ef6
test esi, esi
jne 0x1400e1ef6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x3ec
cmp eax, 5
cmove eax, ecx
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.1400ee860
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x1400e1eff
mov eax, esi
mov qword [rdi + 0x88], rax
mov r13, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xc0]
mov r14, qword [rsp + 0x78]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
add rcx, 0xfffffffffffffee0
mov eax, dword [rcx + 0x70]
dec eax
cmp eax, 0x23
ja case.default.0x1400e2639
lea r8, [0x140000000]
cdqe
mov edx, dword [r8 + rax*4 + 0xe26f0]
add rdx, r8
jmp rdx
jmp 0x1400dfb60
jmp 0x1400de7f0
jmp 0x1400e00b0
jmp 0x1400e1d40
jmp 0x1400dea00
jmp 0x1400e10b0
jmp 0x1400e11c0
jmp 0x1400df5e0
jmp 0x1400df190
jmp 0x1400df300
jmp 0x1400e1ac0
jmp 0x1400df4d0
jmp 0x1400df640
jmp 0x1400de6f0
jmp 0x1400de780
jmp 0x1400def30
jmp 0x1400df130
jmp 0x1400df130
jmp 0x1400e1900
jmp 0x1400e0cc0
jmp 0x1400df650
jmp 0x1400df6c0
jmp 0x1400df740
jmp 0x1400e0c60
jmp 0x1400e0d10
jmp 0x1400e0500
jmp 0x1400dff40
jmp 0x1400de9c0
jmp 0x1400df580
jmp 0x1400e17b0
jmp 0x1400e06a0
jmp 0x1400e0aa0
jmp 0x1400de7e0
jmp 0x1400de7e0
jmp 0x1400de7e0
jmp 0x1400e15c0
ret