Function at 0x1800128f0
Capabilities:
Create directory
Create thread
Delete file
Resume thread

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
sub rsp, 0x1b0
mov rax, qword [0x1800393f8]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, r8
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x50], rcx
test rdx, rdx
jne 0x180012985
mov rdx, qword [0x18003e108]
test rdx, rdx
jne 0x18001297a
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x18002e50b]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [0x18002e50b]
call fcn.1800012d0
lea ecx, [rsi + 0x24]
mov rdx, rax
mov qword [0x18003e108], rax
call fcn.180007410
mov rcx, qword [0x18003e108]
lea edx, [rsi + 8]
call fcn.180005c60
mov rdx, qword [0x18003e108]
mov rdx, qword [rdx + 8]
xor ecx, ecx
call fcn.180001ab0
lea rcx, [0x18003ba08]
mov qword [0x18003dfb8], rbx
mov qword [0x18003dfc0], r14
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rcx, qword [0x18003be60]
mov byte [0x18003ba00], 1
call fcn.1800010a0
test rax, rax
jne 0x1800129c0
xor r12d, r12d
mov rax, r12
jmp 0x1800129ea
xor r12d, r12d
lea rcx, [0x18000dcc0]
mov dword [rax], 0xa
mov dword [rax + 4], 2
mov dword [rax + 8], 8
mov qword [rax + 0x18], rcx
mov dword [rax + 0xc], r12d
mov qword [rax + 0x10], r12
mov rcx, qword [0x18003be60]
mov qword [0x18003be48], rax
call fcn.1800010a0
test rax, rax
jne 0x180012a07
mov rax, r12
jmp 0x180012a2e
lea rcx, [fcn.180001800]
mov dword [rax], 0xa
mov dword [rax + 4], 2
mov dword [rax + 8], 8
mov dword [rax + 0xc], r12d
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rcx
mov qword [0x18003ba40], rax
mov byte [0x18003ba30], 0
mov dword [0x18003ba34], r12d
call fcn.180006dd0
mov qword [0x18003ba38], rax
call fcn.1800122a0
mov word [0x18003ba60], ax
cmp r12w, ax
jne 0x180012a77
lea rcx, [0x180033710]
xor edx, edx
call fcn.180003e40
or eax, 0xffffffff
jmp 0x18001337b
call fcn.180012400
mov word [0x18003ba62], ax
cmp r12w, ax
jne 0x180012aa1
lea rcx, [0x180033728]
xor edx, edx
call fcn.180003e40
mov eax, 0xfffffffe
jmp 0x18001337b
call fcn.1800124a0
mov word [0x18003ba64], ax
cmp r12w, ax
jne 0x180012acb
lea rcx, [0x180033748]
xor edx, edx
call fcn.180003e40
mov eax, 0xfffffffd
jmp 0x18001337b
movzx r8d, word [0x18003ba62]
movzx edx, word [0x18003ba60]
lea rcx, [0x180033760]
movzx r9d, ax
mov qword [rsp + 0x1f0], rbp
mov qword [rsp + 0x1a0], r15
call fcn.180003e40
call fcn.18000d610
xor edx, edx
mov qword [0x18003be40], rax
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movzx edx, word [0x18003ba60]
lea rcx, [0x18003ba68]
call fcn.18000ecc0
mov rcx, qword [rsi + 8]
call fcn.18000fdb0
mov rcx, qword [0x18003be48]
call fcn.18000df40
test eax, eax
jle 0x180012c90
lea rax, [rsp + 0x40]
lea r8, [0x18000f200]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x180012b82
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov qword [0x18003ba48], rdi
jmp 0x180012b89
mov rdi, qword [0x18003ba48]
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x180012bb4
mov rcx, qword [0x18003ba48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x180033778]
call fcn.180003e40
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 3
cmp dword [0x18003ba78], 0
jg 0x180012bd8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rdi, 1
jne 0x180012bc4
lea rcx, [0x180033790]
call fcn.180003e40
mov rdx, qword [0x18003be48]
lea rcx, [0x18003ba68]
mov r8b, 1
call fcn.18000edc0
mov r8, qword [0x18003be48]
mov edx, r12d
mov esi, dword [r8 + 0xc]
mov edi, r12d
mov rcx, r12
test esi, esi
jle 0x180012c90
cmp edx, esi
jge 0x180012c2b
test rcx, rcx
js 0x180012c2b
mov rax, qword [r8 + 0x10]
mov rax, qword [rax + rcx*8]
jmp 0x180012c2e
mov rax, r12
cmp dword [rax + 0x48], 0
jne 0x180012c36
inc edi
inc edx
inc rcx
cmp edx, esi
jl 0x180012c18
test edi, edi
jle 0x180012c90
mov edi, 3
nop dword [rax + rax]
mov eax, dword [0x18003ba78]
dec eax
cmp eax, 2
ja 0x180012c68
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rdi, 1
jne 0x180012c50
lea rcx, [0x1800337b0]
call fcn.180003e40
mov rdx, qword [0x18003be48]
lea rcx, [0x18003ba68]
xor r8d, r8d
call fcn.18000edc0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
or r8, 0xffffffffffffffff
mov rcx, rax
or rdx, r8
call qword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
lea rdi, [0x18003bdb8]
lea rbx, [0x18003be58]
nop word [rax + rax]
lea r9, [rdi - 0x18]
lea rax, [rsp + 0x40]
lea r8, [0x18000e850]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov byte [r9], 1
mov byte [rdi - 0x17], 0
mov word [rdi - 2], r12w
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
je 0x180012d0d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test rdi, rdi
je 0x180012d0d
mov qword [rdi], rsi
add rdi, 0x20
cmp rdi, rbx
jl 0x180012cc0
lea rax, [rsp + 0x40]
lea r8, [0x18000f760]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x180012d54
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov qword [0x18003ba50], rdi
lea rax, [rsp + 0x40]
lea r8, [0x18000fb10]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x180012d92
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov qword [0x18003ba58], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
or r8, 0xffffffffffffffff
mov rcx, rax
or rdx, r8
call qword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov r8, qword [0x18003be48]
mov edx, r12d
mov edi, dword [r8 + 0xc]
mov esi, r12d
mov rcx, r12
test edi, edi
jle 0x180012de7
cmp edx, edi
jge 0x180012dd3
test rcx, rcx
js 0x180012dd3
mov rax, qword [r8 + 0x10]
mov rax, qword [rax + rcx*8]
jmp 0x180012dd6
mov rax, r12
cmp dword [rax + 0x48], 0
jne 0x180012dde
inc esi
inc edx
inc rcx
cmp edx, edi
jl 0x180012dc0
lea rcx, str.URL
mov edx, esi
call fcn.180003e40
mov rcx, qword [0x18003be48]
mov ebx, r12d
mov eax, dword [rcx + 0xc]
mov rsi, r12
mov ebp, 1
test eax, eax
jle 0x180012e56
nop
cmp ebx, eax
jge 0x180012e23
test rsi, rsi
js 0x180012e23
mov rax, qword [rcx + 0x10]
mov rdi, qword [rax + rsi*8]
jmp 0x180012e26
mov rdi, r12
cmp dword [rdi + 0x48], 0
jne 0x180012e4a
mov rdx, qword [rdi]
mov rdx, qword [rdx + 8]
call fcn.18000f0b0
or edx, 0xffffffff
test eax, eax
cmove edx, ebp
mov dword [rdi + 0x48], edx
mov rcx, qword [0x18003be48]
mov eax, dword [rcx + 0xc]
inc ebx
inc rsi
cmp ebx, eax
jl 0x180012e10
lea rcx, [0x18003ba68]
call fcn.18000ef40
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
or r8, 0xffffffffffffffff
mov rcx, rax
or rdx, r8
call qword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov rax, qword [0x18003be48]
mov r15d, r12d
mov ecx, dword [rax + 0xc]
test ecx, ecx
jle 0x180013369
mov qword [rsp + 0x1a8], r13
mov qword [rsp + 0x48], r12
mov r13, r12
nop dword [rax]
cmp r15d, ecx
jge 0x180012eb5
test r15d, r15d
js 0x180012eb5
mov rax, qword [rax + 0x10]
mov rbp, qword [r13 + rax]
jmp 0x180012eb8
mov rbp, r12
mov r8, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
mov r9d, dword [rbp + 0x48]
mov r8, qword [r8 + 8]
mov rdx, qword [rdx + 8]
mov dword [rsp + 0x28], ecx
lea rcx, str.proc___s___s___d_0000__d__d
mov dword [rsp + 0x20], r15d
call fcn.180003e40
cmp dword [rbp + 0x48], 1
jne 0x180013342
mov rax, qword [r14 + 8]
mov r8, qword [rbp + 0x38]
mov r9, qword [0x18003dfe8]
mov r9, qword [r9 + 8]
mov r8, qword [r8 + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [0x18003dfc8]
lea rdx, str._s__sid:_s__mac:_s__uid:_s__p2pshm:_s
mov rcx, qword [rax + 8]
mov rax, qword [0x18003dfe0]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x58]
call fcn.180001b60
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rbp + 0x18]
mov rcx, qword [rcx + 8]
call fcn.180002040
mov rsi, qword [rbp + 0x40]
lea rdi, [0x18002e568]
mov rsi, qword [rsi + 8]
mov ecx, 5
mov rbx, rax
repe cmpsb byte [rsi], byte [rdi]
je 0x180012f77
mov rcx, rax
call fcn.180001e20
jmp 0x180012f8b
mov rdx, qword [rbp + 8]
lea rcx, [0x180033838]
mov rdx, qword [rdx + 8]
call fcn.180003e40
mov rcx, qword [rbp + 0x20]
mov r8d, dword [rbx + 4]
mov rdx, qword [rbx + 8]
mov rcx, qword [rcx + 8]
call fcn.180003b10
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rdx + 8]
lea rdx, [0x1800331ec]
call fcn.180018124
test rax, rax
je 0x180012fe8
mov rcx, qword [rbp + 0x20]
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov rcx, qword [rcx + 8]
lea r8d, [r9 + 1]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, qword [rbp + 0x28]
lea rdi, str.mdll
mov ecx, 5
mov rsi, qword [rsi + 8]
repe cmpsb byte [rsi], byte [rdi]
jne 0x1800130f1
mov r8, qword [rbp + 0x20]
lea rdx, str._pathdl:_s
lea rcx, [rsp + 0x70]
mov r8, qword [r8 + 8]
call fcn.180017f90
mov r13, qword [rbp + 0x58]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x70]
repne scasb al, byte [rdi]
mov edi, dword [r13]
not rcx
lea r14, [rcx - 1]
add ecx, dword [r13 + 4]
cmp ecx, edi
jl 0x1800130c2
mov rsi, qword [r13 + 8]
mov rdx, r13
call fcn.180001120
movsxd r8, dword [r13 + 4]
mov rdx, rsi
mov rcx, rax
mov qword [r13 + 8], rax
call fcn.1800202d0
test edi, edi
jle 0x1800130c2
mov edx, r12d
mov rbx, r12
lea rax, reloc.WS2_32.dll_recv
cmp edi, dword [rax]
jle 0x180013091
inc edx
inc rbx
add rax, 0x10
cmp edx, 4
jb 0x180013075
mov rcx, rsi
call fcn.18001802c
jmp 0x1800130c2
lea rax, [0x18003a9d0]
add rbx, rbx
lea rdi, [rsi - 8]
mov rbx, qword [rax + rbx*8]
lea rcx, [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbx + 8]
lea rcx, [rbx + 0x20]
mov qword [rdi], rax
mov qword [rbx + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movsxd rcx, dword [r13 + 4]
lea rdx, [rsp + 0x70]
movsxd r8, r14d
add rcx, qword [r13 + 8]
call fcn.1800202d0
add dword [r13 + 4], r14d
movsxd rcx, dword [r13 + 4]
mov rax, qword [r13 + 8]
mov r14, qword [rsp + 0x50]
mov r13, qword [rsp + 0x48]
mov byte [rcx + rax], 0
mov rax, qword [rbp + 0x28]
lea rdx, [0x1800331ec]
mov rcx, qword [rax + 8]
call fcn.180018124
test rax, rax
je 0x18001315a
lea rax, [rsp + 0x40]
lea r8, [0x180012540]
mov r9, rbp
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 4
lea rsi, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x180013342
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test rsi, rsi
je 0x180013342
mov qword [rsi], rdi
jmp 0x180013342
mov rax, qword [rbp + 0x28]
lea rdi, [0x1800331f0]
mov ecx, 4
mov rdx, qword [rax + 8]
mov rsi, rdx
repe cmpsb byte [rsi], byte [rdi]
jne 0x18001330e
mov r8, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x20]
lea rcx, str._s__s
mov r8, qword [r8 + 8]
mov rdx, qword [rdx + 8]
call fcn.180001930
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x60], r12
mov rbp, rax
lea rax, vtable.CXP2PPlat.0
mov qword [rsp + 0x58], rax
call fcn.180006590
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1800131f0
cmp dword [rax + 0x18], 0x333d0
je 0x18001327c
cmp dword [rax], 0
jne 0x1800131db
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.18001802c
mov rdi, r12
mov rdx, qword [rbp + 8]
lea rcx, [0x180033878]
call fcn.180003e40
mov rcx, qword [rbp + 8]
call fcn.180006030
mov ecx, eax
call fcn.1800133f0
test rdi, rdi
je 0x180013236
cmp dword [rdi], 0
jne 0x180013224
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.18001802c
mov rdi, qword [rbp + 8]
test rdi, rdi
je 0x1800132e2
mov ecx, dword [rbp]
test ecx, ecx
jle 0x1800132e2
mov edx, r12d
mov rbx, r12
lea rax, reloc.WS2_32.dll_recv
nop dword [rax + rax]
cmp ecx, dword [rax]
jle 0x1800132b1
inc edx
inc rbx
add rax, 0x10
cmp edx, 4
jb 0x180013260
mov rcx, rdi
call fcn.18001802c
jmp 0x1800132e2
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1800131f0
mov rdx, qword [rbp + 8]
lea rcx, str.explorer
call fcn.180003e40
mov rdx, qword [rbp + 8]
lea rcx, [rsp + 0x58]
call fcn.18000d780
jmp 0x180013210
lea rax, [0x18003a9d0]
add rbx, rbx
add rdi, 0xfffffffffffffff8
mov rbx, qword [rax + rbx*8]
lea rcx, [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbx + 8]
lea rcx, [rbx + 0x20]
mov qword [rdi], rax
mov qword [rbx + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [0x18003be50]
lea rdi, [rbp - 8]
lea rcx, [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbx + 8]
lea rcx, [rbx + 0x20]
mov qword [rdi], rax
mov qword [rbx + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x180013342
lea rdi, [0x180033890]
mov rsi, rdx
mov ecx, 4
repe cmpsb byte [rsi], byte [rdi]
jne 0x180013342
mov rdx, qword [rbp + 0x20]
lea rcx, [0x180033898]
mov rdx, qword [rdx + 8]
call fcn.180003e40
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx + 8]
call fcn.180005a70
mov rax, qword [0x18003be48]
add r13, 8
inc r15d
mov ecx, dword [rax + 0xc]
mov qword [rsp + 0x48], r13
cmp r15d, ecx
jl 0x180012ea0
mov r13, qword [rsp + 0x1a8]
mov r15, qword [rsp + 0x1a0]
mov rbp, qword [rsp + 0x1f0]
xor eax, eax
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.180017f70
add rsp, 0x1b0
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret