Function at 0x40af10
Capabilities:
Create directory
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462e86
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x483094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40af72
cmp byte [eax + 9], 0
je 0x40af72
mov al, 1
jmp 0x40b74e
push 0x483ae4
lea ecx, [ebp - 0x98]
call fcn.0040ccc0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x9c]
test edx, edx
je 0x40afc0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x9c], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40afa0
sub ecx, dword [ebp - 0x9c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x98]
call fcn.004105f0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
test edi, edi
je 0x40b001
cmp word [edi], ax
je 0x40b001
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40afe6
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.004105f0
jmp 0x40b077
lea ecx, [ebp - 0x58]
call fcn.0040ac10
mov edi, eax
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x40b03d
mov ecx, eax
call fcn.0040cc10
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40b077
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b06d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b76b
push edx
push ecx
call fcn.00428ee3
add esp, 8
mov eax, dword [esi + 4]
test eax, eax
jne 0x40b112
lea ecx, [ebp - 0xa8]
call fcn.00412d80
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [esi + 4], ecx
mov edi, dword [esi + 8]
mov dword [esi + 8], edx
or eax, 0xffffffff
mov byte [ebp - 4], 2
test edi, edi
je 0x40b0d6
lock xadd dword [edi + 4], eax
jne 0x40b0d3
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [edi + 8], eax
jne 0x40b0d3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
or eax, 0xffffffff
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0xa4]
test edi, edi
je 0x40b103
lock xadd dword [edi + 4], eax
jne 0x40b103
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or ecx, 0xffffffff
lock xadd dword [edi + 8], ecx
dec ecx
jne 0x40b103
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, dword [esi + 4]
test eax, eax
je 0x40b4fe
cmp byte [ebp + 0x20], 0
je 0x40b4c7
push dword [ebp - 0xa4]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push 2
sub esp, 8
call fcn.00413980
inc eax
lea edx, [ebp - 0x28]
add esp, 0x10
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x18], eax
jne 0x40b1ce
push 0x478bf8
call fcn.00412ec0
mov edi, eax
add esp, 4
mov eax, dword [esi + 4]
add eax, 0x24
mov dword [ebp - 0x9c], eax
cmp eax, edi
je 0x40b19c
mov ecx, eax
call fcn.0040cc10
movups xmm0, xmmword [edi]
mov eax, dword [ebp - 0x9c]
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40b1fc
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b1f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b770
jmp 0x40b1f2
push str.memlog
call fcn.00412ec0
mov edi, eax
add esp, 4
mov eax, dword [esi + 4]
add eax, 0x24
mov dword [ebp - 0x9c], eax
cmp eax, edi
je 0x40b19c
jmp 0x40b16c
push edx
push ecx
call fcn.00428ee3
add esp, 8
mov eax, dword [esi + 4]
add eax, 0x24
cmp dword [eax + 0x14], 8
jb 0x40b20a
mov eax, dword [eax]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x40b224
cmp eax, 0xb7
jne 0x40b4fe
mov eax, dword [ebp - 0xac]
mov edx, 0x478c18
test eax, eax
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
cmovne edx, eax
xor eax, eax
mov ecx, edx
mov word [ebp - 0xc4], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b256
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xc4]
call fcn.004105f0
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 4
push 0
push eax
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x58]
call fcn.00408460
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xb0]
cmp edx, 8
jb 0x40b2d4
mov ecx, dword [ebp - 0xc4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b2ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b770
push edx
push ecx
call fcn.00428ee3
add esp, 8
sub esp, 0x18
mov dword [ebp - 0xb4], 0
xor eax, eax
mov dword [ebp - 0xa4], esp
mov word [ebp - 0xc4], ax
mov ecx, esp
lea eax, [ebp - 0x58]
mov dword [ebp - 0xb0], 7
push eax
call fcn.0040ccc0
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.0040ccc0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.004081d0
add esp, 0x30
mov byte [ebp - 4], 8
lea eax, [ebp - 0x40]
mov ecx, dword [esi + 4]
cmp dword [ebp - 0x2c], 8
push dword [ebp + 0x1c]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ecx + 0x6c]
push eax
call fcn.0040a200
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40b382
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b378
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b770
push edx
push ecx
call fcn.00428ee3
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x40b3d4
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b3ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b770
push edx
push ecx
call fcn.00428ee3
add esp, 8
mov eax, dword [ebp - 0xac]
mov edi, 0x47895c
test eax, eax
push 0x78
cmovne edi, eax
mov dword [ebp - 0xac], edi
call fcn.00428c19
mov dword [ebp - 0x9c], eax
push 0x78
push 0
push eax
mov byte [ebp - 4], 9
call fcn.00440a60
mov ecx, edi
mov dword [ebp - 0x30], 0
add esp, 0x10
mov dword [ebp - 0x2c], 7
xor eax, eax
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b421
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x40]
call fcn.004105f0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x40]
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x9c]
push dword [ebp + 8]
mov dword [ebp - 0xa4], 1
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00409170
mov edi, eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40b4ab
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b4a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b770
push edx
push ecx
call fcn.00428ee3
add esp, 8
mov eax, dword [esi + 4]
lea ecx, [ebp - 0xa4]
add eax, 0x40
cmp eax, ecx
je 0x40b50a
mov ecx, dword [eax]
mov dword [eax], edi
test ecx, ecx
je 0x40b516
mov eax, dword [ecx]
jmp 0x40b512
mov byte [eax + 8], 0
mov eax, dword [esi + 4]
push 0
mov dword [eax + 4], 7
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x40b3d4
cmp eax, 0xb7
je 0x40b3d4
mov byte [ebp - 0x9d], 0
jmp 0x40b735
test edi, edi
je 0x40b516
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x40]
mov eax, dword [eax + 0x40]
add eax, 4
push eax
call fcn.0040ccc0
mov edi, dword [esi + 4]
lea eax, [ebp - 0x40]
add edi, 0xc
cmp edi, eax
je 0x40b54f
mov ecx, edi
call fcn.0040cc10
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [edi + 0x10], xmm0
jmp 0x40b589
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40b589
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b57f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b770
push edx
push ecx
call fcn.00428ee3
add esp, 8
mov eax, dword [esi + 4]
mov cl, byte [ebp + 0x18]
mov byte [eax + 0xa], cl
test cl, cl
jne 0x40b5b4
push 0
push 0
push dword [esi + 4]
push 0x40b780
push 0
push 0
call fcn.00447084
mov ecx, dword [esi + 4]
add esp, 0x18
mov dword [ecx + 0x3c], eax
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x80]
push 0x478828
mov edx, 0x483ae4
mov byte [eax + 9], 1
call fcn.00412ec0
add esp, 4
mov edx, dword [ebp - 0xac]
mov ecx, edx
mov byte [ebp - 4], 0xc
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b5e0
mov eax, dword [ebp - 0x6c]
sub ecx, esi
mov esi, dword [ebp - 0x70]
sub eax, esi
sar ecx, 1
mov dword [ebp - 0xa4], esi
cmp ecx, eax
ja 0x40b631
cmp dword [ebp - 0x6c], 8
lea edi, [ecx + esi]
lea eax, [ecx + ecx]
mov dword [ebp - 0x70], edi
push eax
mov eax, dword [ebp - 0xa4]
lea esi, [ebp - 0x80]
cmovae esi, dword [ebp - 0x80]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.004404e0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x40b649
push ecx
push edx
mov byte [ebp - 0xa4], 0
push dword [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x80]
call fcn.00413d30
lea eax, [ebp - 0x68]
mov dword [ebp - 0x114], 0x41ee60
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0xf4]
lea eax, [ebp - 0x10c]
mov dword [ebp - 0xfc], str..log
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x80]
push eax
call fcn.0040ccc0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0xdc]
call fcn.0040ccc0
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0xf
call fcn.00418760
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x44], eax
call fcn.0040b7b0
push 0
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0xa4], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x40b6fc
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
mov ecx, 0x4874a0
mov byte [ebp - 4], 0x10
call fcn.004026e0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x40b726
mov edx, dword [ecx]
lea eax, [ebp - 0x68]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
lea ecx, [ebp - 0x80]
mov byte [ebp - 0x9d], 1
call fcn.0040cc10
lea ecx, [ebp - 0x28]
call fcn.0040cc10
lea ecx, [ebp - 0x98]
call fcn.0040cc10
mov al, byte [ebp - 0x9d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00428c08
mov esp, ebp
pop ebp
ret 0x28
call fcn.004465a2
call fcn.004465a2
int3