Function at 0x14000ba00
Capabilities:
Check if file exists
Copy file
Create directory
Delete directory
Generate random numbers via winapi
Move file
Read file on windows
Write file on windows

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.1400662b8
mov ecx, eax
mov esi, eax
call fcn.1400662b8
mov ecx, edi
and ecx, 3
je 0x14000979b
sub ecx, 1
je 0x140009794
cmp ecx, 1
jne 0x14000986b
mov edx, 0x12019f
jmp 0x1400097a0
mov edx, 0x120116
jmp 0x1400097a0
mov edx, 0x120089
test dil, 8
je 0x1400097ac
and edx, 0xfffffffd
or edx, 4
mov eax, edi
and eax, 0x700
cmp eax, 0x400
ja 0x1400097f6
test eax, 0xfffffbff
je 0x1400097ee
cmp eax, 0x100
je 0x1400097e6
cmp eax, 0x200
je 0x140009890
cmp eax, 0x300
jne 0x14000986b
mov r9d, 2
jmp 0x140009815
mov r9d, 4
jmp 0x140009815
mov r9d, 3
jmp 0x140009815
cmp eax, 0x500
je 0x14000980f
cmp eax, 0x600
je 0x140009890
cmp eax, 0x700
jne 0x14000986b
mov r9d, 1
mov r8d, 0x80
bt edi, 8
jae 0x140009837
not sil
mov eax, 0x81
and sil, byte [rbx + 0x158]
test r8b, sil
cmove r8d, eax
test dil, 0x40
je 0x140009848
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 0x1400098a5
cmp eax, 0x10
je 0x1400098a1
cmp eax, 0x20
je 0x14000989b
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 0x140009815
bts ecx, 0x1b
jmp 0x1400098a5
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 0x140009925
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140009912
and edi, 0x500
cmp edi, 0x100
jne 0x140009912
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 0x1400099dc
mov edx, edi
mov rcx, rsi
call fcn.14005c710
test eax, eax
jns 0x1400099c0
call fcn.14005c18c
cmp dword [rax], 0x18
jne 0x14000996f
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 0x140009989
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x14c], eax
mov ecx, eax
jmp 0x140009998
mov dword [rbx + 0x14c], 0xfffff002
mov ecx, 0xfffff002
call fcn.14000f480
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 0x1400099eb
call fcn.14005c16c
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.14000f480
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 0x140009a38
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.14005c698
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x140009a7e
lea ecx, [rbx + 6]
mov dword [rdi + 0x14c], 6
call fcn.14000f480
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x140009b92
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x58], r14
cmp rbp, 0xffffffffffffffff
je 0x140009ad2
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 0x140009ad5
mov r13d, 1
jmp 0x140009ad5
mov r12, rbx
mov esi, ebx
cmp rbp, 0xffffffffffffffff
je 0x140009aee
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 0x140009b31
cmp ebx, dword [rdi + 0x170]
jb 0x140009ad7
mov r12, qword [rsp + 0x68]
test r13d, r13d
je 0x140009b52
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 0x140009b84
test esi, esi
jne 0x140009b84
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
je 0x140009b84
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.14000f480
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x140009b8d
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 0x140009be8
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.14005c698
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x140009c2e
lea ecx, [rbx + 6]
mov dword [rdi + 0x14c], 6
call fcn.14000f480
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x140009d3d
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x58], r14
cmp rbp, 0xffffffffffffffff
je 0x140009c82
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 0x140009c85
mov r13d, 1
jmp 0x140009c85
mov r12, rbx
mov esi, ebx
cmp rbp, 0xffffffffffffffff
je 0x140009c9e
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 0x140009ce1
cmp ebx, dword [rdi + 0x170]
jb 0x140009c87
mov r12, qword [rsp + 0x68]
test r13d, r13d
je 0x140009d02
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 0x140009d2f
test esi, esi
jne 0x140009d2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rdi + 0x14c], eax
call fcn.14000f480
movsxd rcx, eax
mov qword [rdi + 0x88], rcx
jmp 0x140009d38
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 [0x1400af210]
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 0x140009ddf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14000f480
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x140009ef5
lea rdx, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x140009dff
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140009ed5
mov eax, dword [rsp + 0x80]
test al, 0x10
je 0x140009e50
bt eax, 0xa
jb 0x140009e20
mov ecx, 5
mov dword [rbx + 0x14c], ecx
jmp 0x140009edd
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.140009510
test eax, eax
jns 0x140009e49
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x5b8
mov ecx, 5
cmove eax, ecx
jmp 0x140009ed5
mov eax, dword [rsp + 0x80]
test al, 1
je 0x140009e99
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 [0x1400b9488]
test eax, eax
js 0x140009ecd
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 [0x1400b9488]
test eax, eax
js 0x140009ecd
mov qword [rbx + 0x40], 0
jmp 0x140009eec
mov ecx, eax
call qword [0x1400b94a8]
mov dword [rbx + 0x14c], eax
mov ecx, eax
call fcn.14000f480
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.140052350
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 0x140009f34
mov qword [rsp + 0x68], rsi
cmp rax, 6
jb 0x14000a27b
lea rsi, [rcx + rax*2]
mov r8d, 6
lea rcx, [rsi - 0xc]
lea rdx, str.XXXXXX
call fcn.14005e504
test eax, eax
jne 0x14000a27b
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 0x140009fb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14000f480
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 0x14000a20c
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.14005c9a8
test eax, eax
je 0x14000a1d3
call fcn.14005c18c
cmp dword [rax], 0x11
jne 0x14000a1b9
add edi, 0xffffffff
jne 0x140009fe0
jmp 0x14000a229
mov qword [rbx + 0x88], 0xffffffffffffffff
call fcn.14005c16c
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
jmp 0x14000a21a
mov rcx, qword [rbx + 0x98]
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x14000a1e0
add rcx, 0xfffffffffffffffa
lea rdx, [rsi - 0xc]
add rcx, rax
mov r8d, 6
call fcn.14005e458
mov qword [rbx + 0x88], 0
jmp 0x14000a229
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x14c], eax
mov ecx, eax
call fcn.14000f480
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 0x14000a290
mov qword [rbx + 0x88], 0xffffffffffffffff
call fcn.14005c16c
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.14000f480
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.1400526c0
sub rsp, rax
mov rax, qword [0x1400af210]
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 0x14000a622
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 [0x1400b9490]
cmp eax, 0xc000000d
jne 0x14000a396
mov qword [rbx + 0x88], 0xfffffffffffff02c
mov dword [rbx + 0x14c], 0x10b
jmp 0x14000a63f
test eax, eax
js 0x14000a575
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 0x14000a3d6
lea rax, [rbx + 0x1f]
lea rax, [rsi + rax*2]
cmp word [rax], 0
jne 0x14000a3d6
sub rax, 2
sub rbx, 1
jne 0x14000a3c6
test rbx, rbx
je 0x14000a4fc
cmp rbx, 1
jne 0x14000a3ec
cmp word [rsi + 0x40], 0x2e
jmp 0x14000a3fe
cmp rbx, 2
jne 0x14000a404
cmp word [rsi + 0x40], 0x2e
jne 0x14000a404
cmp word [rsi + 0x42], 0x2e
je 0x14000a4fc
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 0x14000a61d
cmp r12, r14
jb 0x14000a46a
test r14, r14
jne 0x14000a448
mov r14d, 0x20
jmp 0x14000a44b
add r14, r14
lea rdx, [r14*8]
mov rcx, rdi
call qword [fcn.140056c4c]
test rax, rax
je 0x14000a5ab
mov qword [rsp + 0x60], rax
lea rcx, [rbp + 8]
call qword [fcn.140056c44]
mov rdi, rax
test rax, rax
je 0x14000a5a6
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 0x14000a618
mov byte [rdi + rbp + 4], 0
mov eax, dword [rsi + 0x38]
test al, 0x40
je 0x14000a4d7
mov dword [rdi], 6
xor ebp, ebp
jmp 0x14000a4f7
bt eax, 0xa
jae 0x14000a4e7
mov dword [rdi], 3
xor ebp, ebp
jmp 0x14000a4f7
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 0x14000a3b0
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 [0x1400b9490]
test eax, eax
jne 0x14000a56a
cmp qword [rsp + 0x80], r13
jne 0x14000a3a0
mov eax, 0x80000005
jmp 0x14000a57c
jns 0x14000a3a0
mov rbx, qword [rsp + 0x68]
cmp eax, 0x80000006
je 0x14000a5c8
mov ecx, eax
call qword [0x1400b94a8]
mov r8, qword [rsp + 0x68]
mov ecx, eax
mov dword [r8 + 0x14c], eax
call fcn.14000f480
movsxd rcx, eax
mov qword [r8 + 0x88], rcx
jmp 0x14000a63f
mov rdi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov qword [r8 + 0x88], 0xfffffffffffff027
mov dword [r8 + 0x14c], send
jmp 0x14000a63f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x90], rdi
test rdi, rdi
je 0x14000a5e4
or dword [rbx + 0x148], 8
mov qword [rbx + 0x88], r12
cmp r12, 0xffffffffffffffff
jne 0x14000a60d
call fcn.14005c16c
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.14000f480
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov dword [rbx + 0x170], ebp
jmp 0x14000a6aa
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.14000f480
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x14000a650
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r12, r12
je 0x14000a689
nop word [rax + rax]
mov rbx, qword [rdi + r12*8 - 8]
dec r12
call fcn.14005c18c
mov rcx, rbx
mov edi, dword [rax]
call qword [fcn.140056c3c]
call fcn.14005c18c
mov dword [rax], edi
mov rdi, qword [rsp + 0x60]
test r12, r12
jne 0x14000a660
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x14000a6aa
call fcn.14005c18c
mov rcx, rdi
mov ebx, dword [rax]
call qword [fcn.140056c3c]
call fcn.14005c18c
mov dword [rax], ebx
mov rcx, qword [rsp + 0x2088]
xor rcx, rsp
call fcn.140052350
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 0x14000aa80
xor ebp, ebp
cmp rax, 1
jbe 0x14000aab3
cmp word [rcx + rax*2 - 4], 0x3a
je 0x14000aab3
lea rdx, [rcx + rax*2]
movzx eax, word [rcx + rax*2 - 2]
cmp ax, 0x5c
je 0x14000aaaf
cmp ax, 0x2f
jne 0x14000aab3
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 0x14000ab17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14000f480
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
mov rcx, rdi
lea rsi, [rbx + 0xa0]
mov rdx, rsi
call fcn.14000a6e0
test eax, eax
je 0x14000ab57
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14000f480
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x14000ab65
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 0x14000abbf
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
add rsp, 0x20
pop rbx
ret
call fcn.14005c698
cmp rax, 0xffffffffffffffff
jne 0x14000abec
lea ecx, [rax + 7]
mov dword [rbx + 0x14c], 6
call fcn.14000f480
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.14000a6e0
test eax, eax
je 0x14000ac2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14000f480
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 0x14000ac7f
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
add rsp, 0x20
pop rbx
ret
call fcn.14005c698
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
neg eax
sbb ecx, ecx
neg ecx
dec ecx
cmp ecx, 0xffffffff
jne 0x14000acaa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x14c], eax
mov ecx, eax
jmp 0x14000acc7
movsxd rax, ecx
mov qword [rbx + 0x88], rax
cmp rax, 0xffffffffffffffff
jne 0x14000acd6
call fcn.14005c16c
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.14000f480
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 0x14000ad0f
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
add rsp, 0x40
pop rbx
ret
call fcn.14005c698
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 [0x1400b9488]
test eax, eax
js 0x14000ad56
mov qword [rbx + 0x88], 0
add rsp, 0x40
pop rbx
ret
mov ecx, eax
call qword [0x1400b94a8]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14000f480
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.140056c44]
mov rsi, rax
test rax, rax
je 0x14000aea4
cmp r14, 0xffffffffffffffff
je 0x14000adf5
xor r8d, r8d
mov rdx, r14
mov ecx, r12d
call fcn.14005c998
cmp rax, 0xffffffffffffffff
je 0x14000ae40
test rbx, rbx
je 0x14000ae43
nop word [rax + rax]
mov r8d, ebp
cmp rbx, rbp
mov rdx, rsi
mov ecx, r12d
cmovb r8d, ebx
call fcn.14005cf2c
test eax, eax
je 0x14000ae43
cmp eax, 0xffffffff
je 0x14000ae40
movsxd rcx, eax
mov r8d, eax
sub rbx, rcx
mov rdx, rsi
mov ecx, r13d
call fcn.14005dc68
cmp eax, 0xffffffff
je 0x14000ae40
add edi, eax
test rbx, rbx
jne 0x14000ae00
jmp 0x14000ae43
or edi, 0xffffffff
call fcn.14005c18c
mov rcx, rsi
mov ebx, dword [rax]
call qword [fcn.140056c3c]
call fcn.14005c18c
mov dword [rax], ebx
movsxd rax, edi
mov qword [r15 + 0x88], rax
cmp rax, 0xffffffffffffffff
jne 0x14000ae87
call fcn.14005c16c
mov ecx, dword [rax]
mov dword [r15 + 0x14c], ecx
call fcn.14000f480
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, recv
call fcn.14000f3c0
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 0x14000aefe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14000f480
movsxd rdx, eax
mov qword [rbx + 0x88], rdx
add rsp, 0x20
pop rbx
ret
test byte [rbx + 0x158], 2
je 0x14000af31
and al, 0x11
cmp al, 1
jne 0x14000af31
mov ecx, 0xfffff030
mov dword [rbx + 0x14c], 0xfffff030
call fcn.14000f480
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 [0x1400af210]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov ecx, dword [rcx + 0x150]
cmp ecx, 0xffffffff
jne 0x14000af9b
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140052350
add rsp, 0x70
pop rbx
ret
mov qword [rsp + 0x88], rdi
call fcn.14005c698
mov r9d, 0x28
mov dword [rsp + 0x20], 4
lea r8, [rsp + 0x40]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rdi, rax
call qword [0x1400b9468]
test eax, eax
js 0x14000b00f
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 [0x1400b9488]
test eax, eax
jns 0x14000b030
mov ecx, eax
call qword [0x1400b94a8]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14000f480
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x14000b038
mov qword [rbx + 0x40], 0
mov rdi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140052350
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 0x14000b180
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14000f480
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.14000b060
test eax, eax
je 0x14000b1cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14000f480
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 0x14000b21f
mov qword [rbx + 0x88], 0xfffffffffffff00d
mov dword [rbx + 0x14c], 6
add rsp, 0x20
pop rbx
ret
call fcn.14005c698
cmp rax, 0xffffffffffffffff
jne 0x14000b24c
lea ecx, [rax + 7]
mov dword [rbx + 0x14c], 6
call fcn.14000f480
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.14000b060
test eax, eax
je 0x14000b28b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14000f480
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 0x14000b2d0
mov ebx, 4
lea rdx, str.__
mov r8d, ebx
mov rcx, rsi
call fcn.14005e504
test eax, eax
sete bpl
test ebp, ebp
jne 0x14000b347
cmp edi, 3
jl 0x14000b32c
movzx ecx, word [rsi]
lea eax, [rcx - 0x61]
cmp ax, 0x19
jbe 0x14000b315
sub cx, 0x41
cmp cx, 0x19
ja 0x14000b32c
cmp word [rsi + 2], 0x3a
jne 0x14000b32c
movzx eax, word [rsi + 4]
cmp ax, 0x2f
je 0x14000b347
cmp ax, 0x5c
je 0x14000b347
mov qword [r14 + 0x88], 0xfffffffffffff019
mov dword [r14 + 0x14c], gethostname
jmp 0x14000b5cd
lea eax, [rdi*4 + 0x20]
mov qword [rsp + 0x80], r15
movsxd rcx, eax
call qword [fcn.140056c44]
mov r15, rax
test rax, rax
je 0x14000b5e6
mov r8, rbx
lea rdx, str.___
lea rcx, [rax + 0x10]
call fcn.14005d4ac
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 0x14000b3e8
mov r10d, r11d
mov rdx, r8
movzx eax, word [rdx]
cmp ax, bp
je 0x14000b3d3
cmp ax, 0x2f
je 0x14000b3d3
test r9d, r9d
je 0x14000b3c1
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 0x14000b3d9
mov r9d, 1
inc r10
cmp word [rsi + r10*2], 0
lea rdx, [rsi + r10*2]
jne 0x14000b3a0
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 0x14000b467
nop word [rax + rax]
movzx eax, word [r8]
cmp ax, bp
je 0x14000b453
cmp ax, 0x2f
je 0x14000b453
test edx, edx
je 0x14000b440
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 0x14000b458
mov edx, 1
inc r11
cmp word [rsi + r11*2], 0
lea r8, [rsi + r11*2]
jne 0x14000b420
mov eax, ebx
sub eax, r9d
cmp eax, 2
jne 0x14000b481
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 0x14000b4e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [r14 + 0x14c], eax
call fcn.14000f480
mov edi, dword [rsp + 0x98]
jmp 0x14000b55f
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 0x14000b54b
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 0x14000b59e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [r14 + 0x14c], eax
call fcn.14000f480
movsxd rcx, eax
mov qword [r14 + 0x88], rcx
call fcn.14005c18c
mov rcx, r15
mov ebx, dword [rax]
call qword [fcn.140056c3c]
call fcn.14005c18c
mov dword [rax], ebx
cmp r12, 0xffffffffffffffff
je 0x14000b58f
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14000b5c5
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14000b5c5
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.14005c18c
mov rcx, r15
mov ebx, dword [rax]
call qword [fcn.140056c3c]
call fcn.14005c18c
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, recv
call fcn.14000f3c0
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 0x14000b693
mov edi, dword [reloc.WS2_32.dll_bind]
mov esi, 1
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [0x1400b9470]
test rax, rax
je 0x14000b6ef
test byte [rbx + 0x168], sil
cmovne edi, esi
mov r8d, edi
call rax
test al, al
jne 0x14000b6d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x14000b6ad
test dil, 2
je 0x14000b6ad
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 0x14000b640
mov r8, rcx
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14000b2a0
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14000f480
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], gethostname
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 0x14000b78c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14000f480
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.140009510
test eax, eax
je 0x14000b7c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14000f480
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
jmp 0x14000b7d3
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 [0x1400b9480], 0
mov rbx, rcx
jne 0x14000b94e
mov qword [rcx + 0x88], 0xfffffffffffff02a
mov dword [rcx + 0x14c], gethostname
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 0x14000b9a8
lea rdx, [rbx + 0x90]
mov rcx, rax
call fcn.14000b7f0
mov rcx, rdi
cmp rax, 0xffffffffffffffff
jne 0x14000b9d0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14000f480
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.0x14000ba2e
lea rcx, [0x140000000]
cdqe
mov edx, dword [rcx + rax*4 + 0xbd50]
add rdx, rcx
jmp rdx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140009750
mov ecx, dword [rbx + 0x150]
cmp ecx, 0xffffffff
je 0x14000ba5f
cmp ecx, 2
jle case.0x14000ba2e.26
call fcn.14005d568
cmp eax, 0xffffffff
jne case.0x14000ba2e.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 0x140009a00
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140009bb0
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.0x14000ba2e.26
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14000f480
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14000ad80
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14000aa60
mov rcx, qword [rbx + 0x150]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000bb03
cmp rax, 1
jbe 0x14000bb36
cmp word [rcx + rax*2 - 4], 0x3a
je 0x14000bb36
lea rdx, [rcx + rax*2]
movzx eax, word [rcx + rax*2 - 2]
cmp ax, 0x5c
je 0x14000bb30
cmp ax, 0x2f
jne 0x14000bb36
xor eax, eax
mov word [rdx - 2], ax
mov edx, 1
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14000a950
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14000ab90
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14000ace0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14000b110
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14000b1f0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14000aec0
mov edx, dword [rbx + 0x158]
mov rcx, qword [rbx + 0x150]
call fcn.14005e460
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
cmp rcx, 0xffffffffffffffff
jne case.default.0x14000ba2e
call fcn.14005c16c
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.14000f480
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14000af50
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14000ac50
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140009d60
mov rcx, qword [rbx + 0x150]
call fcn.14005c9d4
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
cmp rcx, 0xffffffffffffffff
jne case.default.0x14000ba2e
call fcn.14005c16c
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.14000f480
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx + 0x150]
call fcn.14005c9a8
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
cmp rcx, 0xffffffffffffffff
jne case.default.0x14000ba2e
call fcn.14005c16c
mov ecx, dword [rax]
mov dword [rbx + 0x14c], ecx
call fcn.14000f480
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140009f20
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.0x14000ba2e.26
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14000f480
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14000a2a0
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.0x14000ba2e.26
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [rbx + 0x14c], eax
call fcn.14000f480
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14000b600
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14000b720
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14000b920
xor eax, eax
mov qword [rbx + 0x88], rax
add rsp, 0x20
pop rbx
ret