Function at 0x1400a9640
Capabilities:
Copy file

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 0x1400a935e
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400b6650
movsxd rdx, eax
mov qword [rbx + 0x88], rdx
add rsp, 0x20
pop rbx
ret
test byte [rbx + 0x158], 2
je 0x1400a9391
and al, 0x11
cmp al, 1
jne 0x1400a9391
mov ecx, 0xfffff030
mov dword [rbx + 0x14c], 0xfffff030
call fcn.1400b6650
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 + 8], rbx
push rdi
sub rsp, 0x40
mov edi, dword [rcx + 0x150]
mov rbx, rcx
cmp edi, 0xffffffff
jne 0x1400a9598
mov qword [rcx + 0x88], 0xfffffffffffff00d
mov dword [rcx + 0x14c], 6
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
lea rdx, [rsp + 0x20]
mov ecx, edi
call fcn.1400ad270
test eax, eax
je 0x1400a95b9
mov rcx, qword [rsp + 0x28]
cmp rcx, 0xffffffffffffffff
je 0x1400a95b9
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp edi, 2
jle 0x1400a95ea
mov ecx, edi
call fcn.1400ffffc
cmp eax, 0xffffffff
jne 0x1400a95ea
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov qword [rbx + 0x88], 0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
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.1400a8720
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 0x1400a9677
mov qword [rcx + 0x88], 0xfffffffffffff02a
mov dword [rcx + 0x14c], 0x32
add rsp, 0x140
pop rbx
ret
mov rdx, qword [rcx + 0x160]
and r8d, 1
mov rcx, qword [rcx + 0x150]
call qword [sym.imp.KERNEL32.DLL_CopyFileW]
test eax, eax
je 0x1400a96a7
mov qword [rbx + 0x88], 0
add rsp, 0x140
pop rbx
ret
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
cmp rcx, 0xfffffffffffff00e
jne 0x1400a9805
mov rcx, qword [rbx + 0x150]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov edx, 0x80
mov qword [rsp + 0x150], rbp
mov dword [rsp + 0x28], 0x2000000
lea r8d, [r9 + 7]
mov qword [rsp + 0x158], rsi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x1400a9726
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
jmp 0x1400a9749
xor r8d, r8d
lea rdx, [rsp + 0xc0]
mov rcx, rbp
call fcn.1400abea0
test eax, eax
je 0x1400a9747
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
jmp 0x1400a9749
xor esi, esi
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
jne 0x1400a97f5
mov rcx, qword [rbx + 0x160]
lea r8d, [rsi + 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 rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x1400a979f
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
jmp 0x1400a97bf
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.1400abea0
test eax, eax
je 0x1400a97bd
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
jmp 0x1400a97bf
xor esi, esi
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
jne 0x1400a97f5
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0xc0], rax
jne 0x1400a97f5
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0xf0], rax
jne 0x1400a97f5
mov qword [rbx + 0x88], 0
mov rbp, qword [rsp + 0x150]
mov rsi, 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, 0x50
or r12, 0xffffffffffffffff
mov r13, r8
xor r14d, r14d
mov rsi, rdx
mov dword [rsp + 0x98], r14d
mov rbp, rcx
mov rdi, r12
inc rdi
cmp word [rdx + rdi*2], r14w
jne 0x1400a9841
mov ebx, 4
lea rdx, [0x1401936c0]
mov r8d, ebx
mov rcx, rsi
call fcn.140101718
test eax, eax
sete r14b
test r14d, r14d
jne 0x1400a98b9
cmp edi, 3
jl 0x1400a989f
movzx ecx, word [rsi]
lea eax, [rcx - 0x61]
cmp ax, 0x19
jbe 0x1400a9888
sub cx, 0x41
cmp cx, 0x19
ja 0x1400a989f
cmp word [rsi + 2], 0x3a
jne 0x1400a989f
movzx eax, word [rsi + 4]
cmp ax, 0x2f
je 0x1400a98b9
cmp ax, 0x5c
je 0x1400a98b9
mov qword [rbp + 0x88], 0xfffffffffffff019
mov dword [rbp + 0x14c], 0x32
jmp 0x1400a9b20
lea eax, [rdi*4 + 0x20]
mov qword [rsp + 0x80], r15
movsxd rcx, eax
call fcn.1400a8930
mov r15, rax
test rax, rax
je 0x1400a9b39
mov r8, rbx
lea rdx, [0x1401936b0]
lea rcx, [rax + 0x10]
call fcn.140101744
xor ecx, ecx
lea eax, [r14*4]
mov r9d, ecx
mov r11d, eax
lea r8, [rsi + rax*2]
lea r14d, [rcx + 0x5c]
cmp word [r8], cx
je 0x1400a995c
mov r10d, r11d
mov rdx, r8
movzx eax, word [rdx]
cmp ax, r14w
je 0x1400a9947
cmp ax, 0x2f
je 0x1400a9947
test r9d, r9d
je 0x1400a9935
movsxd rax, ebx
mov r9d, ecx
inc ebx
mov word [r15 + rax*2 + 0x10], r14w
movzx eax, word [rdx]
movsxd rcx, ebx
inc ebx
mov word [r15 + rcx*2 + 0x10], ax
xor ecx, ecx
jmp 0x1400a994d
mov r9d, 1
inc r10
cmp word [rsi + r10*2], 0
lea rdx, [rsi + r10*2]
jne 0x1400a9913
movsxd rax, ebx
mov edx, ecx
inc ebx
mov word [r15 + rax*2 + 0x10], r14w
movzx eax, bx
add ax, ax
mov word [r15 + 8], cx
mov word [r15 + 0xa], ax
movsxd rax, ebx
inc ebx
mov r9d, ebx
mov word [r15 + rax*2 + 0x10], cx
cmp word [r8], 0
je 0x1400a99d8
nop
movzx eax, word [r8]
cmp ax, r14w
je 0x1400a99c4
cmp ax, 0x2f
je 0x1400a99c4
test edx, edx
je 0x1400a99b1
movsxd rax, ebx
mov edx, ecx
inc ebx
mov word [r15 + rax*2 + 0x10], r14w
movzx eax, word [r8]
movsxd rcx, ebx
inc ebx
mov word [r15 + rcx*2 + 0x10], ax
xor ecx, ecx
jmp 0x1400a99c9
mov edx, 1
inc r11
cmp word [rsi + r11*2], 0
lea r8, [rsi + r11*2]
jne 0x1400a9990
mov eax, ebx
sub eax, r9d
cmp eax, 2
jne 0x1400a99f2
movsxd rax, ebx
inc ebx
mov word [r15 + rax*2 + 0x10], r14w
mov eax, 3
add ax, ax
add r9w, r9w
mov word [r15 + 0xe], ax
xor edx, edx
movsxd rax, ebx
lea ebx, [rbx*2 + 0x12]
mov word [r15 + 0xc], r9w
mov word [r15 + rax*2 + 0x10], cx
lea eax, [rbx - 8]
mov word [r15 + 6], cx
mov rcx, r13
mov word [r15 + 4], ax
mov dword [r15], 0xa0000003
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x1400a9a52
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rbp + 0x14c], eax
call fcn.1400b6650
mov edi, dword [rsp + 0x98]
jmp 0x1400a9ad0
xor r14d, r14d
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov dword [rsp + 0x28], 0x2200000
mov edx, 0x40000000
mov rcx, r13
mov dword [rsp + 0x20], 3
mov edi, 1
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1400a9abd
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov r9d, ebx
mov dword [rsp + 0x28], r14d
mov r8, r15
mov edx, 0x900a4
mov qword [rsp + 0x20], r14
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
jne 0x1400a9b00
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rbp + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rbp + 0x88], rcx
mov rcx, r15
call fcn.1400a8720
cmp r12, 0xffffffffffffffff
je 0x1400a9af1
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test edi, edi
je 0x1400a9b18
mov rcx, r13
call qword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
jmp 0x1400a9b18
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, r15
call fcn.1400a8720
mov qword [rbp + 0x88], r14
mov r15, qword [rsp + 0x80]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
lea rdx, str.uv__malloc
mov ecx, select
call fcn.1400b65a0
int3
push rbx
sub rsp, 0x70
mov rax, qword [0x1401e7270]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov ecx, dword [rcx + 0x150]
cmp ecx, 0xffffffff
jne 0x1400a9b9b
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400d5050
add rsp, 0x70
pop rbx
ret
mov qword [rsp + 0x90], rdi
call fcn.1400ff864
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 0x1400a9be7
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x1400a9d2d
mov r9d, 0x28
mov dword [rsp + 0x20], 4
lea r8, [rsp + 0x40]
mov rcx, rdi
lea rdx, [rsp + 0x30]
call qword [0x1404bae78]
test eax, eax
jns 0x1400a9c30
mov ecx, eax
call qword [0x1404bae88]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x1400a9d24
mov ecx, dword [rsp + 0x60]
mov qword [rsp + 0x88], rsi
test cl, 0x20
jne 0x1400a9c7c
or ecx, 0x20
mov dword [rsp + 0x20], 4
mov dword [rsp + 0x60], ecx
lea r8, [rsp + 0x40]
mov rcx, rdi
lea rdx, [rsp + 0x30]
mov r9d, 0x28
call qword [0x1404bae70]
test eax, eax
js 0x1400a9cf3
mov ecx, dword [rsp + 0x60]
mov esi, 1
jmp 0x1400a9c7e
xor esi, esi
mov eax, ecx
mov dword [rsp + 0x20], 4
or ecx, 1
lea r8, [rsp + 0x40]
and eax, 0xfffffffe
lea rdx, [rsp + 0x30]
test byte [rbx + 0x158], 0x80
mov r9d, 0x28
cmovne ecx, eax
mov dword [rsp + 0x60], ecx
mov rcx, rdi
call qword [0x1404bae70]
test eax, eax
js 0x1400a9cf3
test esi, esi
je 0x1400a9d14
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 [0x1404bae70]
test eax, eax
jns 0x1400a9d14
mov ecx, eax
call qword [0x1404bae88]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x1400a9d1c
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.1400d5050
add rsp, 0x70
pop rbx
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x150]
cmp ecx, 0xffffffff
jne 0x1400a9d7f
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
add rsp, 0x20
pop rbx
ret
call fcn.1400ff864
cmp rax, 0xffffffffffffffff
jne 0x1400a9dac
lea ecx, [rax + 7]
mov dword [rbx + 0x14c], 6
call fcn.1400b6650
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x30], rdi
xor r8d, r8d
lea rdi, [rbx + 0xa0]
mov rcx, rax
mov rdx, rdi
call fcn.1400abea0
test eax, eax
je 0x1400a9df2
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400b6650
mov rdi, qword [rsp + 0x30]
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov qword [rbx + 0x90], rdi
mov rdi, qword [rsp + 0x30]
mov qword [rbx + 0x88], 0
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov edi, dword [rcx + 0x150]
xor eax, eax
xor r14d, r14d
mov qword [rbp - 0x1c], rax
mov dword [rbp - 0x20], r14d
mov rbx, rcx
mov qword [rbp - 0x14], rax
mov qword [rbp - 0xc], rax
mov dword [rbp - 4], eax
cmp edi, 0xffffffff
jne 0x1400a9e6c
mov qword [rcx + 0x88], 0xfffffffffffff00d
mov dword [rcx + 0x14c], 6
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop rdi
pop rbp
ret
mov ecx, edi
mov qword [rsp + 0x88], rsi
call fcn.1400ff864
lea rdx, [rbp - 0x20]
mov ecx, edi
mov rsi, rax
call fcn.1400ad160
test eax, eax
je 0x1400a9ec6
cmp byte [rbp - 0x1c], r14b
je 0x1400a9eb6
mov ecx, 5
mov dword [rbx + 0x14c], 5
call fcn.1400b6650
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x1400a9fc3
mov rcx, qword [rbp - 0x18]
cmp rcx, 0xffffffffffffffff
je 0x1400a9ec6
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rax, qword [rbx + 0x180]
lea r8, [rbp + 0x20]
mov r9d, 8
mov qword [rbp + 0x20], rax
lea rdx, [rbp - 0x30]
mov dword [rsp + 0x20], socket
mov rcx, rsi
call qword [0x1404bae70]
test eax, eax
js 0x1400a9f79
mov edx, dword [rbp - 0x20]
mov qword [rbx + 0x88], r14
test edx, edx
je 0x1400a9fc3
mov rax, qword [rbp + 0x20]
mov qword [rbp - 0x10], rax
test rax, rax
jne 0x1400a9f24
mov qword [rbp - 0x18], 0xffffffffffffffff
jmp 0x1400a9fb8
mov r9, rax
mov qword [rsp + 0x28], r14
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 [rbp - 0x18], rax
test rax, rax
jne 0x1400a9fb8
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400b6650
movsxd rdx, eax
mov qword [rbx + 0x88], rdx
jmp 0x1400a9f9e
mov ecx, eax
call qword [0x1404bae88]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
cmp dword [rbp - 0x20], r14d
je 0x1400a9fc3
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
movdqa xmm0, xmmword [0x1401bc750]
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r14
lea rdx, [rbp - 0x20]
mov ecx, edi
call fcn.1400ad020
mov rsi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop rdi
pop rbp
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x150]
cmp ecx, 0xffffffff
jne 0x1400aa00f
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
add rsp, 0x20
pop rbx
ret
call fcn.1400ff864
cmp rax, 0xffffffffffffffff
jne 0x1400aa03c
lea ecx, [rax + 7]
mov dword [rbx + 0x14c], 6
call fcn.1400b6650
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.1400ac830
test eax, eax
je 0x1400aa07b
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400b6650
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 + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
or rax, 0xffffffffffffffff
mov rcx, qword [rcx + 0x150]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400aa0b2
xor ebp, ebp
cmp rax, 1
jbe 0x1400aa0e5
cmp word [rcx + rax*2 - 4], 0x3a
je 0x1400aa0e5
lea rdx, [rcx + rax*2]
movzx eax, word [rcx + rax*2 - 2]
cmp ax, 0x5c
je 0x1400aa0e1
cmp ax, 0x2f
jne 0x1400aa0e5
mov word [rdx - 2], bp
mov rcx, qword [rdi + 0x150]
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov edx, 0x80
mov dword [rsp + 0x28], 0x2200000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400aa126
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
jmp 0x1400aa14b
lea rdx, [rdi + 0xa0]
mov r8d, 1
mov rcx, rsi
call fcn.1400abea0
test eax, eax
je 0x1400aa149
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
jmp 0x1400aa14b
mov ebx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test ebx, ebx
je 0x1400aa18d
cmp ebx, 0x5b8
je 0x1400aa181
cmp ebx, 0x1126
je 0x1400aa181
mov ecx, ebx
mov dword [rdi + 0x14c], ebx
call fcn.1400b6650
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x1400aa1a2
xor edx, edx
mov rcx, rdi
call fcn.1400ac110
jmp 0x1400aa1a2
lea rax, [rdi + 0xa0]
mov qword [rdi + 0x88], rbp
mov qword [rdi + 0x90], rax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
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], 0x2200000
mov dword [rax - 0x48], 3
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400aa22d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
jmp 0x1400aa24b
movaps xmm2, xmm6
movaps xmm1, xmm7
mov rcx, rsi
call fcn.1400ac830
test eax, eax
je 0x1400aa249
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
jmp 0x1400aa24b
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test ebx, ebx
je 0x1400aa28d
cmp ebx, 0x5b8
je 0x1400aa281
cmp ebx, 0x1126
je 0x1400aa281
mov ecx, ebx
mov dword [rdi + 0x14c], ebx
call fcn.1400b6650
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x1400aa298
xor edx, edx
mov rcx, rdi
call fcn.1400ac8f0
jmp 0x1400aa298
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
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 0x1400aa2ed
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.1400b6650
cmp dword [rbx + 0x14c], 0x7b
movsxd rcx, eax
mov rax, 0xfffffffffffff019
cmove rcx, rax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
push rbx
push rbp
push rdi
push r14
sub rsp, 0x28
mov r14, qword [rcx + 0x98]
or rbx, 0xffffffffffffffff
mov rdi, rcx
mov rax, rbx
mov rcx, qword [rcx + 0x150]
mov rbp, rdx
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400aa505
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x20], r15
cmp rax, 6
jb 0x1400aa78f
lea r15, [rcx + rax*2]
mov r8d, 6
lea rcx, [r15 - 0xc]
lea rdx, str.XXXXXX
call fcn.140101718
test eax, eax
jne 0x1400aa78f
mov esi, 0x7fffffff
movabs r12, 0x842108421084211
nop dword [rax]
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.1400ae9b0
test eax, eax
js 0x1400aa778
mov rcx, qword [rsp + 0x50]
mov rax, r12
mul rcx
mov r8, qword [str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
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, rdi
call rbp
test eax, eax
jne 0x1400aa74c
add esi, 0xffffffff
jne 0x1400aa560
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x1400aa7a4
cmp qword [rdi + 0x88], 0
jl 0x1400aa7a8
inc rbx
cmp byte [r14 + rbx], 0
jne 0x1400aa756
lea rcx, [r14 - 6]
mov r8d, 6
add rcx, rbx
lea rdx, [r15 - 0xc]
call fcn.1400ffebc
jmp 0x1400aa7a8
mov qword [rdi + 0x88], 0xfffffffffffff01a
mov dword [rdi + 0x14c], 0x45d
jmp 0x1400aa7a4
mov qword [rdi + 0x88], 0xfffffffffffff019
mov dword [rdi + 0x14c], 0x57
mov byte [r14], 0
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
add rsp, 0x28
pop r14
pop rdi
pop rbp
pop rbx
ret
push rbx
push rsi
push rdi
push r15
sub rsp, 0x88
mov rax, qword [0x1401e7270]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov ebx, dword [rcx + 0x168]
xor r15d, r15d
mov rdi, rcx
bt ebx, 0x1d
jae 0x1400aa820
mov eax, ebx
mov dword [rsp + 0x40], ebx
and al, 3
mov qword [rsp + 0x58], r15
cmp al, 1
jne 0x1400aa815
and ebx, 0xfffffffe
or ebx, 2
test bl, 8
je 0x1400aa820
and ebx, 0xfffffff6
or ebx, 2
mov qword [rsp + 0xc0], r12
xor ecx, ecx
mov qword [rsp + 0x80], r14
call fcn.14010f930
mov ecx, eax
mov esi, eax
call fcn.14010f930
mov edx, ebx
and edx, 3
je 0x1400aa863
sub edx, 1
je 0x1400aa85c
cmp edx, 1
jne 0x1400aa984
mov edx, 0x12019f
jmp 0x1400aa868
mov edx, 0x120116
jmp 0x1400aa868
mov edx, 0x120089
test bl, 8
je 0x1400aa873
and edx, 0xfffffffd
or edx, 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 0x1400aa8d2
test eax, 0xfffffbff
je 0x1400aa8ca
cmp eax, 0x100
je 0x1400aa8c5
cmp eax, 0x200
je 0x1400aa94c
cmp eax, 0x300
jne 0x1400aa984
mov r9d, r12d
jmp 0x1400aa8f1
mov r9d, r14d
jmp 0x1400aa8f1
mov r9d, 3
jmp 0x1400aa8f1
cmp eax, 0x500
je 0x1400aa8eb
cmp eax, 0x600
je 0x1400aa94c
cmp eax, 0x700
jne 0x1400aa984
mov r9d, 1
mov r8d, 0x80
bt ebx, 8
jae 0x1400aa913
not sil
mov eax, 0x81
and sil, byte [rdi + 0x158]
test r8b, sil
cmove r8d, eax
test bl, 0x40
je 0x1400aa923
or r8d, 0x4000100
bts edx, 0x10
mov ecx, r8d
mov eax, ebx
bts ecx, 8
and eax, 0x1000
mov eax, ebx
cmove ecx, r8d
and eax, 0x30
je 0x1400aa958
cmp eax, 0x10
je 0x1400aa954
cmp eax, 0x20
jne 0x1400aa984
bts ecx, 0x1b
jmp 0x1400aa958
mov r9d, 5
jmp 0x1400aa8f1
bts ecx, 0x1c
bt ebx, 0x19
jae 0x1400aa96f
test r14b, dl
je 0x1400aa96b
test r12b, dl
je 0x1400aa984
and edx, 0xfffffffb
bts ecx, 0x1d
mov eax, ebx
and eax, 0xc000000
je 0x1400aa9a2
add eax, 0xfc000000
test eax, 0xfbffffff
je 0x1400aa99e
mov qword [rdi + 0x88], 0xfffffffffffff019
mov dword [rdi + 0x14c], 0x57
jmp 0x1400aaadf
bts ecx, 0x1f
bts ecx, 0x19
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], ecx
mov r8d, r10d
mov rcx, qword [rdi + 0x150]
mov dword [rsp + 0x20], r9d
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400aaa21
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x50
jne 0x1400aa9ff
and ebx, 0x500
cmp ebx, 0x100
jne 0x1400aa9ff
mov qword [rdi + 0x88], 0xfffffffffffff01c
mov dword [rdi + 0x14c], eax
jmp 0x1400aaadf
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x1400aaadf
mov edx, ebx
mov qword [rsp + 0xb8], rbp
mov rcx, rsi
call fcn.1400ff8dc
movsxd rbp, eax
test eax, eax
jns 0x1400aaa83
call fcn.1400fdf94
cmp dword [rax], 0x18
jne 0x1400aaa61
mov rcx, rsi
mov qword [rdi + 0x88], 0xfffffffffffff01e
mov dword [rdi + 0x14c], r14d
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x1400aaad7
call qword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x1400aab59
mov dword [rdi + 0x14c], 0xfffff002
mov ecx, 0xfffff002
jmp 0x1400aab67
bt ebx, 0x1d
jae 0x1400aaad0
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 0x1400aab59
movzx eax, byte [rsp + 0x75]
mov byte [rsp + 0x44], al
test al, al
je 0x1400aab09
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], 0xffffffffffffffff
lea rdx, [rsp + 0x40]
mov ecx, ebp
call fcn.1400ad020
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.1400d5050
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 0x1400aab59
cmp qword [rsp + 0x50], r15
je 0x1400aaabb
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 0x1400aaac4
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x1400aaad7
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 rbp, qword [rcx + 0x150]
mov rdi, rcx
mov rcx, rbp
xor esi, esi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
test al, 0x10
jne 0x1400aabdb
mov qword [rdi + 0x88], 0xfffffffffffff02c
mov dword [rdi + 0x14c], 0x10b
jmp 0x1400aacb7
mov ecx, 0x290
call fcn.1400a8930
mov rsi, rax
test rax, rax
jne 0x1400aac07
mov qword [rdi + 0x88], 0xfffffffffffff027
mov dword [rdi + 0x14c], socket
jmp 0x1400aacb7
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rbp + rbx*2], 0
jne 0x1400aac10
test rbx, rbx
jne 0x1400aac29
lea r14, [0x1401937a0]
jmp 0x1400aac48
movzx eax, word [rbp + rbx*2 - 2]
cmp ax, 0x5c
je 0x1400aac41
lea r14, [0x1401937b0]
cmp ax, 0x2f
jne 0x1400aac48
lea r14, [0x1401937a8]
lea rcx, [rbx*2 + 8]
call fcn.1400a8930
mov r15, rax
test rax, rax
je 0x1400aabed
lea rdx, [rbx + 3]
mov r9, rbp
mov r8, r14
mov rcx, rax
call fcn.1400a92c0
lea rdx, [rsi + 0x38]
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov rcx, r15
mov qword [rsi + 0x30], rax
call fcn.1400a8720
cmp qword [rsi + 0x30], 0xffffffffffffffff
jne 0x1400aacd3
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
je 0x1400aacd3
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
mov rcx, rsi
call fcn.1400a8720
xor ecx, ecx
call fcn.1400a8720
mov qword [rdi + 0x90], 0
jmp 0x1400aacef
mov dword [rsi + 0x288], 0
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0x88], 0
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 0x1400aad50
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.1400ad160
test eax, eax
je 0x1400aad78
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400aaf00
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 fcn.1400ff864
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x1400aadc3
lea ecx, [rbx + 6]
mov dword [rdi + 0x14c], 6
call fcn.1400b6650
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x1400aaed9
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x78], r14
cmp rbp, 0xffffffffffffffff
je 0x1400aae15
xor eax, eax
lea r8, [rsp + 0xb8]
mov rdx, rbx
mov qword [rsp + 0x30], rax
mov rcx, r15
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea r12, [rsp + 0x30]
lea r9d, [rax + 1]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
test eax, eax
je 0x1400aae18
mov r13d, 1
jmp 0x1400aae18
mov r12, rbx
mov esi, ebx
nop word [rax + rax]
cmp rbp, 0xffffffffffffffff
je 0x1400aae37
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 0x1400aae7a
cmp ebx, dword [rdi + 0x170]
jb 0x1400aae20
mov r12, qword [rsp + 0x88]
test r13d, r13d
je 0x1400aae9e
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 0x1400aaed0
test esi, esi
jne 0x1400aaed0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x26
je 0x1400aaed0
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x1400aaed9
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 [0x1401e7270]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rdi, qword [rcx + 0x90]
mov r15, rcx
or dword [rcx + 0x148], 8
xor edx, edx
mov rbx, qword [rdi]
mov r8, qword [rdi + 8]
mov rcx, rbx
shl r8, 4
call fcn.1400f62a0
xor r12d, r12d
mov ebp, r12d
cmp qword [rdi + 8], rbp
jbe 0x1400ab259
lea r13d, [r12 + 6]
cmp dword [rdi + 0x288], r12d
je 0x1400ab1c5
mov rcx, qword [rdi + 0x30]
lea rdx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x1400ab28c
cmp word [rdi + 0x64], 0x2e
lea rcx, [rdi + 0x64]
jne 0x1400ab1e6
movzx eax, word [rdi + 0x66]
test ax, ax
je 0x1400ab243
cmp ax, 0x2e
jne 0x1400ab1e6
cmp word [rdi + 0x68], r12w
je 0x1400ab243
mov r14d, ebp
or edx, 0xffffffff
shl r14, 4
add r14, rbx
mov r8, r14
call fcn.1400ae820
test eax, eax
jne 0x1400ab297
mov eax, dword [rdi + 0x38]
test al, 0x10
je 0x1400ab214
mov dword [rsp + 0x20], 2
jmp 0x1400ab233
bt eax, 0xa
jae 0x1400ab224
mov dword [rsp + 0x20], 3
jmp 0x1400ab233
test al, 0x40
mov eax, 1
cmovne eax, r13d
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x20]
call fcn.1400a8750
mov dword [r14 + 8], eax
inc ebp
mov eax, ebp
mov dword [rdi + 0x288], 1
cmp rax, qword [rdi + 8]
jb 0x1400ab1a6
mov eax, ebp
mov qword [r15 + 0x88], rax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400d5050
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 0x1400ab259
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [r15 + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [r15 + 0x88], rcx
test ebp, ebp
je 0x1400ab262
mov edi, ebp
nop dword [rax + rax]
mov rcx, qword [rbx]
call fcn.1400a8720
mov qword [rbx], r12
lea rbx, [rbx + 0x10]
sub rdi, 1
jne 0x1400ab2c0
jmp 0x1400ab262
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], 0x2200000
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400ab34c
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
lea rdx, [rbx + 0x90]
xor r8d, r8d
mov rcx, rdi
call fcn.1400ab3b0
test eax, eax
je 0x1400ab381
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x1400ab393
or dword [rbx + 0x148], 8
mov qword [rbx + 0x88], 0
mov rcx, rdi
mov rbx, qword [rsp + 0x50]
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 0x1400ab702
lea rdx, [rbx + 0x90]
mov rcx, rax
call fcn.1400ab750
mov rcx, rdi
cmp rax, 0xffffffffffffffff
jne 0x1400ab72a
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400b6650
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 rbx, rcx
mov rcx, qword [rcx + 0x150]
call fcn.1400ffec4
cmp eax, 0xffffffff
jne 0x1400ab89c
call fcn.1400fdf74
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.1400b6650
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
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2090
call fcn.1400d5d80
sub rsp, rax
mov rax, qword [0x1401e7270]
xor rax, rsp
mov qword [rsp + 0x2088], rax
xor ebp, ebp
mov qword [rsp + 0x68], rcx
mov rbx, rcx
mov qword [rsp + 0x30], rbp
mov rcx, qword [rcx + 0x150]
xor r9d, r9d
mov dword [rsp + 0x28], 0x2000000
mov edx, 0x100001
lea r8d, [rbp + 7]
mov qword [rsp + 0x60], rbp
mov edi, ebp
mov dword [rsp + 0x20], 3
mov r14d, ebp
mov r12d, ebp
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov qword [rsp + 0x70], rax
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400abbfc
mov byte [rsp + 0x50], 1
lea rax, [rsp + 0x88]
mov qword [rsp + 0x48], rbp
xor r9d, r9d
mov byte [rsp + 0x40], dil
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 + 0x78]
mov qword [rsp + 0x20], rax
call qword [0x1404bae60]
cmp eax, 0xc000000d
jne 0x1400ab9a6
mov qword [rbx + 0x88], 0xfffffffffffff02c
mov dword [rbx + 0x14c], 0x10b
jmp 0x1400abc19
test eax, eax
js 0x1400abb90
nop
lea rsi, [rsp + 0x88]
mov r13, rbp
nop dword [rax + rax]
add rsi, r13
mov ebx, dword [rsi + 0x3c]
shr rbx, 1
mov r13d, dword [rsi]
je 0x1400ab9e6
lea rax, [rbx + 0x1f]
lea rax, [rsi + rax*2]
cmp word [rax], 0
jne 0x1400ab9e6
sub rax, 2
sub rbx, 1
jne 0x1400ab9d6
test rbx, rbx
je 0x1400abb0a
cmp rbx, 1
jne 0x1400ab9fc
cmp word [rsi + 0x40], 0x2e
jmp 0x1400aba0e
cmp rbx, 2
jne 0x1400aba14
cmp word [rsi + 0x40], 0x2e
jne 0x1400aba14
cmp word [rsi + 0x42], 0x2e
je 0x1400abb0a
mov qword [rsp + 0x38], rbp
lea r8, [rsi + 0x40]
mov qword [rsp + 0x30], rbp
mov r9d, ebx
mov dword [rsp + 0x28], ebp
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
movsxd rbp, eax
test eax, eax
je 0x1400abbf7
cmp r12, r14
jb 0x1400aba79
test r14, r14
jne 0x1400aba58
mov r14d, 0x20
jmp 0x1400aba5b
add r14, r14
lea rdx, [r14*8]
mov rcx, rdi
call fcn.1400a89f0
test rax, rax
je 0x1400abbab
mov qword [rsp + 0x60], rax
lea rcx, [rbp + 8]
call fcn.1400a8930
mov rdi, rax
test rax, rax
je 0x1400abba6
mov rax, qword [rsp + 0x60]
lea rcx, [rdi + 4]
mov r9d, ebx
lea r8, [rsi + 0x40]
xor edx, edx
mov qword [rax + r12*8], rdi
xor eax, eax
mov qword [rsp + 0x38], rax
inc r12
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rcx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
test eax, eax
je 0x1400abbf2
mov byte [rdi + rbp + 4], 0
mov eax, dword [rsi + 0x38]
test al, 0x40
je 0x1400abae5
mov dword [rdi], 6
xor ebp, ebp
jmp 0x1400abb05
bt eax, 0xa
jae 0x1400abaf5
mov dword [rdi], 3
xor ebp, ebp
jmp 0x1400abb05
test al, 0x10
mov ebp, 0
mov eax, ebp
setne al
inc eax
mov dword [rdi], eax
mov rdi, qword [rsp + 0x60]
test r13, r13
jne 0x1400ab9c0
mov rsi, qword [rsp + 0x70]
lea rax, [rsp + 0x88]
mov byte [rsp + 0x50], r13b
xor r9d, r9d
mov qword [rsp + 0x48], rbp
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 + 0x78]
mov qword [rsp + 0x20], rax
call qword [0x1404bae60]
test eax, eax
jne 0x1400abb85
cmp qword [rsp + 0x80], r13
jne 0x1400ab9b0
mov eax, 0x80000005
mov ecx, eax
call qword [0x1404bae88]
mov rbx, qword [rsp + 0x68]
jmp 0x1400abc02
jns 0x1400ab9b0
mov rbx, qword [rsp + 0x68]
cmp eax, 0x80000006
je 0x1400abbc7
mov ecx, eax
call qword [0x1404bae88]
mov rbx, qword [rsp + 0x68]
jmp 0x1400abc02
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov qword [rbx + 0x88], 0xfffffffffffff027
mov dword [rbx + 0x14c], socket
jmp 0x1400abc19
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rbx + 0x90], rdi
test rdi, rdi
je 0x1400abbe3
or dword [rbx + 0x148], 8
mov qword [rbx + 0x88], r12
mov dword [rbx + 0x170], ebp
jmp 0x1400abc4f
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x1400abc2a
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test r12, r12
je 0x1400abc42
nop
mov rcx, qword [rdi + r12*8 - 8]
dec r12
call fcn.1400a8720
test r12, r12
jne 0x1400abc30
test rdi, rdi
je 0x1400abc4f
mov rcx, rdi
call fcn.1400a8720
mov rcx, qword [rsp + 0x2088]
xor rcx, rsp
call fcn.1400d5050
lea r11, [rsp + 0x2090]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
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.1400a8930
mov rsi, rax
test rax, rax
je 0x1400abd72
cmp r14, 0xffffffffffffffff
je 0x1400abcf4
xor r8d, r8d
mov rdx, r14
mov ecx, r15d
call fcn.140101708
cmp rax, 0xffffffffffffffff
je 0x1400abd40
test rdi, rdi
je 0x1400abd43
nop dword [rax]
mov r8d, ebp
cmp rdi, rbp
mov rdx, rsi
mov ecx, r15d
cmovb r8d, edi
call fcn.14010068c
test eax, eax
je 0x1400abd43
cmp eax, 0xffffffff
je 0x1400abd40
movsxd rcx, eax
mov r8d, eax
sub rdi, rcx
mov rdx, rsi
mov ecx, r12d
call fcn.1401011ac
cmp eax, 0xffffffff
je 0x1400abd40
add ebx, eax
test rdi, rdi
jne 0x1400abd00
jmp 0x1400abd43
or ebx, 0xffffffff
mov rcx, rsi
call fcn.1400a8720
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.1400b65a0
int3
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
or rax, 0xffffffffffffffff
mov rcx, qword [rcx + 0x150]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400abdb2
xor ebp, ebp
cmp rax, 1
jbe 0x1400abde5
cmp word [rcx + rax*2 - 4], 0x3a
je 0x1400abde5
lea rdx, [rcx + rax*2]
movzx eax, word [rcx + rax*2 - 2]
cmp ax, 0x5c
je 0x1400abde1
cmp ax, 0x2f
jne 0x1400abde5
mov word [rdx - 2], bp
mov rcx, qword [rbx + 0x150]
xor r9d, r9d
mov qword [rsp + 0x30], rbp
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 0x1400abe26
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
jmp 0x1400abe48
lea rdx, [rbx + 0xa0]
xor r8d, r8d
mov rcx, rsi
call fcn.1400abea0
test eax, eax
je 0x1400abe46
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
jmp 0x1400abe48
mov edi, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test edi, edi
je 0x1400abe6e
mov ecx, edi
mov dword [rbx + 0x14c], edi
call fcn.1400b6650
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x1400abe83
lea rax, [rbx + 0xa0]
mov qword [rbx + 0x88], rbp
mov qword [rbx + 0x90], rax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
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 0x1400ac367
nop dword [rax]
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
mov rax, qword [rsi + 0x150]
cmp edi, 0x10b
jne 0x1400ac40d
cmp rbx, rax
jne 0x1400ac412
mov ecx, 0x20a
mov edi, 0x105
call fcn.1400a8930
mov rbx, rax
test rax, rax
je 0x1400ac30c
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 0x1400ac3de
mov eax, eax
cmp rax, rdi
jbe 0x1400ac32a
lea rdx, [rax + rax]
mov rcx, rbx
mov edi, eax
call fcn.1400a8a40
mov rbx, rax
test rax, rax
jne 0x1400ac2d0
mov qword [rsi + 0x88], 0xfffffffffffff027
mov dword [rsi + 0x14c], socket
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1400ac337
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 0x1400ac290
cmp rbx, qword [rsi + 0x150]
je 0x1400ac378
mov rcx, rbx
call fcn.1400a8720
mov ecx, 0x58
call fcn.1400a8930
mov rcx, rax
test rax, rax
je 0x1400ac30c
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.1400a8720
mov ecx, 0x10b
mov dword [rsi + 0x14c], 0x10b
call fcn.1400b6650
movsxd rcx, eax
mov qword [rsi + 0x88], rcx
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp rbx, rax
je 0x1400ac41a
mov rcx, rbx
call fcn.1400a8720
mov ecx, edi
mov dword [rsi + 0x14c], edi
call fcn.1400b6650
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
test byte [rcx + 0x168], 2
mov rdi, rcx
mov rdx, qword [rcx + 0x150]
mov rax, qword [rcx + 0x160]
jne 0x1400ac4bb
mov ebx, dword [reloc.WS2_32.dll_bind]
nop word [rax + rax]
test byte [rdi + 0x168], 1
je 0x1400ac47c
or ebx, 1
mov r8d, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_CreateSymbolicLinkW]
test al, al
jne 0x1400ac4f2
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x57
jne 0x1400ac4d0
test bl, 2
je 0x1400ac4d0
mov rdx, qword [rdi + 0x150]
xor ebx, ebx
test byte [rdi + 0x168], 2
mov rax, qword [rdi + 0x160]
mov dword [reloc.WS2_32.dll_bind], ebx
je 0x1400ac470
mov r8, rax
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400a9810
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov qword [rdi + 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 0x1400ac53f
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
add rsp, 0x20
pop rbx
ret
call fcn.1400ff864
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_FlushFileBuffers]
neg eax
sbb ecx, ecx
neg ecx
dec ecx
cmp ecx, 0xffffffff
jne 0x1400ac57d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
movsxd rax, ecx
mov qword [rbx + 0x88], rax
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1401e7270]
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 0x1400ac60f
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x1400ac728
lea rdx, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetFileInformationByHandle]
test eax, eax
jne 0x1400ac62f
call qword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x1400ac708
mov eax, dword [rsp + 0x80]
test al, 0x10
je 0x1400ac680
bt eax, 0xa
jb 0x1400ac650
mov ecx, 5
mov dword [rbx + 0x14c], ecx
jmp 0x1400ac710
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1400ab3b0
test eax, eax
jns 0x1400ac679
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x5b8
mov ecx, 5
cmove eax, ecx
jmp 0x1400ac708
mov eax, dword [rsp + 0x80]
test al, 1
je 0x1400ac6cc
xor ecx, ecx
mov dword [rsp + 0x20], 4
mov qword [rsp + 0x78], rcx
lea r8, [rsp + 0x58]
and eax, 0xfffffffe
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rcx
lea rdx, [rsp + 0x48]
lea r9d, [rcx + 0x28]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rcx
or eax, 0x20
mov rcx, rdi
mov dword [rsp + 0x78], eax
call qword [0x1404bae70]
test eax, eax
js 0x1400ac700
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 [0x1404bae70]
test eax, eax
js 0x1400ac700
mov qword [rbx + 0x40], 0
jmp 0x1400ac71f
mov ecx, eax
call qword [0x1404bae88]
mov dword [rbx + 0x14c], eax
mov ecx, eax
call fcn.1400b6650
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.1400d5050
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 0x1400ac7bd
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
jmp 0x1400ac7db
movaps xmm2, xmm6
movaps xmm1, xmm7
mov rcx, rsi
call fcn.1400ac830
test eax, eax
je 0x1400ac7d9
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
jmp 0x1400ac7db
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test ebx, ebx
je 0x1400ac801
mov ecx, ebx
mov dword [rdi + 0x14c], ebx
call fcn.1400b6650
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x1400ac80c
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
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 0x1400acb50
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 fcn.1400ff864
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400acb9b
lea ecx, [rbx + 6]
mov dword [rdi + 0x14c], 6
call fcn.1400b6650
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x1400acccb
lea rdx, [rsp + 0x50]
mov ecx, esi
call fcn.1400ad160
test eax, eax
je 0x1400acbc0
lea r8, [rsp + 0x50]
mov rdx, r14
mov rcx, rdi
call fcn.1400accf0
jmp 0x1400acccb
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x70], r15
cmp rbp, 0xffffffffffffffff
je 0x1400acc12
xor eax, eax
lea r8, [rsp + 0xb8]
mov rdx, rbx
mov qword [rsp + 0x30], rax
mov rcx, r14
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea r12, [rsp + 0x30]
lea r9d, [rax + 1]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
test eax, eax
je 0x1400acc15
mov r13d, 1
jmp 0x1400acc15
mov r12, rbx
mov esi, ebx
cmp rbp, 0xffffffffffffffff
je 0x1400acc2e
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 0x1400acc71
cmp ebx, dword [rdi + 0x170]
jb 0x1400acc17
mov r12, qword [rsp + 0x88]
test r13d, r13d
je 0x1400acc95
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 0x1400accc2
test esi, esi
jne 0x1400accc2
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x1400acccb
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
push rbx
sub rsp, 0x20
lea rbx, [rcx - 0x120]
mov eax, dword [rbx + 0x70]
dec eax
cmp eax, 0x23
ja case.default.0x1400ad43e
lea rcx, [0x140000000]
cdqe
mov edx, dword [rcx + rax*4 + 0xad6a0]
add rdx, rcx
jmp rdx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400aa7d0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400a9560
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400aad10
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400acb10
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400a9640
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400abc80
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400abd90
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400aa090
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400a9d50
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400a9e10
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400ac750
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400a9fe0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400aa1c0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400a9320
mov edx, dword [rbx + 0x158]
mov rcx, qword [rbx + 0x150]
call fcn.1400ffeec
cmp eax, 0xffffffff
jne case.0x1400ad43e.26
call fcn.1400fdf74
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.1400b6650
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 rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400a9b50
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400ac510
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400ac590
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400ab860
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400aa2c0
lea rdx, [0x1400aa330]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400aa4e0
lea rdx, [0x1400aa3a0]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400aa4e0
mov rdx, qword [rbx + 0x160]
mov r8d, 1
mov rcx, qword [rbx + 0x150]
call qword [sym.imp.KERNEL32.DLL_MoveFileExW]
test eax, eax
jne case.0x1400ad43e.26
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400ab8b0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400ab140
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400aab90
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400a9600
mov rdx, qword [rbx + 0x150]
xor r8d, r8d
mov rcx, qword [rbx + 0x160]
call qword [sym.imp.KERNEL32.DLL_CreateHardLinkW]
test eax, eax
jne case.0x1400ad43e.26
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.1400b6650
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400ac440
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400ab2e0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400ab6a0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400ac250
add rsp, 0x20
pop rbx
ret