Function at 0x41c2a0
Capabilities:
Check mutex on windows
Get disk information

Disassembly:
push ebp
xor ebp, ebp
push edi
push esi
push ebx
sub esp, 0x15c
mov eax, dword [0x428020]
mov dword [esp + 0x34], 1
mov ebx, dword [esp + 0x170]
test eax, eax
je 0x41c5a0
test ebx, ebx
je 0x41c2d5
cmp byte [ebx], 0
jne 0x41c4c7
mov dword [esp], 0x439830
call sub.KERNEL32.dll_EnterCriticalSection
mov edi, dword [0x439700]
sub esp, 4
test edi, edi
je 0x41c30d
mov dword [esp], 0x43971c
lea edx, [esp + 0x40]
mov dword [esp + 4], edx
call sub.KERNEL32.dll_lstrcmpiA
sub esp, 8
test eax, eax
je 0x41c44b
mov dword [esp + 0x38], 0
xor ebx, ebx
mov dword [esp], 0x439830
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
lea ecx, [esp + 0x3c]
cmp byte [esp + 0x40], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
je 0x41c4c0
lea eax, [esp + 0x40]
mov dword [esp], eax
call sub.KERNEL32.dll_GetVolumeInformationA
sub esp, 0x20
test eax, eax
mov dword [esp + 0x34], eax
je 0x41c3c0
test byte [esp + 0x3c], 8
je 0x41c3c0
mov eax, dword [esp + 0x178]
mov esi, dword [eax + 8]
test esi, esi
je 0x41c3c0
cmp byte [esp + 0x40], 0
je 0x41c4b9
lea eax, [esp + 0x40]
mov dword [esp], eax
call sub.KERNEL32.dll_GetDriveTypeA
sub esp, 4
cmp eax, 4
je 0x41c498
nop
lea esi, [esi]
mov dword [esp], 0x439830
call sub.KERNEL32.dll_EnterCriticalSection
sub esp, 4
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x41c400
xor edi, edi
mov dword [0x439700], edi
mov dword [esp], 0x439830
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
mov eax, dword [esp + 0x34]
add esp, 0x15c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x43971c
lea ecx, [ebp + 1]
xor edi, edi
mov dword [esp + 8], ecx
lea edx, [esp + 0x40]
mov ebp, 1
mov dword [esp + 4], edx
call sub.KERNEL32.dll_lstrcpynA
mov dword [0x439710], ebx
sub esp, 0xc
mov esi, dword [esp + 0x3c]
mov dword [0x439704], edi
mov ebx, dword [esp + 0x38]
mov dword [0x439700], ebp
mov dword [0x43970c], esi
mov dword [0x439714], ebx
mov edi, dword [esp + 0x178]
mov esi, 0x439700
mov eax, 0x124
mov ebx, dword [edi + 8]
test edi, 4
mov ebp, dword [edi + 0x18]
mov dword [0x439708], ebx
mov dword [0x439718], ebp
je 0x41c48b
mov esi, dword [0x439700]
mov eax, 0x120
mov dword [edi], esi
add edi, 4
mov esi, 0x439704
cld
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp 0x41c3df
mov edi, dword [esp + 0x174]
lea edx, [esp + 0x38]
mov ebx, 1
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.0041cd60
jmp 0x41c3c0
xor eax, eax
jmp 0x41c3a4
xor eax, eax
jmp 0x41c36d
mov dword [esp], ebx
call sub.KERNEL32.dll_lstrlenA
mov ebp, eax
sub esp, 4
xor eax, eax
cmp ebp, 0x104
ja 0x41c3f2
xor eax, eax
lea esi, [esi]
lea edi, [edi]
movzx edx, byte [eax + ebx]
cmp dl, 0x2f
je 0x41c590
mov byte [esp + eax + 0x40], dl
inc eax
cmp eax, ebp
jbe 0x41c4f0
cmp byte [esp + 0x40], 0x5c
je 0x41c536
movzx eax, byte [esp + 0x41]
cmp al, 0x3a
je 0x41c522
mov byte [esp + 0x40], 0
xor ebp, ebp
jmp 0x41c2d5
mov byte [esp + 0x42], 0x5c
mov ebp, 3
mov byte [esp + 0x43], 0
jmp 0x41c2d5
movzx eax, byte [esp + 0x41]
cmp al, 0x5c
jne 0x41c512
mov eax, 2
xor edx, edx
cmp eax, ebp
jae 0x41c2d5
cmp byte [esp + eax + 0x40], 0x5c
je 0x41c580
inc eax
cmp eax, ebp
jb 0x41c54e
dec edx
jne 0x41c2d5
cmp byte [esp + ebp + 0x40], 0x5c
je 0x41c2d5
movzx ebx, byte [esp + 0x40]
mov byte [esp + ebp + 0x41], 0
mov byte [esp + ebp + 0x40], bl
inc ebp
jmp 0x41c2d5
inc edx
cmp edx, 2
jne 0x41c555
inc eax
mov ebp, eax
mov byte [esp + eax + 0x40], 0
jmp 0x41c55a
mov byte [esp + eax + 0x40], 0x5c
jmp 0x41c501
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call sub.KERNEL32.dll_CreateMutexA
sub esp, 0xc
test eax, eax
mov dword [esp + 0x2c], eax
je 0x41c62d
mov dword [esp + 4], eax
mov dword [esp], 0x428024
call sub.KERNEL32.dll_InterlockedExchange
sub esp, 8
mov esi, eax
test eax, eax
je 0x41c634
mov dword [esp + 4], eax
mov dword [esp], 0x428024
call sub.KERNEL32.dll_InterlockedExchange
sub esp, 8
mov edx, dword [esp + 0x2c]
mov dword [esp], edx
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call sub.KERNEL32.dll_WaitForSingleObject
sub esp, 8
mov dword [esp], esi
call sub.KERNEL32.dll_ReleaseMutex
mov eax, dword [0x428020]
sub esp, 4
test eax, eax
jne 0x41c2c8
xor eax, eax
jmp 0x41c3f2
mov dword [esp], 0x4396e0
mov esi, 0x439700
call sub.KERNEL32.dll_InitializeCriticalSection
sub esp, 4
mov dword [esp], 0x439830
call sub.KERNEL32.dll_InitializeCriticalSection
sub esp, 4
mov edx, 0x124
test esi, 4
je 0x41c675
xor eax, eax
mov esi, 0x439704
mov edx, 0x120
mov dword [0x439700], eax
cld
mov ecx, edx
mov eax, ebp
mov edi, esi
shr ecx, 2
mov esi, 1
rep stosd dword es:[edi], eax
call fcn.0041c9d0
mov dword [0x428020], esi
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
call sub.KERNEL32.dll_ReleaseMutex
sub esp, 4
mov eax, 1
jmp 0x41c625