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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
push 0x5a40e8
call dword [sym.imp.WINMM.dll_timeGetDevCaps]
mov dword [0x5a7f64], eax
cmp dword [0x5a7f64], 0
je 0x4f3b83
mov dword [0x5a40e8], 0
mov dword [0x5a40ec], 0
mov eax, dword [ebp + 8]
mov dword [0x5a40f4], eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x5a3ee0
call fcn.0040ce90
add esp, 8
push 0x94
push 0
push 0x5a5c20
call fcn.00402610
add esp, 0xc
mov dword [0x5a5c20], 0x94
push 0x5a5c20
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edx, dword [0x5a5c24]
mov dword [0x5a8728], edx
mov eax, dword [0x5a5c28]
mov dword [0x5a86f8], eax
mov ecx, dword [0x5a5c2c]
mov dword [0x5a75a0], ecx
mov edx, dword [0x5a5c30]
mov dword [0x5a75a4], edx
push 0x1ff
push 0x5a7920
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5a82a0
push 0x5a4f40
push 0x5a83e0
push 0x5a428c
push 0x5a7920
call fcn.0042d3f8
add esp, 0x14
push 0x5a428c
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [0x5a86f4], eax
push 0x5a428c
push 0x5a5520
call fcn.0040ce90
add esp, 8
push 0x5a83e0
push 0x5a5520
call fcn.0040cea0
add esp, 8
push 0x5a5520
call fcn.0043dc14
add esp, 4
push 0x5a5520
push 0x5a6840
call fcn.0040ce90
add esp, 8
push str.StreetPerfectHotkeyProxy.Ini
push 0x5a6840
call fcn.0040cea0
add esp, 8
push 0x5a5520
push 0x5a5a00
call fcn.0040ce90
add esp, 8
push str.StreetPerfectAddressAccuracy.Ini
push 0x5a5a00
call fcn.0040cea0
add esp, 8
push 0x5a5520
push 0x5a44a0
call fcn.0040ce90
add esp, 8
push str.StreetPerfectHotkeyProxy.Log
push 0x5a44a0
call fcn.0040cea0
add esp, 8
push 0x5a5520
push 0x5a50a0
call fcn.0040ce90
add esp, 8
push str.HotkeyProxyClient.exe
push 0x5a50a0
call fcn.0040cea0
add esp, 8
push 0x599020
push 0x5a50a0
call fcn.0040cea0
add esp, 8
push str.HPC_F63215C5_E867_478B_A4B6_3F36073C277A
push 0x5a50a0
call fcn.0040cea0
add esp, 8
push 0x5a5520
push 0x5a52c0
call fcn.0040ce90
add esp, 8
push 0x598fdc
push 0x5a52c0
call fcn.0040cea0
add esp, 8
push 0x598fd8
push 0x5a52c0
call fcn.0040cea0
add esp, 8
push str.HPC_9BB4684E_E897_4EC9_943E_CABA66431C50
push 0x5a52c0
call fcn.0040cea0
add esp, 8
push 0x5a5520
push 0x5a46a0
call fcn.0040ce90
add esp, 8
push str.HotkeyProxyServer.exe
push 0x5a46a0
call fcn.0040cea0
add esp, 8
push 0x598f90
push 0x5a46a0
call fcn.0040cea0
add esp, 8
push 0x598f64
push 0x5a46a0
call fcn.0040cea0
add esp, 8
push 0x5a5520
push 0x5a42a0
call fcn.0040ce90
add esp, 8
push 0x598f4c
push 0x5a42a0
call fcn.0040cea0
add esp, 8
push str.StreetPerfect_Hotkey_Proxy_Server_Window
push 0x5a48a0
call fcn.0040ce90
add esp, 8
push str.StreetPerfect_Hotkey_Proxy_Server_Message
push 0x5a80a0
call fcn.0040ce90
add esp, 8
push 0x598edc
push 0x5a7920
call fcn.00402770
add esp, 8
test eax, eax
je 0x4f3ee0
push 0x598eb0
push str.StreetPerfectHotkeyProxy
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x5a4ca8], eax
cmp dword [0x5a4ca8], 0
je 0x4f3e33
or eax, 0xffffffff
jmp 0x4f3efa
push str.StreetPerfect_Hotkey_Proxy_Client_Window
push 0x598e4c
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x5a4ca8], eax
cmp dword [0x5a4ca8], 0
je 0x4f3e5b
mov eax, 0xfffffffe
jmp 0x4f3efa
push str.HPW_D950F898_0B96_4626_8C89_56EF837FC831
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x5a76dc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4f3e83
mov eax, 0xfffffffd
jmp 0x4f3efa
mov eax, dword [0x5a76dc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x598df4
push 0x5a3ee0
call fcn.00402770
add esp, 8
test eax, eax
je 0x4f3ed7
push 1
mov ecx, dword [0x5a40f4]
push ecx
call fcn.00466a50
add esp, 8
call fcn.004f2860
call fcn.004f2700
push 0
mov edx, dword [0x5a40f4]
push edx
call fcn.00466a50
add esp, 8
xor eax, eax
jmp 0x4f3efa
call fcn.004f2c00
xor eax, eax
jmp 0x4f3efa
push 0x50010
push str.StreetPerfect_Hotkey_Request
push str.Invalid_Context___Request_Denied
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 0x10