Function at 0x140019840
Capabilities:
Create directory
Delete directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov edi, dword [rcx + 0x168]
mov rbx, rcx
xor ecx, ecx
call fcn.140092080
mov ecx, eax
mov esi, eax
call fcn.140092080
mov ecx, edi
and ecx, 3
je 0x140017ceb
sub ecx, 1
je 0x140017ce4
cmp ecx, 1
jne 0x140017e08
mov edx, 0x12019f
jmp 0x140017cf0
mov edx, 0x120116
jmp 0x140017cf0
mov edx, 0x120089
test dil, 8
je 0x140017cfc
and edx, 0xfffffffd
or edx, 4
bt edi, 0x1c
mov eax, 7
mov r10d, 0
cmovae r10d, eax
mov eax, edi
and eax, 0x700
cmp eax, 0x400
ja 0x140017d59
test eax, 0xfffffbff
je 0x140017d51
cmp eax, 0x100
je 0x140017d49
cmp eax, 0x200
je 0x140017dd4
cmp eax, 0x300
jne 0x140017e08
mov r9d, 2
jmp 0x140017d78
mov r9d, 4
jmp 0x140017d78
mov r9d, 3
jmp 0x140017d78
cmp eax, 0x500
je 0x140017d72
cmp eax, 0x600
je 0x140017dd4
cmp eax, 0x700
jne 0x140017e08
mov r9d, 1
mov r8d, 0x80
bt edi, 8
jae 0x140017d9a
not sil
mov eax, 0x81
and sil, byte [rbx + 0x158]
test r8b, sil
cmove r8d, eax
test dil, 0x40
je 0x140017dab
or r8d, 0x4000100
bts edx, 0x10
mov ecx, r8d
mov eax, edi
bts ecx, 8
and eax, 0x1000
mov eax, edi
cmove ecx, r8d
and eax, 0x30
je 0x140017de0
cmp eax, 0x10
je 0x140017ddc
cmp eax, 0x20
jne 0x140017e08
bts ecx, 0x1b
jmp 0x140017de0
mov r9d, 5
jmp 0x140017d78
bts ecx, 0x1c
mov r8d, ecx
mov eax, edi
bts r8d, 0x1d
and eax, 0x2000000
mov eax, edi
cmove r8d, ecx
and eax, 0xc000000
je 0x140017e32
add eax, 0xfc000000
test eax, 0xfbffffff
je 0x140017e2d
mov qword [rbx + 0x88], 0xfffffffffffff019
mov dword [rbx + 0x14c], 0x57
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
bts r8d, 0x1f
mov rcx, qword [rbx + 0x150]
bts r8d, 0x19
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], r8d
mov r8d, r10d
mov dword [rsp + 0x20], r9d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140017eb3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140017ea0
and edi, 0x500
cmp edi, 0x100
jne 0x140017ea0
mov qword [rbx + 0x88], 0xfffffffffffff01c
mov dword [rbx + 0x14c], eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x14c], eax
mov ecx, eax
jmp 0x140017f6a
mov edx, edi
mov rcx, rsi
call fcn.14008a964
test eax, eax
jns 0x140017f4e
call fcn.1400853e4
cmp dword [rax], 0x18
jne case.default.0x140017ef6
mov rcx, rsi
mov qword [rbx + 0x88], 0xfffffffffffff01e
mov dword [rbx + 0x14c], 4
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140017f17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x14c], eax
mov ecx, eax
jmp 0x140017f26
mov dword [rbx + 0x14c], 0xfffff002
mov ecx, 0xfffff002
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
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]
cdqe
mov qword [rbx + 0x88], rax
cmp rax, 0xffffffffffffffff
jne 0x140017f79
call fcn.1400853c4
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
push rbp
push rdi
sub rsp, 0x78
mov rdi, rcx
mov ecx, dword [rcx + 0x150]
mov rbp, qword [rdi + 0x180]
cmp ecx, 0xffffffff
jne 0x140017fc8
mov qword [rdi + 0x88], 0xfffffffffffff00d
mov dword [rdi + 0x14c], 6
add rsp, 0x78
pop rdi
pop rbp
ret
mov qword [rsp + 0xa0], rbx
xor ebx, ebx
mov qword [rsp + 0x60], r13
mov r13d, ebx
mov qword [rsp + 0x50], r15
call fcn.14008a8ec
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x14001800e
lea ecx, [rbx + 6]
mov dword [rdi + 0x14c], 6
call fcn.14001dc20
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x140018122
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x58], r14
cmp rbp, 0xffffffffffffffff
je 0x140018062
xor eax, eax
lea r8, [rsp + 0x98]
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 0x140018065
mov r13d, 1
jmp 0x140018065
mov r12, rbx
mov esi, ebx
cmp rbp, 0xffffffffffffffff
je 0x14001807e
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 + 0x90]
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 + 0x90]
inc ebx
mov r14d, eax
test eax, eax
je 0x1400180c1
cmp ebx, dword [rdi + 0x170]
jb 0x140018067
mov r12, qword [rsp + 0x68]
test r13d, r13d
je 0x1400180e2
mov rdx, qword [rsp + 0x98]
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test r14d, r14d
mov r14, qword [rsp + 0x58]
jne 0x140018114
test esi, esi
jne 0x140018114
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
je 0x140018114
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.14001dc20
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x14001811d
mov eax, esi
mov qword [rdi + 0x88], rax
mov rsi, qword [rsp + 0x70]
mov r13, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x50]
add rsp, 0x78
pop rdi
pop rbp
ret
push rbp
push rdi
sub rsp, 0x78
mov rdi, rcx
mov ecx, dword [rcx + 0x150]
mov rbp, qword [rdi + 0x180]
cmp ecx, 0xffffffff
jne 0x140018178
mov qword [rdi + 0x88], 0xfffffffffffff00d
mov dword [rdi + 0x14c], 6
add rsp, 0x78
pop rdi
pop rbp
ret
mov qword [rsp + 0xa0], rbx
xor ebx, ebx
mov qword [rsp + 0x60], r13
mov r13d, ebx
mov qword [rsp + 0x50], r15
call fcn.14008a8ec
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x1400181be
lea ecx, [rbx + 6]
mov dword [rdi + 0x14c], 6
call fcn.14001dc20
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x1400182cd
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x58], r14
cmp rbp, 0xffffffffffffffff
je 0x140018212
xor eax, eax
lea r8, [rsp + 0x98]
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 0x140018215
mov r13d, 1
jmp 0x140018215
mov r12, rbx
mov esi, ebx
cmp rbp, 0xffffffffffffffff
je 0x14001822e
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 + 0x90]
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_WriteFile]
add esi, dword [rsp + 0x90]
inc ebx
mov r14d, eax
test eax, eax
je 0x140018271
cmp ebx, dword [rdi + 0x170]
jb 0x140018217
mov r12, qword [rsp + 0x68]
test r13d, r13d
je 0x140018292
mov rdx, qword [rsp + 0x98]
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test r14d, r14d
mov r14, qword [rsp + 0x58]
jne 0x1400182bf
test esi, esi
jne 0x1400182bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.14001dc20
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x1400182c8
mov eax, esi
mov qword [rdi + 0x88], rax
mov rsi, qword [rsp + 0x70]
mov r13, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x50]
add rsp, 0x78
pop rdi
pop rbp
ret
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400dc160]
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 0x14001836f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x140018485
lea rdx, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x14001838f
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140018465
mov eax, dword [rsp + 0x80]
test al, 0x10
je 0x1400183e0
bt eax, 0xa
jb 0x1400183b0
mov ecx, 5
mov dword [rbx + 0x14c], ecx
jmp 0x14001846d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.140017a60
test eax, eax
jns 0x1400183d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x5b8
mov ecx, 5
cmove eax, ecx
jmp 0x140018465
mov eax, dword [rsp + 0x80]
test al, 1
je 0x140018429
xor ecx, ecx
mov dword [rsp + 0x20], 4
mov qword [rsp + 0x78], rcx
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], rcx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x60], rcx
and eax, 0xfffffffe
lea r9d, [rcx + 0x28]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rcx
mov rcx, rdi
mov dword [rsp + 0x78], eax
call qword [0x1400e4d28]
test eax, eax
js 0x14001845d
mov r9d, 1
mov byte [rsp + 0x40], 1
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], select
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [0x1400e4d28]
test eax, eax
js 0x14001845d
mov qword [rbx + 0x40], 0
jmp 0x14001847c
mov ecx, eax
call qword [0x1400e4d50]
mov dword [rbx + 0x14c], eax
mov ecx, eax
call fcn.14001dc20
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.14005c600
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
ret
push rbx
sub rsp, 0x40
mov rbx, rcx
or rax, 0xffffffffffffffff
mov rcx, qword [rcx + 0x150]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400184c4
mov qword [rsp + 0x68], rsi
cmp rax, 6
jb 0x14001880b
lea rsi, [rcx + rax*2]
mov r8d, 6
lea rcx, [rsi - 0xc]
lea rdx, str.XXXXXX
call fcn.14008ca6c
test eax, eax
jne 0x14001880b
lea r9d, [rax + 1]
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x58]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x140018547
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rbx
ret
mov qword [rsp + 0x60], rbp
movabs rbp, 0x842108421084211
mov qword [rsp + 0x38], rdi
mov edi, 0x7fffffff
mov qword [rsp + 0x30], r14
lea r14, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
nop dword [rax]
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x50]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x14001879c
mov rcx, qword [rsp + 0x50]
mov rax, rbp
mul 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 [r14 + rcx*2]
mov word [rsi - 0xc], ax
mov rax, rbp
mov rcx, qword [rsp + 0x50]
mul rcx
mov rax, rbp
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 [r14 + rcx*2]
mov word [rsi - 0xa], ax
mov rax, rbp
mov rcx, qword [rsp + 0x50]
mul rcx
mov rax, rbp
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 [r14 + rcx*2]
mov word [rsi - 8], ax
mov rax, rbp
mov rcx, qword [rsp + 0x50]
mul rcx
mov rax, rbp
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 [r14 + rcx*2]
mov word [rsi - 6], ax
mov rax, rbp
mov rcx, qword [rsp + 0x50]
mul rcx
mov rax, rbp
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 [r14 + rcx*2]
mov word [rsi - 4], ax
mov rax, rbp
mov rcx, qword [rsp + 0x50]
mul rcx
mov rax, rbp
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 [r14 + rcx*2]
mov word [rsi - 2], ax
mov rax, rbp
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, qword [rbx + 0x150]
call fcn.14008ac18
test eax, eax
je 0x140018763
call fcn.1400853e4
cmp dword [rax], 0x11
jne 0x140018749
add edi, 0xffffffff
jne 0x140018570
jmp 0x1400187b9
mov qword [rbx + 0x88], 0xffffffffffffffff
call fcn.1400853c4
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
jmp 0x1400187aa
mov rcx, qword [rbx + 0x98]
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140018770
add rcx, 0xfffffffffffffffa
lea rdx, [rsi - 0xc]
add rcx, rax
mov r8d, 6
call fcn.14008c9c0
mov qword [rbx + 0x88], 0
jmp 0x1400187b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x14c], eax
mov ecx, eax
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov rcx, qword [rsp + 0x58]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov r14, qword [rsp + 0x30]
test edi, edi
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x60]
jne 0x140018820
mov qword [rbx + 0x88], 0xffffffffffffffff
call fcn.1400853c4
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rbx
ret
mov qword [rbx + 0x88], 0xfffffffffffff019
mov dword [rbx + 0x14c], 0x57
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
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.14005c970
sub rsp, rax
mov rax, qword [0x1400dc160]
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 0x140018bb2
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 [0x1400e4d30]
cmp eax, 0xc000000d
jne 0x140018926
mov qword [rbx + 0x88], 0xfffffffffffff02c
mov dword [rbx + 0x14c], 0x10b
jmp 0x140018bcf
test eax, eax
js 0x140018b05
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 0x140018966
lea rax, [rbx + 0x1f]
lea rax, [rsi + rax*2]
cmp word [rax], 0
jne 0x140018966
sub rax, 2
sub rbx, 1
jne 0x140018956
test rbx, rbx
je 0x140018a8c
cmp rbx, 1
jne 0x14001897c
cmp word [rsi + 0x40], 0x2e
jmp 0x14001898e
cmp rbx, 2
jne 0x140018994
cmp word [rsi + 0x40], 0x2e
jne 0x140018994
cmp word [rsi + 0x42], 0x2e
je 0x140018a8c
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 0x140018bad
cmp r12, r14
jb 0x1400189fa
test r14, r14
jne 0x1400189d8
mov r14d, 0x20
jmp 0x1400189db
add r14, r14
lea rdx, [r14*8]
mov rcx, rdi
call qword [fcn.14007f4f0]
test rax, rax
je 0x140018b3b
mov qword [rsp + 0x60], rax
lea rcx, [rbp + 8]
call qword [fcn.14007f4e8]
mov rdi, rax
test rax, rax
je 0x140018b36
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 0x140018ba8
mov byte [rdi + rbp + 4], 0
mov eax, dword [rsi + 0x38]
test al, 0x40
je 0x140018a67
mov dword [rdi], 6
xor ebp, ebp
jmp 0x140018a87
bt eax, 0xa
jae 0x140018a77
mov dword [rdi], 3
xor ebp, ebp
jmp 0x140018a87
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 0x140018940
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 [0x1400e4d30]
test eax, eax
jne 0x140018afa
cmp qword [rsp + 0x80], r13
jne 0x140018930
mov eax, 0x80000005
jmp 0x140018b0c
jns 0x140018930
mov rbx, qword [rsp + 0x68]
cmp eax, 0x80000006
je 0x140018b58
mov ecx, eax
call qword [0x1400e4d50]
mov r8, qword [rsp + 0x68]
mov ecx, eax
mov dword [r8 + 0x14c], eax
call fcn.14001dc20
movsxd rcx, eax
mov qword [r8 + 0x88], rcx
jmp 0x140018bcf
mov rdi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov qword [r8 + 0x88], 0xfffffffffffff027
mov dword [r8 + 0x14c], shutdown
jmp 0x140018bcf
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x90], rdi
test rdi, rdi
je 0x140018b74
or dword [rbx + 0x148], 8
mov qword [rbx + 0x88], r12
cmp r12, 0xffffffffffffffff
jne 0x140018b9d
call fcn.1400853c4
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov dword [rbx + 0x170], ebp
jmp 0x140018c3a
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.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x140018be0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r12, r12
je 0x140018c19
nop word [rax + rax]
mov rbx, qword [rdi + r12*8 - 8]
dec r12
call fcn.1400853e4
mov rcx, rbx
mov edi, dword [rax]
call qword [fcn.14007f4d4]
call fcn.1400853e4
mov dword [rax], edi
mov rdi, qword [rsp + 0x60]
test r12, r12
jne 0x140018bf0
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x140018c3a
call fcn.1400853e4
mov rcx, rdi
mov ebx, dword [rax]
call qword [fcn.14007f4d4]
call fcn.1400853e4
mov dword [rax], ebx
mov rcx, qword [rsp + 0x2088]
xor rcx, rsp
call fcn.14005c600
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 + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x40
mov rbx, rcx
or rax, 0xffffffffffffffff
mov rcx, qword [rcx + 0x150]
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140019020
xor ebp, ebp
cmp rax, 1
jbe 0x140019053
cmp word [rcx + rax*2 - 4], 0x3a
je 0x140019053
lea rdx, [rcx + rax*2]
movzx eax, word [rcx + rax*2 - 2]
cmp ax, 0x5c
je 0x14001904f
cmp ax, 0x2f
jne 0x140019053
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 rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400190b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x50], rsi
xor r8d, r8d
lea rsi, [rbx + 0xa0]
mov rcx, rdi
mov rdx, rsi
call fcn.140018c70
test eax, eax
je 0x1400190fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x140019108
mov qword [rbx + 0x90], rsi
mov qword [rbx + 0x88], rbp
mov rcx, rdi
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x150]
cmp ecx, 0xffffffff
jne 0x14001915f
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
add rsp, 0x20
pop rbx
ret
call fcn.14008a8ec
cmp rax, 0xffffffffffffffff
jne 0x14001918c
lea ecx, [rax + 7]
mov dword [rbx + 0x14c], 6
call fcn.14001dc20
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.140018c70
test eax, eax
je 0x1400191d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14001dc20
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
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x150]
cmp ecx, 0xffffffff
jne 0x14001921f
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
add rsp, 0x20
pop rbx
ret
call fcn.14008a8ec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
neg eax
sbb ecx, ecx
neg ecx
dec ecx
cmp ecx, 0xffffffff
jne 0x14001924a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x14c], eax
mov ecx, eax
jmp 0x140019267
movsxd rax, ecx
mov qword [rbx + 0x88], rax
cmp rax, 0xffffffffffffffff
jne 0x140019276
call fcn.1400853c4
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
push rbx
sub rsp, 0x40
mov rbx, rcx
mov ecx, dword [rcx + 0x150]
cmp ecx, 0xffffffff
jne 0x1400192af
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
add rsp, 0x40
pop rbx
ret
call fcn.14008a8ec
mov rcx, qword [rbx + 0x180]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x50], rcx
lea rdx, [rsp + 0x30]
mov rcx, rax
mov dword [rsp + 0x20], shutdown
mov r9d, 8
call qword [0x1400e4d28]
test eax, eax
js 0x1400192f6
mov qword [rbx + 0x88], 0
add rsp, 0x40
pop rbx
ret
mov ecx, eax
call qword [0x1400e4d50]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x40
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 ebx, dword [rcx + 0x188]
mov ebp, 0x10000
mov r12d, dword [rcx + 0x150]
mov r15, rcx
mov r13d, dword [rcx + 0x16c]
cmp rbx, rbp
mov r14, qword [rcx + 0x180]
cmovb ebp, ebx
xor edi, edi
mov ecx, ebp
call qword [fcn.14007f4e8]
mov rsi, rax
test rax, rax
je 0x140019444
cmp r14, 0xffffffffffffffff
je 0x140019395
xor r8d, r8d
mov rdx, r14
mov ecx, r12d
call fcn.14008ac08
cmp rax, 0xffffffffffffffff
je 0x1400193e0
test rbx, rbx
je 0x1400193e3
nop word [rax + rax]
mov r8d, ebp
cmp rbx, rbp
mov rdx, rsi
mov ecx, r12d
cmovb r8d, ebx
call fcn.14008b2dc
test eax, eax
je 0x1400193e3
cmp eax, 0xffffffff
je 0x1400193e0
movsxd rcx, eax
mov r8d, eax
sub rbx, rcx
mov rdx, rsi
mov ecx, r13d
call fcn.14008c20c
cmp eax, 0xffffffff
je 0x1400193e0
add edi, eax
test rbx, rbx
jne 0x1400193a0
jmp 0x1400193e3
or edi, 0xffffffff
call fcn.1400853e4
mov rcx, rsi
mov ebx, dword [rax]
call qword [fcn.14007f4d4]
call fcn.1400853e4
mov dword [rax], ebx
movsxd rax, edi
mov qword [r15 + 0x88], rax
cmp rax, 0xffffffffffffffff
jne 0x140019427
call fcn.1400853c4
mov ecx, dword [rax]
mov dword [r15 + 0x14c], ecx
call fcn.14001dc20
movsxd rcx, eax
mov qword [r15 + 0x88], rcx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rdx, str.uv__malloc
mov ecx, select
call fcn.14001db70
int3
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x150]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14001949e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14001dc20
movsxd rdx, eax
mov qword [rbx + 0x88], rdx
add rsp, 0x20
pop rbx
ret
test byte [rbx + 0x158], 2
je 0x1400194d1
and al, 0x11
cmp al, 1
jne 0x1400194d1
mov ecx, 0xfffff030
mov dword [rbx + 0x14c], 0xfffff030
call fcn.14001dc20
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, 0x70
mov rax, qword [0x1400dc160]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov ecx, dword [rcx + 0x150]
cmp ecx, 0xffffffff
jne 0x14001953b
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14005c600
add rsp, 0x70
pop rbx
ret
mov qword [rsp + 0x88], rdi
call fcn.14008a8ec
mov r9d, 0x28
mov dword [rsp + 0x20], 4
lea r8, [rsp + 0x40]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rdi, rax
call qword [0x1400e4d08]
test eax, eax
js 0x1400195af
mov ecx, dword [rsp + 0x60]
lea r8, [rsp + 0x40]
mov eax, ecx
mov dword [rsp + 0x20], 4
or ecx, 1
lea rdx, [rsp + 0x30]
and eax, 0xfffffffe
mov r9d, 0x28
test byte [rbx + 0x158], 0x80
cmovne ecx, eax
mov dword [rsp + 0x60], ecx
mov rcx, rdi
call qword [0x1400e4d28]
test eax, eax
jns 0x1400195d0
mov ecx, eax
call qword [0x1400e4d50]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x1400195d8
mov qword [rbx + 0x40], 0
mov rdi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14005c600
add rsp, 0x70
pop rbx
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov rbx, rcx
mov dword [rsp + 0x28], 0x2000000
mov rcx, qword [rcx + 0x150]
mov edx, 0x100
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140019720
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
movsd xmm2, qword [rbx + 0x160]
mov rcx, rdi
movsd xmm1, qword [rbx + 0x158]
call fcn.140019600
test eax, eax
je 0x14001976d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov rcx, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
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 ecx, dword [rcx + 0x150]
cmp ecx, 0xffffffff
jne 0x1400197bf
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
add rsp, 0x20
pop rbx
ret
call fcn.14008a8ec
cmp rax, 0xffffffffffffffff
jne 0x1400197ec
lea ecx, [rax + 7]
mov dword [rbx + 0x14c], 6
call fcn.14001dc20
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.140019600
test eax, eax
je 0x14001982b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14001dc20
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
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
or r12, 0xffffffffffffffff
mov r13, r8
xor ebp, ebp
mov rsi, rdx
mov dword [rsp + 0x98], ebp
mov r14, rcx
mov rdi, r12
nop
inc rdi
cmp word [rdx + rdi*2], bp
jne 0x140019870
mov ebx, 4
lea rdx, str.__
mov r8d, ebx
mov rcx, rsi
call fcn.14008ca6c
test eax, eax
sete bpl
test ebp, ebp
jne 0x1400198e7
cmp edi, 3
jl 0x1400198cc
movzx ecx, word [rsi]
lea eax, [rcx - 0x61]
cmp ax, 0x19
jbe 0x1400198b5
sub cx, 0x41
cmp cx, 0x19
ja 0x1400198cc
cmp word [rsi + 2], 0x3a
jne 0x1400198cc
movzx eax, word [rsi + 4]
cmp ax, 0x2f
je 0x1400198e7
cmp ax, 0x5c
je 0x1400198e7
mov qword [r14 + 0x88], 0xfffffffffffff019
mov dword [r14 + 0x14c], 0x32
jmp 0x140019b6d
lea eax, [rdi*4 + 0x20]
mov qword [rsp + 0x80], r15
movsxd rcx, eax
call qword [fcn.14007f4e8]
mov r15, rax
test rax, rax
je 0x140019b86
mov r8, rbx
lea rdx, str.___
lea rcx, [rax + 0x10]
call fcn.14008b954
xor ecx, ecx
lea eax, [rbp*4]
mov r9d, ecx
mov r11d, eax
lea r8, [rsi + rax*2]
lea ebp, [rcx + 0x5c]
cmp word [r8], cx
je 0x140019988
mov r10d, r11d
mov rdx, r8
movzx eax, word [rdx]
cmp ax, bp
je 0x140019973
cmp ax, 0x2f
je 0x140019973
test r9d, r9d
je 0x140019961
movsxd rax, ebx
mov r9d, ecx
inc ebx
mov word [r15 + rax*2 + 0x10], bp
movzx eax, word [rdx]
movsxd rcx, ebx
inc ebx
mov word [r15 + rcx*2 + 0x10], ax
xor ecx, ecx
jmp 0x140019979
mov r9d, 1
inc r10
cmp word [rsi + r10*2], 0
lea rdx, [rsi + r10*2]
jne 0x140019940
movsxd rax, ebx
mov edx, ecx
inc ebx
mov word [r15 + rax*2 + 0x10], bp
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 0x140019a07
nop word [rax + rax]
movzx eax, word [r8]
cmp ax, bp
je 0x1400199f3
cmp ax, 0x2f
je 0x1400199f3
test edx, edx
je 0x1400199e0
movsxd rax, ebx
mov edx, ecx
inc ebx
mov word [r15 + rax*2 + 0x10], bp
movzx eax, word [r8]
movsxd rcx, ebx
inc ebx
mov word [r15 + rcx*2 + 0x10], ax
xor ecx, ecx
jmp 0x1400199f8
mov edx, 1
inc r11
cmp word [rsi + r11*2], 0
lea r8, [rsi + r11*2]
jne 0x1400199c0
mov eax, ebx
sub eax, r9d
cmp eax, 2
jne 0x140019a21
movsxd rax, ebx
inc ebx
mov word [r15 + rax*2 + 0x10], bp
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 0x140019a82
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [r14 + 0x14c], eax
call fcn.14001dc20
mov edi, dword [rsp + 0x98]
jmp 0x140019aff
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x30], rbp
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 0x140019aeb
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov r9d, ebx
mov dword [rsp + 0x28], ebp
mov r8, r15
mov edx, 0x900a4
mov qword [rsp + 0x20], rbp
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140019b3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [r14 + 0x14c], eax
call fcn.14001dc20
movsxd rcx, eax
mov qword [r14 + 0x88], rcx
call fcn.1400853e4
mov rcx, r15
mov ebx, dword [rax]
call qword [fcn.14007f4d4]
call fcn.1400853e4
mov dword [rax], ebx
cmp r12, 0xffffffffffffffff
je 0x140019b2f
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140019b65
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140019b65
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1400853e4
mov rcx, r15
mov ebx, dword [rax]
call qword [fcn.14007f4d4]
call fcn.1400853e4
mov dword [rax], ebx
mov qword [r14 + 0x88], rbp
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.14001db70
int3
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x150]
mov rbx, rcx
mov rcx, qword [rcx + 0x160]
test byte [rbx + 0x168], 2
jne 0x140019c33
mov edi, dword [reloc.WS2_32.dll_bind]
mov esi, 1
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [0x1400e4d10]
test rax, rax
je 0x140019c8f
test byte [rbx + 0x168], sil
cmovne edi, esi
mov r8d, edi
call rax
test al, al
jne 0x140019c74
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x140019c4d
test dil, 2
je 0x140019c4d
mov rdx, qword [rbx + 0x150]
xor edi, edi
test byte [rbx + 0x168], 2
mov rcx, qword [rbx + 0x160]
mov dword [reloc.WS2_32.dll_bind], edi
je 0x140019be0
mov r8, rcx
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140019840
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14001dc20
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 + 0x88], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x38]
mov qword [rbx + 0x88], 0xfffffffffffff02a
mov dword [rbx + 0x14c], 0x32
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
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 0x140019d2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14001dc20
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.140017a60
test eax, eax
je 0x140019d61
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x140019d73
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]
push rbx
sub rsp, 0x40
cmp qword [0x1400e4d20], 0
mov rbx, rcx
jne 0x140019eee
mov qword [rcx + 0x88], 0xfffffffffffff02a
mov dword [rcx + 0x14c], 0x32
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rcx + 0x150]
xor r9d, r9d
mov qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0x2000080
xor edx, edx
mov dword [rsp + 0x20], 3
mov qword [rsp + 0x50], rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140019f48
lea rdx, [rbx + 0x90]
mov rcx, rax
call fcn.140019d90
mov rcx, rdi
cmp rax, 0xffffffffffffffff
jne 0x140019f70
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14001dc20
mov rdi, qword [rsp + 0x50]
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x40
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [rbx + 0x148], 8
mov rdi, qword [rsp + 0x50]
mov qword [rbx + 0x88], 0
add rsp, 0x40
pop rbx
ret
push rbx
sub rsp, 0x20
lea rbx, [rcx - 0x120]
mov eax, dword [rbx + 0x70]
dec eax
cmp eax, 0x1c
ja case.default.0x140019fce
lea rcx, [0x140000000]
cdqe
mov edx, dword [rcx + rax*4 + 0x1a2f0]
add rdx, rcx
jmp rdx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140017ca0
mov ecx, dword [rbx + 0x150]
cmp ecx, 0xffffffff
je 0x140019fff
cmp ecx, 2
jle case.0x140019fce.26
call fcn.14008ba10
cmp eax, 0xffffffff
jne case.0x140019fce.26
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140017f90
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140018140
mov r8d, dword [rbx + 0x168]
mov rdx, qword [rbx + 0x160]
and r8d, 1
mov rcx, qword [rbx + 0x150]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne case.0x140019fce.26
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140019320
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140019000
mov rcx, qword [rbx + 0x150]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001a0a3
cmp rax, 1
jbe 0x14001a0d6
cmp word [rcx + rax*2 - 4], 0x3a
je 0x14001a0d6
lea rdx, [rcx + rax*2]
movzx eax, word [rcx + rax*2 - 2]
cmp ax, 0x5c
je 0x14001a0d0
cmp ax, 0x2f
jne 0x14001a0d6
xor eax, eax
mov word [rdx - 2], ax
mov edx, 1
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140018ee0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140019130
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140019280
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400196b0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140019790
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140019460
mov edx, dword [rbx + 0x158]
mov rcx, qword [rbx + 0x150]
call fcn.14008c9c8
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
cmp rcx, 0xffffffffffffffff
jne case.default.0x140019fce
call fcn.1400853c4
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400194f0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400191f0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400182f0
mov rcx, qword [rbx + 0x150]
call fcn.14008ac44
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
cmp rcx, 0xffffffffffffffff
jne case.default.0x140019fce
call fcn.1400853c4
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx + 0x150]
call fcn.14008ac18
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
cmp rcx, 0xffffffffffffffff
jne case.default.0x140019fce
call fcn.1400853c4
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400184b0
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.0x140019fce.26
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140018830
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.0x140019fce.26
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14001dc20
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140019ba0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140019cc0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140019ec0
xor eax, eax
mov qword [rbx + 0x88], rax
add rsp, 0x20
pop rbx
ret
add dword [rax + 3], ecx
xchg rsi, rax
push 0
add byte [rax], al
add rbx, qword [rsi + rax*4 + 0xc0004e]
pop rax
and ebx, esp
inc byte [eax]
add byte [rax], al
mov ds, word [rdx]
add ebx, dword [rdi + rbp + 0x4e]
add al, al
add byte [rax], al
mov ds, word [rdx]
add ebx, dword [rdi + rbp + 0x4e]
add al, al
add byte [rax - 0x7d], bl
fdivr qword [rax]
cmp byte [rsi], bh
cmp byte [rsi], bh
add byte [rax], al
push 0x420047
invalid
invalid
invalid
add byte [rdx + 2], spl
jb 0x14017e5d2
add ebx, dword [rdx + rcx*4]
add al, al
add byte [rax + 0x43], ah
pop rsp
mul byte [rdi]
add byte [rax], al
add rbx, qword [rsi + riz + 0x35c08002]
xor eax, 0xc91c8320
xchg ebx, eax
add byte [rax], al
add byte [rax + 3], ch
pushfq
jns 0x14017e57e
xor eax, 0xc91c8320
xchg ebx, eax
add byte [rax], al
add byte [rax + 3], ch
pushfq
jns 0x14017e57e
invalid
add edx, dword [rax]
xchg dh, dh
add byte [rax], al
add byte [rax + 0x23], cl
fsub st(1), st(0)
std
add byte [rax], al
mov ds, word [rdx]
add byte [r10], 2
add byte [rdx], al
add byte [rdx], al
and byte [rdx], spl
add ebx, dword [rdi + rdx*8 + 0xc00059]
pop rax
sbb al, 0xf6
invalid
invalid
mul byte [rbx]
add byte [rax], al
add rbx, qword [rax + rdi*2 + 0xc0005a]
pop rax
sbb dword [rsi + rax*4], 0xffffff81
add byte [rax], al
add byte [rax + 3], ch
pop rsp
xlatb
sub dword [rax], eax
rol byte [rax], 0x60
add ebx, dword [rdi + rsi*2 + 0x3dc01002]
cmp eax, 0xa9dc8320
test dword [rax], eax
cmp eax, 0xa9dc8320
test dword [rax], eax
add byte [rax], al
push 0x42324047
xor byte [rdx], spl
sbb dword [rsi + rdx*4 - 0x6b], 0
add byte [rax], al
add byte [rax + 4], ch
sbb al, 0xff
add r8b, al
add byte [rax], al
add byte [rax + 4], ch
sbb al, 0xff
add r8b, al
add byte [rax], dh
add ebx, dword [rax + 0x89d9]
add byte [rax + 3], cl
pop rsp
cdq
add r8b, al
add byte [rax + 0x23], ah
fsubr qword [rbp - 0x71ffff01]
sbb al, byte [rbx - 0x64]
pushfq
pushfq
stc
wait
add byte [rax], al
add byte [rax - 0x7b], cl
pushfq
invalid
adc dword [rax], eax
add al, al
add byte [r10], r8b
movabs byte [0x32431c0322320202], al
xor al, byte [r8]
add byte [rcx], al
pop r12
xor al, byte [r8]
add byte [rcx], al
pop r12
add al, byte [r8]
ror byte [rdx + 0x20], 1
add ebx, dword [rax + rcx*2 + 0xc0004a]
invalid
invalid
add byte [rax - 0x7d], ah
pop rsp
mov bh, 0x71
add byte [rax], al
add byte [rax + 0x43], ch
fcom qword [rsi + 0x5d]
add rbx, rsp
cmc
xchg edi, eax
add byte [rax], al
add dword [rax + 3], ecx
xchg esp, eax
movabs rdx, 0x4270475800ffff
add dh, byte [rdx]
xor ah, byte [rdx]
add ebx, dword [rcx + rdi]
add al, al
add byte [rax - 0x7d], bl
pushfq
imul ebx, dword [rdx], 0x43680000
add byte [rax + 0x43], ch
add byte [rax + 0x43], ch
pop rsp
xchg esi, eax
add dword [rax], eax
rol ah, 1
and byte [rbx + 0x3175dc], al
add byte [rax], al
push 0x21d89c03
add byte [rax], al
add dword [rax + 3], ecx
sbb al, 0x32
add al, r8b
add byte [rax + 3], ah
sbb al, 0xd7
invalid
add al, byte [rdx]
xor al, byte [rdx + 0x22]
add ebx, esp
xlatb
cmp eax, 0x5800c000
sbb dword [rsi + riz*8 + 0x2d], 0x68
add byte [rax + 0x43], ch
fdivr qword [rax]
add byte [rax + 0x43], ch
fdivr qword [rax]
push rsi
add byte [rax], al
add byte [rax + 3], cl
sbb al, 0xd9
add dword [rax], eax
enter 0x2049, 0xffffffffffffff83
sbb dword [rsi + rdx*4 + 0x6d], 0
add byte [rax], al
push 0x2d775c03
sbb dword [rsi + rdx*4 + 0x6d], 0
add byte [rax], al
push 0x2d775c03
add al, al
add byte [rax + 4], ah
pop rsp
stc
add eax, dword [rcx]
rol byte [rax], 0x30
add byte [r10 + 0x20], r8b
and byte [rdx + 0x50], al
and byte [rdx + 0x50], al
and ah, byte [rdx]
add ebx, dword [rax + 0x77]
invalid
add al, al
add eax, dword [rax]
xchg dword [rax + rax], edi
add byte [rax + 3], cl
pop rsp
xchg ebp, eax
sub eax, 0x6000c000
sbb dword [rcx + rcx*2], 0xffffff8a
add byte [rdi + 0x7c], al
add rbx, qword [rbp + rdx*4 + 0x2d]
add al, al
add byte [rax - 0x7d], ah
sbb al, 0x49
mov al, byte [rax]
add byte [rax], al
add byte [rax + 0x43], ch
pushfq
div dword [rbx]
add byte [rax], al
add byte [r10 - 0x4dffbdfe], r14b
add byte [rax], al
add byte [rax + 0x43], ch
pushfq
div dword [rbx]
add byte [rax], al
add byte [r10 - 0x4dffbdfe], r14b
and al, byte [rbx]
sbb al, 0x72
test dword [rax], eax
add byte [rcx], al
sbb al, 0x77
add dword [rax], esp
shr byte [rdx], 0x20
add ebx, esp
invalid