Function at 0x1800129b0
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 0x180012a45
mov rdx, qword [0x18003e108]
test rdx, rdx
jne 0x180012a3a
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x18002e4fb]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [0x18002e4fb]
call fcn.1800012d0
lea ecx, [rsi + 0x24]
mov rdx, rax
mov qword [0x18003e108], rax
call fcn.1800073b0
mov rcx, qword [0x18003e108]
lea edx, [rsi + 8]
call fcn.180005c00
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 0x180012a80
xor r12d, r12d
mov rax, r12
jmp 0x180012aaa
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 0x180012ac7
mov rax, r12
jmp 0x180012aee
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.180006d70
mov qword [0x18003ba38], rax
call fcn.180012360
mov word [0x18003ba60], ax
cmp r12w, ax
jne 0x180012b37
lea rcx, [0x180033700]
xor edx, edx
call fcn.180003e90
or eax, 0xffffffff
jmp 0x180013461
call fcn.1800124c0
mov word [0x18003ba62], ax
cmp r12w, ax
jne 0x180012b61
lea rcx, [0x180033718]
xor edx, edx
call fcn.180003e90
mov eax, 0xfffffffe
jmp 0x180013461
call fcn.180012560
mov word [0x18003ba64], ax
cmp r12w, ax
jne 0x180012b8b
lea rcx, [0x180033738]
xor edx, edx
call fcn.180003e90
mov eax, 0xfffffffd
jmp 0x180013461
movzx r8d, word [0x18003ba62]
movzx edx, word [0x18003ba60]
lea rcx, [0x180033750]
movzx r9d, ax
mov qword [rsp + 0x1f0], rbp
mov qword [rsp + 0x1a0], r15
call fcn.180003e90
call fcn.18000d5b0
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.18000ecd0
mov rcx, qword [rsi + 8]
call fcn.18000fdc0
mov rcx, qword [0x18003be48]
call fcn.18000df50
test eax, eax
jle 0x180012d50
lea rax, [rsp + 0x40]
lea r8, [0x18000f210]
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 0x180012c42
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov qword [0x18003ba48], rdi
jmp 0x180012c49
mov rdi, qword [0x18003ba48]
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x180012c74
mov rcx, qword [0x18003ba48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x180033768]
call fcn.180003e90
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 3
cmp dword [0x18003ba78], 0
jg 0x180012c98
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rdi, 1
jne 0x180012c84
lea rcx, [0x180033780]
call fcn.180003e90
mov rdx, qword [0x18003be48]
lea rcx, [0x18003ba68]
mov r8b, 1
call fcn.18000edd0
mov r8, qword [0x18003be48]
mov edx, r12d
mov esi, dword [r8 + 0xc]
mov edi, r12d
mov rcx, r12
test esi, esi
jle 0x180012d50
cmp edx, esi
jge 0x180012ceb
test rcx, rcx
js 0x180012ceb
mov rax, qword [r8 + 0x10]
mov rax, qword [rax + rcx*8]
jmp 0x180012cee
mov rax, r12
cmp dword [rax + 0x50], 0
jne 0x180012cf6
inc edi
inc edx
inc rcx
cmp edx, esi
jl 0x180012cd8
test edi, edi
jle 0x180012d50
mov edi, 3
nop dword [rax + rax]
mov eax, dword [0x18003ba78]
dec eax
cmp eax, 2
ja 0x180012d28
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rdi, 1
jne 0x180012d10
lea rcx, [0x1800337a0]
call fcn.180003e90
mov rdx, qword [0x18003be48]
lea rcx, [0x18003ba68]
xor r8d, r8d
call fcn.18000edd0
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, [0x18000e860]
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 0x180012dcd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test rdi, rdi
je 0x180012dcd
mov qword [rdi], rsi
add rdi, 0x20
cmp rdi, rbx
jl 0x180012d80
lea rax, [rsp + 0x40]
lea r8, [0x18000f770]
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 0x180012e14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov qword [0x18003ba50], rdi
lea rax, [rsp + 0x40]
lea r8, [0x18000fb20]
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 0x180012e52
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 0x180012ea7
cmp edx, edi
jge 0x180012e93
test rcx, rcx
js 0x180012e93
mov rax, qword [r8 + 0x10]
mov rax, qword [rax + rcx*8]
jmp 0x180012e96
mov rax, r12
cmp dword [rax + 0x50], 0
jne 0x180012e9e
inc esi
inc edx
inc rcx
cmp edx, edi
jl 0x180012e80
lea rcx, str.URL
mov edx, esi
call fcn.180003e90
mov rcx, qword [0x18003be48]
mov ebx, r12d
mov eax, dword [rcx + 0xc]
mov rsi, r12
mov ebp, 1
test eax, eax
jle 0x180012f16
nop
cmp ebx, eax
jge 0x180012ee3
test rsi, rsi
js 0x180012ee3
mov rax, qword [rcx + 0x10]
mov rdi, qword [rax + rsi*8]
jmp 0x180012ee6
mov rdi, r12
cmp dword [rdi + 0x50], 0
jne 0x180012f0a
mov rdx, qword [rdi]
mov rdx, qword [rdx + 8]
call fcn.18000f0c0
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 0x180012ed0
lea rcx, [0x18003ba68]
call fcn.18000ef50
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 0x18001344f
mov qword [rsp + 0x1a8], r13
mov qword [rsp + 0x48], r12
mov r13, r12
nop dword [rax]
cmp r15d, ecx
jge 0x180012f75
test r15d, r15d
js 0x180012f75
mov rax, qword [rax + 0x10]
mov rbp, qword [r13 + rax]
jmp 0x180012f78
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.180003e90
cmp dword [rbp + 0x50], 1
jne 0x180013428
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, [0x18002e558]
mov rsi, qword [rsi + 8]
mov ecx, 5
mov rbx, rax
repe cmpsb byte [rsi], byte [rdi]
je 0x180013037
mov rcx, rax
call fcn.180001e20
jmp 0x18001304b
mov rdx, qword [rbp + 8]
lea rcx, [0x180033828]
mov rdx, qword [rdx + 8]
call fcn.180003e90
mov rax, qword [rbp + 0x48]
cmp dword [rax + 4], 0
jle 0x180013066
mov edx, dword [rbx + 4]
mov rcx, qword [rbx + 8]
xor r8d, r8d
call fcn.180003830
jmp 0x18001307a
mov rdx, qword [rbp + 8]
lea rcx, [0x180033840]
mov rdx, qword [rdx + 8]
call fcn.180003e90
mov rcx, qword [rbp + 0x20]
mov r8d, dword [rbx + 4]
mov rdx, qword [rbx + 8]
mov rcx, qword [rcx + 8]
call fcn.180003b60
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rdx + 8]
lea rdx, [0x1800331cc]
call fcn.1800179c4
test rax, rax
je 0x1800130d7
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 0x1800131dc
mov r8, qword [rbp + 0x20]
lea rdx, str._pathdl:_s
lea rcx, [rsp + 0x70]
mov r8, qword [r8 + 8]
call fcn.180017830
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 0x1800131ad
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.18001fb70
test edi, edi
jle 0x1800131ad
mov edx, r12d
mov rbx, r12
lea rax, reloc.WS2_32.dll_recv
cmp edi, dword [rax]
jle 0x18001317c
inc edx
inc rbx
add rax, 0x10
cmp edx, 4
jb 0x180013160
mov rcx, rsi
call fcn.1800178cc
jmp 0x1800131ad
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.18001fb70
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, [0x1800331cc]
mov rcx, qword [rax + 8]
call fcn.1800179c4
test rax, rax
je 0x180013245
lea rax, [rsp + 0x40]
lea r8, [0x180012600]
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 0x180013428
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test rsi, rsi
je 0x180013428
mov qword [rsi], rdi
jmp 0x180013428
mov rax, qword [rbp + 0x28]
lea rdi, [0x1800331d0]
mov ecx, 4
mov rdx, qword [rax + 8]
mov rsi, rdx
repe cmpsb byte [rsi], byte [rdi]
jne 0x1800133f4
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.180006530
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1800132db
cmp dword [rax + 0x18], 0x333d0
je 0x180013362
cmp dword [rax], 0
jne 0x1800132c6
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.1800178cc
mov rdi, r12
mov rdx, qword [rbp + 8]
lea rcx, [0x180033880]
call fcn.180003e90
mov rcx, qword [rbp + 8]
call fcn.180005fd0
mov ecx, eax
call fcn.1800134d0
test rdi, rdi
je 0x180013321
cmp dword [rdi], 0
jne 0x18001330f
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.1800178cc
mov rdi, qword [rbp + 8]
test rdi, rdi
je 0x1800133c8
mov ecx, dword [rbp]
test ecx, ecx
jle 0x1800133c8
mov edx, r12d
mov rbx, r12
lea rax, reloc.WS2_32.dll_recv
cmp ecx, dword [rax]
jle 0x180013397
inc edx
inc rbx
add rax, 0x10
cmp edx, 4
jb 0x180013346
mov rcx, rdi
call fcn.1800178cc
jmp 0x1800133c8
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1800132db
mov rdx, qword [rbp + 8]
lea rcx, str.explorer
call fcn.180003e90
mov rdx, qword [rbp + 8]
lea rcx, [rsp + 0x58]
call fcn.18000d720
jmp 0x1800132fb
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 0x180013428
lea rdi, [0x180033898]
mov rsi, rdx
mov ecx, 4
repe cmpsb byte [rsi], byte [rdi]
jne 0x180013428
mov rdx, qword [rbp + 0x20]
lea rcx, [0x1800338a0]
mov rdx, qword [rdx + 8]
call fcn.180003e90
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx + 8]
call fcn.180005ac0
mov rax, qword [0x18003be48]
add r13, 8
inc r15d
mov ecx, dword [rax + 0xc]
mov qword [rsp + 0x48], r13
cmp r15d, ecx
jl 0x180012f60
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.180017810
add rsp, 0x1b0
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret