Function at 0x140012200
Capabilities:
Create directory
Generate random numbers via winapi

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.140029dc0
mov ecx, eax
mov esi, eax
call fcn.140029dc0
mov ecx, edi
and ecx, 3
je 0x140011a7b
sub ecx, 1
je 0x140011a74
cmp ecx, 1
jne 0x140011b4b
mov edx, 0x12019f
jmp 0x140011a80
mov edx, 0x120116
jmp 0x140011a80
mov edx, 0x120089
test dil, 8
je 0x140011a8c
and edx, 0xfffffffd
or edx, 4
mov eax, edi
and eax, 0x700
cmp eax, 0x400
ja 0x140011ad6
test eax, 0xfffffbff
je 0x140011ace
cmp eax, 0x100
je 0x140011ac6
cmp eax, 0x200
je 0x140011b70
cmp eax, 0x300
jne 0x140011b4b
mov r9d, 2
jmp 0x140011af5
mov r9d, 4
jmp 0x140011af5
mov r9d, 3
jmp 0x140011af5
cmp eax, 0x500
je 0x140011aef
cmp eax, 0x600
je 0x140011b70
cmp eax, 0x700
jne 0x140011b4b
mov r9d, 1
mov r8d, 0x80
bt edi, 8
jae 0x140011b17
not sil
mov eax, 0x81
and sil, byte [rbx + 0x158]
test r8b, sil
cmove r8d, eax
test dil, 0x40
je 0x140011b28
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 0x140011b85
cmp eax, 0x10
je 0x140011b81
cmp eax, 0x20
je 0x140011b7b
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
mov r9d, 5
jmp 0x140011af5
bts ecx, 0x1b
jmp 0x140011b85
bts ecx, 0x1c
bts ecx, 0x19
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbx + 0x150]
mov dword [rsp + 0x20], r9d
xor r9d, r9d
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140011c05
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140011bf2
and edi, 0x500
cmp edi, 0x100
jne 0x140011bf2
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 0x140011cbc
mov edx, edi
mov rcx, rsi
call fcn.140026044
test eax, eax
jns 0x140011ca0
call fcn.140025ad8
cmp dword [rax], 0x18
jne 0x140011c4f
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 0x140011c69
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x14c], eax
mov ecx, eax
jmp 0x140011c78
mov dword [rbx + 0x14c], 0xfffff002
mov ecx, 0xfffff002
call fcn.140016b80
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 0x140011ccb
call fcn.140025ab8
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.140016b80
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 0x140011d18
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.140025fcc
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x140011d5e
lea ecx, [rbx + 6]
mov dword [rdi + 0x14c], 6
call fcn.140016b80
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x140011e72
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x58], r14
cmp rbp, 0xffffffffffffffff
je 0x140011db2
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 0x140011db5
mov r13d, 1
jmp 0x140011db5
mov r12, rbx
mov esi, ebx
cmp rbp, 0xffffffffffffffff
je 0x140011dce
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 0x140011e11
cmp ebx, dword [rdi + 0x170]
jb 0x140011db7
mov r12, qword [rsp + 0x68]
test r13d, r13d
je 0x140011e32
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 0x140011e64
test esi, esi
jne 0x140011e64
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
je 0x140011e64
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.140016b80
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x140011e6d
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 0x140011ec8
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.140025fcc
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x140011f0e
lea ecx, [rbx + 6]
mov dword [rdi + 0x14c], 6
call fcn.140016b80
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x14001201d
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x58], r14
cmp rbp, 0xffffffffffffffff
je 0x140011f62
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 0x140011f65
mov r13d, 1
jmp 0x140011f65
mov r12, rbx
mov esi, ebx
cmp rbp, 0xffffffffffffffff
je 0x140011f7e
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 0x140011fc1
cmp ebx, dword [rdi + 0x170]
jb 0x140011f67
mov r12, qword [rsp + 0x68]
test r13d, r13d
je 0x140011fe2
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 0x14001200f
test esi, esi
jne 0x14001200f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.140016b80
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x140012018
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 [0x140067020]
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 0x1400120bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.140016b80
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x1400121d5
lea rdx, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x1400120df
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400121b5
mov eax, dword [rsp + 0x80]
test al, 0x10
je 0x140012130
bt eax, 0xa
jb 0x140012100
mov ecx, 5
mov dword [rbx + 0x14c], ecx
jmp 0x1400121bd
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1400117f0
test eax, eax
jns 0x140012129
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x5b8
mov ecx, 5
cmove eax, ecx
jmp 0x1400121b5
mov eax, dword [rsp + 0x80]
test al, 1
je 0x140012179
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 [0x14006aa68]
test eax, eax
js 0x1400121ad
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 [0x14006aa68]
test eax, eax
js 0x1400121ad
mov qword [rbx + 0x40], 0
jmp 0x1400121cc
mov ecx, eax
call qword [0x14006aa88]
mov dword [rbx + 0x14c], eax
mov ecx, eax
call fcn.140016b80
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.14001bfd0
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 0x140012214
mov qword [rsp + 0x68], rsi
cmp rax, 6
jb 0x14001255b
lea rsi, [rcx + rax*2]
mov r8d, 6
lea rcx, [rsi - 0xc]
lea rdx, str.XXXXXX
call fcn.140027d4c
test eax, eax
jne 0x14001255b
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 0x140012297
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.140016b80
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 0x1400124ec
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.1400262dc
test eax, eax
je 0x1400124b3
call fcn.140025ad8
cmp dword [rax], 0x11
jne 0x140012499
add edi, 0xffffffff
jne 0x1400122c0
jmp 0x140012509
mov qword [rbx + 0x88], 0xffffffffffffffff
call fcn.140025ab8
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
jmp 0x1400124fa
mov rcx, qword [rbx + 0x98]
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x1400124c0
add rcx, 0xfffffffffffffffa
lea rdx, [rsi - 0xc]
add rcx, rax
mov r8d, 6
call fcn.140027ca0
mov qword [rbx + 0x88], 0
jmp 0x140012509
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x14c], eax
mov ecx, eax
call fcn.140016b80
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 0x140012570
mov qword [rbx + 0x88], 0xffffffffffffffff
call fcn.140025ab8
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.140016b80
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.140034ab0
sub rsp, rax
mov rax, qword [0x140067020]
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 0x140012902
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 [0x14006aa70]
cmp eax, 0xc000000d
jne 0x140012676
mov qword [rbx + 0x88], 0xfffffffffffff02c
mov dword [rbx + 0x14c], 0x10b
jmp 0x14001291f
test eax, eax
js 0x140012855
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 0x1400126b6
lea rax, [rbx + 0x1f]
lea rax, [rsi + rax*2]
cmp word [rax], 0
jne 0x1400126b6
sub rax, 2
sub rbx, 1
jne 0x1400126a6
test rbx, rbx
je 0x1400127dc
cmp rbx, 1
jne 0x1400126cc
cmp word [rsi + 0x40], 0x2e
jmp 0x1400126de
cmp rbx, 2
jne 0x1400126e4
cmp word [rsi + 0x40], 0x2e
jne 0x1400126e4
cmp word [rsi + 0x42], 0x2e
je 0x1400127dc
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 0x1400128fd
cmp r12, r14
jb 0x14001274a
test r14, r14
jne 0x140012728
mov r14d, 0x20
jmp 0x14001272b
add r14, r14
lea rdx, [r14*8]
mov rcx, rdi
call qword [fcn.140020388]
test rax, rax
je 0x14001288b
mov qword [rsp + 0x60], rax
lea rcx, [rbp + 8]
call qword [fcn.1400207e4]
mov rdi, rax
test rax, rax
je 0x140012886
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 0x1400128f8
mov byte [rdi + rbp + 4], 0
mov eax, dword [rsi + 0x38]
test al, 0x40
je 0x1400127b7
mov dword [rdi], 6
xor ebp, ebp
jmp 0x1400127d7
bt eax, 0xa
jae 0x1400127c7
mov dword [rdi], 3
xor ebp, ebp
jmp 0x1400127d7
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 0x140012690
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 [0x14006aa70]
test eax, eax
jne 0x14001284a
cmp qword [rsp + 0x80], r13
jne 0x140012680
mov eax, 0x80000005
jmp 0x14001285c
jns 0x140012680
mov rbx, qword [rsp + 0x68]
cmp eax, 0x80000006
je 0x1400128a8
mov ecx, eax
call qword [0x14006aa88]
mov r8, qword [rsp + 0x68]
mov ecx, eax
mov dword [r8 + 0x14c], eax
call fcn.140016b80
movsxd rcx, eax
mov qword [r8 + 0x88], rcx
jmp 0x14001291f
mov rdi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov qword [r8 + 0x88], 0xfffffffffffff027
mov dword [r8 + 0x14c], select
jmp 0x14001291f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x90], rdi
test rdi, rdi
je 0x1400128c4
or dword [rbx + 0x148], 8
mov qword [rbx + 0x88], r12
cmp r12, 0xffffffffffffffff
jne 0x1400128ed
call fcn.140025ab8
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.140016b80
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov dword [rbx + 0x170], ebp
jmp 0x14001298a
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.140016b80
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x140012930
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r12, r12
je 0x140012969
nop word [rax + rax]
mov rbx, qword [rdi + r12*8 - 8]
dec r12
call fcn.140025ad8
mov rcx, rbx
mov edi, dword [rax]
call qword [fcn.140020504]
call fcn.140025ad8
mov dword [rax], edi
mov rdi, qword [rsp + 0x60]
test r12, r12
jne 0x140012940
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x14001298a
call fcn.140025ad8
mov rcx, rdi
mov ebx, dword [rax]
call qword [fcn.140020504]
call fcn.140025ad8
mov dword [rax], ebx
mov rcx, qword [rsp + 0x2088]
xor rcx, rsp
call fcn.14001bfd0
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
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x150]
cmp ecx, 0xffffffff
jne 0x140012d6f
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
add rsp, 0x20
pop rbx
ret
call fcn.140025fcc
cmp rax, 0xffffffffffffffff
jne 0x140012d9c
lea ecx, [rax + 7]
mov dword [rbx + 0x14c], 6
call fcn.140016b80
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x30], rdi
mov rcx, rax
lea rdi, [rbx + 0xa0]
mov rdx, rdi
call fcn.1400129c0
test eax, eax
je 0x140012ddf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.140016b80
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 0x140012e2f
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
add rsp, 0x20
pop rbx
ret
call fcn.140025fcc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
neg eax
sbb ecx, ecx
neg ecx
dec ecx
cmp ecx, 0xffffffff
jne 0x140012e5a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x14c], eax
mov ecx, eax
jmp 0x140012e77
movsxd rax, ecx
mov qword [rbx + 0x88], rax
cmp rax, 0xffffffffffffffff
jne 0x140012e86
call fcn.140025ab8
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.140016b80
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 0x140012ebf
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
add rsp, 0x40
pop rbx
ret
call fcn.140025fcc
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 [0x14006aa68]
test eax, eax
js 0x140012f06
mov qword [rbx + 0x88], 0
add rsp, 0x40
pop rbx
ret
mov ecx, eax
call qword [0x14006aa88]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.140016b80
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.1400207e4]
mov rsi, rax
test rax, rax
je 0x140013054
cmp r14, 0xffffffffffffffff
je 0x140012fa5
xor r8d, r8d
mov rdx, r14
mov ecx, r12d
call fcn.1400262cc
cmp rax, 0xffffffffffffffff
je 0x140012ff0
test rbx, rbx
je 0x140012ff3
nop word [rax + rax]
mov r8d, ebp
cmp rbx, rbp
mov rdx, rsi
mov ecx, r12d
cmovb r8d, ebx
call fcn.140026860
test eax, eax
je 0x140012ff3
cmp eax, 0xffffffff
je 0x140012ff0
movsxd rcx, eax
mov r8d, eax
sub rbx, rcx
mov rdx, rsi
mov ecx, r13d
call fcn.14002759c
cmp eax, 0xffffffff
je 0x140012ff0
add edi, eax
test rbx, rbx
jne 0x140012fb0
jmp 0x140012ff3
or edi, 0xffffffff
call fcn.140025ad8
mov rcx, rsi
mov ebx, dword [rax]
call qword [fcn.140020504]
call fcn.140025ad8
mov dword [rax], ebx
movsxd rax, edi
mov qword [r15 + 0x88], rax
cmp rax, 0xffffffffffffffff
jne 0x140013037
call fcn.140025ab8
mov ecx, dword [rax]
mov dword [r15 + 0x14c], ecx
call fcn.140016b80
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.140016ad0
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 0x1400130ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.140016b80
movsxd rdx, eax
mov qword [rbx + 0x88], rdx
add rsp, 0x20
pop rbx
ret
test byte [rbx + 0x158], 2
je 0x1400130e1
and al, 0x11
cmp al, 1
jne 0x1400130e1
mov ecx, 0xfffff030
mov dword [rbx + 0x14c], 0xfffff030
call fcn.140016b80
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 [0x140067020]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov ecx, dword [rcx + 0x150]
cmp ecx, 0xffffffff
jne 0x14001314b
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14001bfd0
add rsp, 0x70
pop rbx
ret
mov qword [rsp + 0x88], rdi
call fcn.140025fcc
mov r9d, 0x28
mov dword [rsp + 0x20], 4
lea r8, [rsp + 0x40]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rdi, rax
call qword [0x14006aa48]
test eax, eax
js 0x1400131bf
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 [0x14006aa68]
test eax, eax
jns 0x1400131e0
mov ecx, eax
call qword [0x14006aa88]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.140016b80
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x1400131e8
mov qword [rbx + 0x40], 0
mov rdi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14001bfd0
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 0x140013330
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.140016b80
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.140013210
test eax, eax
je 0x14001337d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.140016b80
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 0x1400133cf
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
add rsp, 0x20
pop rbx
ret
call fcn.140025fcc
cmp rax, 0xffffffffffffffff
jne 0x1400133fc
lea ecx, [rax + 7]
mov dword [rbx + 0x14c], 6
call fcn.140016b80
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.140013210
test eax, eax
je 0x14001343b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.140016b80
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 0x140013480
mov ebx, 4
lea rdx, str.__
mov r8d, ebx
mov rcx, rsi
call fcn.140027d4c
test eax, eax
sete bpl
test ebp, ebp
jne 0x1400134f7
cmp edi, 3
jl 0x1400134dc
movzx ecx, word [rsi]
lea eax, [rcx - 0x61]
cmp ax, 0x19
jbe 0x1400134c5
sub cx, 0x41
cmp cx, 0x19
ja 0x1400134dc
cmp word [rsi + 2], 0x3a
jne 0x1400134dc
movzx eax, word [rsi + 4]
cmp ax, 0x2f
je 0x1400134f7
cmp ax, 0x5c
je 0x1400134f7
mov qword [r14 + 0x88], 0xfffffffffffff019
mov dword [r14 + 0x14c], 0x32
jmp 0x14001377d
lea eax, [rdi*4 + 0x20]
mov qword [rsp + 0x80], r15
movsxd rcx, eax
call qword [fcn.1400207e4]
mov r15, rax
test rax, rax
je 0x140013796
mov r8, rbx
lea rdx, str.___
lea rcx, [rax + 0x10]
call fcn.140026de0
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 0x140013598
mov r10d, r11d
mov rdx, r8
movzx eax, word [rdx]
cmp ax, bp
je 0x140013583
cmp ax, 0x2f
je 0x140013583
test r9d, r9d
je 0x140013571
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 0x140013589
mov r9d, 1
inc r10
cmp word [rsi + r10*2], 0
lea rdx, [rsi + r10*2]
jne 0x140013550
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 0x140013617
nop word [rax + rax]
movzx eax, word [r8]
cmp ax, bp
je 0x140013603
cmp ax, 0x2f
je 0x140013603
test edx, edx
je 0x1400135f0
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 0x140013608
mov edx, 1
inc r11
cmp word [rsi + r11*2], 0
lea r8, [rsi + r11*2]
jne 0x1400135d0
mov eax, ebx
sub eax, r9d
cmp eax, 2
jne 0x140013631
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 0x140013692
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [r14 + 0x14c], eax
call fcn.140016b80
mov edi, dword [rsp + 0x98]
jmp 0x14001370f
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 0x1400136fb
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 0x14001374e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [r14 + 0x14c], eax
call fcn.140016b80
movsxd rcx, eax
mov qword [r14 + 0x88], rcx
call fcn.140025ad8
mov rcx, r15
mov ebx, dword [rax]
call qword [fcn.140020504]
call fcn.140025ad8
mov dword [rax], ebx
cmp r12, 0xffffffffffffffff
je 0x14001373f
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140013775
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140013775
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140025ad8
mov rcx, r15
mov ebx, dword [rax]
call qword [fcn.140020504]
call fcn.140025ad8
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.140016ad0
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 0x140013843
mov edi, dword [reloc.WS2_32.dll_bind]
mov esi, 1
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [0x14006aa50]
test rax, rax
je 0x14001389f
test byte [rbx + 0x168], sil
cmovne edi, esi
mov r8d, edi
call rax
test al, al
jne 0x140013884
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x14001385d
test dil, 2
je 0x14001385d
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 0x1400137f0
mov r8, rcx
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140013450
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.140016b80
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 0x14001393c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.140016b80
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.1400117f0
test eax, eax
je 0x140013971
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.140016b80
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x140013983
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 [0x14006aa60], 0
mov rbx, rcx
jne 0x140013afe
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 0x140013b58
lea rdx, [rbx + 0x90]
mov rcx, rax
call fcn.1400139a0
mov rcx, rdi
cmp rax, 0xffffffffffffffff
jne 0x140013b80
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.140016b80
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.0x140013bde
lea rcx, [0x140000000]
cdqe
mov edx, dword [rcx + rax*4 + 0x13f40]
add rdx, rcx
jmp rdx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140011a30
mov ecx, dword [rbx + 0x150]
cmp ecx, 0xffffffff
je 0x140013c0f
cmp ecx, 2
jle case.0x140013bde.26
call fcn.140026e9c
cmp eax, 0xffffffff
jne case.0x140013bde.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 0x140011ce0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140011e90
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.0x140013bde.26
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.140016b80
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140012f30
mov rcx, qword [rbx + 0x150]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140013ca6
cmp rax, 1
jbe 0x140013cd9
cmp word [rcx + rax*2 - 4], 0x3a
je 0x140013cd9
lea rdx, [rcx + rax*2]
movzx eax, word [rcx + rax*2 - 2]
cmp ax, 0x5c
je 0x140013cd3
cmp ax, 0x2f
jne 0x140013cd9
xor eax, eax
mov word [rdx - 2], ax
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140012c30
mov rcx, qword [rbx + 0x150]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140013cf3
cmp rax, 1
jbe 0x140013d26
cmp word [rcx + rax*2 - 4], 0x3a
je 0x140013d26
lea rdx, [rcx + rax*2]
movzx eax, word [rcx + rax*2 - 2]
cmp ax, 0x5c
je 0x140013d20
cmp ax, 0x2f
jne 0x140013d26
xor eax, eax
mov word [rdx - 2], ax
mov edx, 1
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140012c30
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140012d40
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140012e90
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400132c0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400133a0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140013070
mov edx, dword [rbx + 0x158]
mov rcx, qword [rbx + 0x150]
call fcn.140027ca8
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
cmp rcx, 0xffffffffffffffff
jne case.default.0x140013bde
call fcn.140025ab8
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.140016b80
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140013100
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140012e00
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140012040
mov rcx, qword [rbx + 0x150]
call fcn.140026308
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
cmp rcx, 0xffffffffffffffff
jne case.default.0x140013bde
call fcn.140025ab8
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.140016b80
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx + 0x150]
call fcn.1400262dc
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
cmp rcx, 0xffffffffffffffff
jne case.default.0x140013bde
call fcn.140025ab8
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.140016b80
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140012200
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.0x140013bde.26
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.140016b80
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140012580
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.0x140013bde.26
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.140016b80
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400137b0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400138d0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140013ad0
xor eax, eax
mov qword [rbx + 0x88], rax
add rsp, 0x20
pop rbx
ret