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

Disassembly:
push rsi
push rdi
push r12
push r14
sub rsp, 0x1b8
mov rax, qword [0x1800393f8]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rsi, r8
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x50], rcx
test rdx, rdx
jne 0x180012813
call fcn.18000d430
xor ecx, ecx
mov rdx, qword [rax + 8]
call fcn.180001a20
lea rcx, [0x18003ba08]
mov qword [0x18003dfc0], rsi
mov qword [0x18003dfc8], r14
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rcx, qword [0x18003be60]
mov byte [0x18003ba00], 1
call fcn.1800010a0
test rax, rax
jne 0x18001284e
xor r12d, r12d
mov rax, r12
jmp 0x180012878
xor r12d, r12d
lea rcx, [0x18000db60]
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 0x180012895
mov rax, r12
jmp 0x1800128bc
lea rcx, [fcn.180001770]
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.180006a90
mov qword [0x18003ba38], rax
call fcn.180012180
mov word [0x18003ba60], ax
cmp r12w, ax
jne 0x180012905
lea rcx, [0x1800335a0]
xor edx, edx
call fcn.180003b60
or eax, 0xffffffff
jmp 0x180013223
call fcn.1800122e0
mov word [0x18003ba62], ax
cmp r12w, ax
jne 0x18001292f
lea rcx, [0x1800335b8]
xor edx, edx
call fcn.180003b60
mov eax, 0xfffffffe
jmp 0x180013223
call fcn.180012380
mov word [0x18003ba64], ax
cmp r12w, ax
jne 0x180012959
lea rcx, [0x1800335d8]
xor edx, edx
call fcn.180003b60
mov eax, 0xfffffffd
jmp 0x180013223
movzx r8d, word [0x18003ba62]
movzx edx, word [0x18003ba60]
mov qword [rsp + 0x1f0], rbx
lea rcx, [0x1800335f0]
movzx r9d, ax
mov qword [rsp + 0x1b0], rbp
mov qword [rsp + 0x1a0], r15
call fcn.180003b60
call fcn.18000d300
mov qword [0x18003be40], rax
mov rcx, qword [rax + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movzx edx, word [0x18003ba60]
lea rcx, [0x18003ba68]
call fcn.18000eb60
mov rcx, qword [rdi + 8]
call fcn.18000fc50
mov rcx, qword [0x18003be48]
call fcn.18000dde0
test eax, eax
jle 0x180012b30
lea rax, [rsp + 0x40]
lea r8, [0x18000f0a0]
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 0x180012a18
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov qword [0x18003ba48], rdi
jmp 0x180012a1f
mov rdi, qword [0x18003ba48]
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x180012a4a
mov rcx, qword [0x18003ba48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x180033608]
call fcn.180003b60
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 3
nop word [rax + rax]
cmp dword [0x18003ba78], 0
jg 0x180012a74
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rdi, 1
jne 0x180012a60
lea rcx, [0x180033620]
call fcn.180003b60
mov rdx, qword [0x18003be48]
lea rcx, [0x18003ba68]
mov r8b, 1
call fcn.18000ec60
mov r8, qword [0x18003be48]
mov edx, r12d
mov esi, dword [r8 + 0xc]
mov edi, r12d
mov rcx, r12
test esi, esi
jle 0x180012b30
cmp edx, esi
jge 0x180012ac7
test rcx, rcx
js 0x180012ac7
mov rax, qword [r8 + 0x10]
mov rax, qword [rax + rcx*8]
jmp 0x180012aca
mov rax, r12
cmp dword [rax + 0x48], 0
jne 0x180012ad2
inc edi
inc edx
inc rcx
cmp edx, esi
jl 0x180012ab4
test edi, edi
jle 0x180012b30
mov edi, 3
nop word [rax + rax]
mov eax, dword [0x18003ba78]
dec eax
cmp eax, 2
ja 0x180012b08
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rdi, 1
jne 0x180012af0
lea rcx, [0x180033640]
call fcn.180003b60
mov rdx, qword [0x18003be48]
lea rcx, [0x18003ba68]
xor r8d, r8d
call fcn.18000ec60
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, [0x18000e6f0]
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 0x180012bad
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test rdi, rdi
je 0x180012bad
mov qword [rdi], rsi
add rdi, 0x20
cmp rdi, rbx
jl 0x180012b60
lea rax, [rsp + 0x40]
lea r8, [0x18000f600]
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 0x180012bf4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov qword [0x18003ba50], rdi
lea rax, [rsp + 0x40]
lea r8, [0x18000f9b0]
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 0x180012c32
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 0x180012c87
cmp edx, edi
jge 0x180012c73
test rcx, rcx
js 0x180012c73
mov rax, qword [r8 + 0x10]
mov rax, qword [rax + rcx*8]
jmp 0x180012c76
mov rax, r12
cmp dword [rax + 0x48], 0
jne 0x180012c7e
inc esi
inc edx
inc rcx
cmp edx, edi
jl 0x180012c60
lea rcx, str.URL
mov edx, esi
call fcn.180003b60
mov rcx, qword [0x18003be48]
mov ebx, r12d
mov eax, dword [rcx + 0xc]
mov rsi, r12
mov ebp, 1
test eax, eax
jle 0x180012cf6
nop
cmp ebx, eax
jge 0x180012cc3
test rsi, rsi
js 0x180012cc3
mov rax, qword [rcx + 0x10]
mov rdi, qword [rax + rsi*8]
jmp 0x180012cc6
mov rdi, r12
cmp dword [rdi + 0x48], 0
jne 0x180012cea
mov rdx, qword [rdi]
mov rdx, qword [rdx + 8]
call fcn.18000ef50
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 0x180012cb0
lea rcx, [0x18003ba68]
call fcn.18000ede0
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 0x180013209
mov qword [rsp + 0x1a8], r13
mov qword [rsp + 0x48], r12
mov r13, r12
nop dword [rax]
cmp r15d, ecx
jge 0x180012d55
test r15d, r15d
js 0x180012d55
mov rax, qword [rax + 0x10]
mov rbp, qword [r13 + rax]
jmp 0x180012d58
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.180003b60
cmp dword [rbp + 0x48], 1
jne 0x1800131e2
mov rax, qword [r14 + 8]
mov r8, qword [rbp + 0x38]
mov r9, qword [0x18003dff0]
mov r9, qword [r9 + 8]
mov r8, qword [r8 + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [0x18003dfd0]
lea rdx, str._s__sid:_s__mac:_s__uid:_s__p2pshm:_s
mov rcx, qword [rax + 8]
mov rax, qword [0x18003dfe8]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x58]
call fcn.180001ad0
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.180001fb0
mov rsi, qword [rbp + 0x40]
lea rdi, [0x18002e558]
mov rsi, qword [rsi + 8]
mov ecx, 5
mov rbx, rax
repe cmpsb byte [rsi], byte [rdi]
je 0x180012e17
mov rcx, rax
call fcn.180001d90
jmp 0x180012e2b
mov rdx, qword [rbp + 8]
lea rcx, [0x1800336c8]
mov rdx, qword [rdx + 8]
call fcn.180003b60
mov rcx, qword [rbp + 0x20]
mov r8d, dword [rbx + 4]
mov rdx, qword [rbx + 8]
mov rcx, qword [rcx + 8]
call fcn.180003830
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rdx + 8]
lea rdx, [0x1800330ac]
call fcn.180017a54
test rax, rax
je 0x180012e88
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 0x180012f91
mov r8, qword [rbp + 0x20]
lea rdx, str._pathdl:_s
lea rcx, [rsp + 0x70]
mov r8, qword [r8 + 8]
call fcn.1800178c0
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 0x180012f62
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.18001fc00
test edi, edi
jle 0x180012f62
mov edx, r12d
mov rbx, r12
lea rax, reloc.WS2_32.dll_recv
cmp edi, dword [rax]
jle 0x180012f31
inc edx
inc rbx
add rax, 0x10
cmp edx, 4
jb 0x180012f15
mov rcx, rsi
call fcn.18001795c
jmp 0x180012f62
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.18001fc00
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, [0x1800330ac]
mov rcx, qword [rax + 8]
call fcn.180017a54
test rax, rax
je 0x180012ffa
lea rax, [rsp + 0x40]
lea r8, [0x180012420]
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 0x1800131e2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test rsi, rsi
je 0x1800131e2
mov qword [rsi], rdi
jmp 0x1800131e2
mov rax, qword [rbp + 0x28]
lea rdi, [0x1800330b0]
mov ecx, 4
mov rdx, qword [rax + 8]
mov rsi, rdx
repe cmpsb byte [rsi], byte [rdi]
jne 0x1800131ae
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.1800018a0
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.180006270
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x180013090
cmp dword [rax + 0x18], 0x333d0
je 0x18001311c
cmp dword [rax], 0
jne 0x18001307b
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.18001795c
mov rdi, r12
mov rdx, qword [rbp + 8]
lea rcx, [0x180033708]
call fcn.180003b60
mov rcx, qword [rbp + 8]
call fcn.180005d10
mov ecx, eax
call fcn.1800132a0
test rdi, rdi
je 0x1800130d6
cmp dword [rdi], 0
jne 0x1800130c4
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.18001795c
mov rdi, qword [rbp + 8]
test rdi, rdi
je 0x180013182
mov ecx, dword [rbp]
test ecx, ecx
jle 0x180013182
mov edx, r12d
mov rbx, r12
lea rax, reloc.WS2_32.dll_recv
nop dword [rax + rax]
cmp ecx, dword [rax]
jle 0x180013151
inc edx
inc rbx
add rax, 0x10
cmp edx, 4
jb 0x180013100
mov rcx, rdi
call fcn.18001795c
jmp 0x180013182
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x180013090
mov rdx, qword [rbp + 8]
lea rcx, str.explorer
call fcn.180003b60
mov rdx, qword [rbp + 8]
lea rcx, [rsp + 0x58]
call fcn.18000d620
jmp 0x1800130b0
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 0x1800131e2
lea rdi, [0x180033720]
mov rsi, rdx
mov ecx, 4
repe cmpsb byte [rsi], byte [rdi]
jne 0x1800131e2
mov rdx, qword [rbp + 0x20]
lea rcx, [0x180033728]
mov rdx, qword [rdx + 8]
call fcn.180003b60
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx + 8]
call fcn.180005750
mov rax, qword [0x18003be48]
add r13, 8
inc r15d
mov ecx, dword [rax + 0xc]
mov qword [rsp + 0x48], r13
cmp r15d, ecx
jl 0x180012d40
mov r13, qword [rsp + 0x1a8]
mov r15, qword [rsp + 0x1a0]
mov rbp, qword [rsp + 0x1b0]
mov rbx, qword [rsp + 0x1f0]
xor eax, eax
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1800178a0
add rsp, 0x1b8
pop r14
pop r12
pop rdi
pop rsi
ret