Function at 0x140007e90
Capabilities:
Create directory
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x218], rbx
mov rax, qword [0x14014ee68]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov r14, r8
mov ebp, edx
mov r12, rcx
xor r15d, r15d
test r8, r8
je 0x140007ed9
mov dword [r8], r15d
test edx, edx
je 0x14000836c
test rcx, rcx
je 0x14000836c
lea eax, [rbp + 2]
mov r13d, eax
mov ecx, eax
call fcn.14000fdf0
mov rsi, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], r15
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140006f50
mov rdx, rax
mov rcx, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov qword [rdx], rcx
or rbx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x140007f5a
mov eax, ebx
lock xadd dword [rdi + 8], eax
add eax, ebx
jne 0x140007f5a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
add eax, ebx
jne 0x140007f5a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
mov r8, rsi
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140005f10
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
jne 0x140007fbf
test r14, r14
je 0x140007f83
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x140007fb5
mov eax, ebx
lock xadd dword [rdi + 8], eax
add eax, 0xffffffff
jne 0x140007fb5
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lock xadd dword [rdi + 0xc], ebx
add ebx, 0xffffffff
jne 0x140007fb5
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
mov eax, 5
jmp 0x140008371
mov r8, r13
xor edx, edx
call fcn.14001ed20
mov r13, rbp
mov r8, rbp
mov rdx, r12
mov rcx, qword [rsp + 0x20]
call fcn.14001e9d0
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14000803e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000803e
test r14, r14
je 0x140008002
mov dword [r14], eax
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x140008034
mov eax, ebx
lock xadd dword [rdi + 8], eax
add eax, 0xffffffff
jne 0x140008034
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lock xadd dword [rdi + 0xc], ebx
add ebx, 0xffffffff
jne 0x140008034
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
mov eax, reloc.WS2_32.dll_send
jmp 0x140008371
mov rcx, qword [rsp + 0x20]
call fcn.14006c130
mov rcx, qword [rsp + 0x20]
call fcn.14006de00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test eax, eax
jne 0x140008327
lea ecx, [rbp + 0xa]
call fcn.14000fdf0
mov rbp, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r15
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140006f50
mov rdx, rax
mov rcx, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov qword [rdx], rcx
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x1400080cb
mov eax, ebx
lock xadd dword [rdi + 8], eax
add eax, 0xffffffff
jne 0x1400080cb
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
add eax, 0xffffffff
jne 0x1400080cb
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
mov r8, rbp
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.140005f10
nop
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x1400080f0
mov edx, 0x5c
mov rcx, qword [rsp + 0x30]
call fcn.14001fd74
test rax, rax
je 0x140008130
cmp byte [rax + 1], 0
jne 0x140008130
mov rdi, qword [rsp + 0x30]
xor eax, eax
mov rcx, rbx
repne scasb al, byte [rdi]
mov eax, dword [0x1400e0d64]
mov dword [rdi - 1], eax
jmp 0x14000814f
mov rdi, qword [rsp + 0x30]
xor eax, eax
mov rcx, rbx
repne scasb al, byte [rdi]
mov eax, dword [str..]
mov dword [rdi - 1], eax
movzx eax, byte [0x1400e0d60]
mov byte [rdi + 3], al
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1400082ef
nop dword [rax]
test byte [rsp + 0x70], 0x10
jne 0x1400082be
xor eax, eax
mov rcx, rbx
lea rdi, [rsp + 0x9c]
repne scasb al, byte [rdi]
not rcx
lea rcx, [rcx + r13 + 1]
call fcn.14000fdf0
mov rsi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r15
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140006f50
mov rdx, rax
mov rcx, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov qword [rdx], rcx
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x1400081f8
mov eax, ebx
lock xadd dword [rdi + 8], eax
add eax, 0xffffffff
jne 0x1400081f8
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
add eax, 0xffffffff
jne 0x1400081f8
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
mov r8, rsi
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140005f10
nop
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x140008213
mov edx, 0x5c
mov rcx, qword [rsp + 0x40]
call fcn.14001fd74
test rax, rax
je 0x14000823c
cmp byte [rax + 1], 0
je 0x140008253
mov rdi, qword [rsp + 0x40]
xor eax, eax
mov rcx, rbx
repne scasb al, byte [rdi]
movzx eax, word [0x1400e0d58]
mov word [rdi - 1], ax
mov rdi, qword [rsp + 0x40]
xor eax, eax
mov rcx, rbx
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x9c]
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x140008270
mov rcx, qword [rsp + 0x40]
call fcn.14006c130
nop
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x1400082be
mov eax, ebx
lock xadd dword [rdi + 8], eax
add eax, 0xffffffff
jne 0x1400082be
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
add eax, 0xffffffff
jne 0x1400082be
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
lea rdx, [rsp + 0x70]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140008170
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x20]
call fcn.14006de00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x140008323
mov eax, ebx
lock xadd dword [rdi + 8], eax
add eax, 0xffffffff
jne 0x140008323
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
add eax, 0xffffffff
jne 0x140008323
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
test esi, esi
je 0x140008335
test r14, r14
je 0x14000832f
mov dword [r14], esi
mov r15d, socket
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x140008367
mov eax, ebx
lock xadd dword [rdi + 8], eax
add eax, 0xffffffff
jne 0x140008367
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
lock xadd dword [rdi + 0xc], ebx
add ebx, 0xffffffff
jne 0x140008367
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + reloc.WS2_32.dll_recv]
mov eax, r15d
jmp 0x140008371
mov eax, 3
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14001e7c0
mov rbx, qword [rsp + 0x218]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret