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

Disassembly:
push 0x520
mov eax, 0x100464e7
call fcn.1002eac6
push 2
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
lea eax, [ebp - 0x52c]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x1002a621
xor ebx, ebx
push ebx
push ebx
push 1
lea eax, [ebp - 0x52c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x1002a621
push str._back
push str.t_lock
push str.rosof
push str.lmic
push 0x10049404
lea eax, [ebp - 0x52c]
mov edi, 0x10049aa8
push edi
mov dword [ebp - 0x508], eax
lea eax, [ebp - 0xd8]
push str._s_s_s_s_s_s
push eax
mov dword [ebp - 0x504], ebx
mov dword [ebp - 0x50c], 0xc
call fcn.1002ff5d
add esp, 0x20
lea eax, [ebp - 0xd8]
push eax
push ebx
push ebx
lea eax, [ebp - 0x50c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0x510], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1002a426
push dword [ebp - 0x510]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1002a621
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x4fc]
push eax
push 0xc
push ebx
push 0x10049614
mov dword [ebp - 0x4fc], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push dword [ebp - 0x4fc]
lea eax, [ebp - 0x74]
push str.Global_
push str._s_u
push eax
call fcn.1002ff5d
lea eax, [ebp - 0x74]
push eax
call fcn.1002dd10
add esp, 0x14
test eax, eax
jne 0x1002a494
push str.t_lock
push str.rosof
push str.lmic
push 0x10049404
push edi
lea eax, [ebp - 0x74]
push str._s_s_s_s_s
push eax
call fcn.1002ff5d
add esp, 0x1c
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
lea eax, [ebp - 0x74]
push eax
push ebx
lea eax, [ebp - 0x50c]
push eax
call edi
lea ecx, [ebp - 0x4f8]
mov dword [esi + 8], eax
call fcn.1000ad27
push 0x3ff
lea eax, [ebp - 0x4d7]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp - 0x4d8], bl
call fcn.1002eb70
push 0x24
lea eax, [ebp - 0x4d8]
push 0x100499e4
push eax
call fcn.1002dda0
add esp, 0x18
push str.3b7e555a765536a7
push 0x24
lea eax, [ebp - 0x4d8]
push eax
lea ecx, [ebp - 0x4f8]
call fcn.1000ad37
push str.Global_
lea ecx, [ebp - 0x4f4]
call fcn.10002b9d
lea eax, [ebp - 0x4d8]
push eax
mov byte [ebp - 4], 1
call fcn.1002dd10
pop ecx
push eax
lea eax, [ebp - 0x4d8]
push eax
lea ecx, [ebp - 0x4f4]
call fcn.1000156f
cmp dword [ebp - 0x4e0], 0x10
mov eax, dword [ebp - 0x4f4]
jae 0x1002a549
lea eax, [ebp - 0x4f4]
push eax
push ebx
lea eax, [ebp - 0x50c]
push eax
call edi
push 0x64
push eax
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
mov dword [esi + 0xc], eax
mov dword [ebp - 0x514], eax
push ebx
lea eax, [ebp - 0x518]
push eax
push 2
mov dword [ebp - 0x518], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 1
jne 0x1002a5b9
push dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi + 8]
call edi
push dword [esi + 0x10]
call edi
mov esi, dword [esi + 0x14]
cmp esi, ebx
je 0x1002a604
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1002a604
mov ecx, esi
call fcn.10029ecb
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 0x500]
push eax
push ebx
push esi
push 0x10028f87
push ebx
push ebx
mov dword [ebp - 0x500], ebx
call edi
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x500]
push eax
push ebx
push esi
push 0x1002a343
push ebx
push ebx
call edi
mov ecx, esi
mov dword [esi + 4], eax
call fcn.10029762
mov ecx, esi
call fcn.100296c3
push ebx
push 1
lea ecx, [ebp - 0x4f4]
call fcn.100012ee
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4f8]
call fcn.1000ad30
call fcn.1002eb49
ret