Function at 0x408410
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
push eax
push 0x169
push str.R:TempViewMiscSetup3BackupDownloaderBackupDownload.cpp
mov edx, 0x45a7a8
mov ebx, str._tWinMain
mov edi, 3
mov ecx, str.wWinMain
mov dword [ebp - 4], 0x45ac68
call fcn.00407520
add esp, 0xc
push str._TXQQSetupEx0503A1C22B84_CE8D_437A_AA60_6D3ABCB18ACF
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x408478
lea ecx, [ebp + 0x10]
push ecx
mov dword [ebp + 0x10], 0x45ac9c
push 0x16d
jmp 0x40866e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.get_current_time:_lu
push str.wWinMain
mov ebx, str._tWinMain
mov ecx, 0x174
mov edx, str.R:TempViewMiscSetup3BackupDownloaderBackupDownload.cpp
mov dword [0x49f04c], eax
call fcn.0040e5f0
mov eax, dword [ebp + 0x10]
add esp, 0xc
lea edx, [eax + 2]
jmp 0x4084b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4084b0
sub eax, edx
sar eax, 1
je 0x4084ed
lea edx, [ebp + 0x10]
push edx
push 0x178
push str.R:TempViewMiscSetup3BackupDownloaderBackupDownload.cpp
mov edx, 0x45a7a8
mov ebx, str._tWinMain
mov ecx, str.wWinMain
mov dword [ebp + 0x10], str.cmd_line
call fcn.00407520
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp + 0x10], 5
call fcn.00407ee0
add esp, 4
test eax, eax
jne 0x40854a
lea ecx, [ebp + 0x10]
push ecx
mov dword [ebp + 0x10], 0x45ad04
push 0x180
mov edx, 0x45a7a8
mov ebx, str._tWinMain
lea edi, [eax + 3]
push str.R:TempViewMiscSetup3BackupDownloaderBackupDownload.cpp
mov ecx, str.wWinMain
call fcn.00407520
add esp, 0xc
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00408260
mov eax, dword [ebp + 0x10]
mov byte [0x49f040], al
cmp eax, 1
je 0x4085f3
cmp eax, 2
je 0x4085f3
mov edi, 3
mov ebx, str._tWinMain
cmp eax, edi
jne 0x4085a9
lea edx, [ebp + 0x10]
push edx
push 0x194
push str.R:TempViewMiscSetup3BackupDownloaderBackupDownload.cpp
mov edx, 0x45a7a8
mov ecx, str.wWinMain
mov dword [ebp + 0x10], 0x45ad58
call fcn.00407520
push edi
call fcn.00407d10
add esp, 0x10
jmp 0x408659
mov edx, 0x45a7a8
cmp eax, 4
jne 0x4085de
lea eax, [ebp + 0x10]
push eax
push 0x199
push str.R:TempViewMiscSetup3BackupDownloaderBackupDownload.cpp
mov ecx, str.wWinMain
mov dword [ebp + 0x10], 0x45ad6c
call fcn.00407520
push 4
call fcn.00407d10
add esp, 0x10
jmp 0x408659
lea ecx, [ebp + 0x10]
push ecx
mov dword [ebp + 0x10], 0x45ad84
push 0x19f
jmp 0x40852b
push esi
mov esi, dword [ebp - 4]
push esi
push 0x45ad14
push str.wWinMain
mov ebx, str._tWinMain
mov edi, 3
mov ecx, 0x18a
mov edx, str.R:TempViewMiscSetup3BackupDownloaderBackupDownload.cpp
call fcn.0040e5f0
add esp, 0xc
cmp dword [ebp + 0x10], 2
jne 0x40864b
lea edx, [ebp - 4]
push edx
push 0x18d
push str.R:TempViewMiscSetup3BackupDownloaderBackupDownload.cpp
mov edx, 0x45a7a8
mov ecx, str.wWinMain
mov dword [ebp - 4], 0x45ad44
call fcn.00407520
add esp, 0xc
mov eax, dword [ebp + 0x10]
push esi
push eax
call fcn.00407aa0
add esp, 8
pop esi
lea ecx, [ebp + 0x10]
push ecx
mov dword [ebp + 0x10], 0x45adb0
push 0x1a3
mov edi, 3
push str.R:TempViewMiscSetup3BackupDownloaderBackupDownload.cpp
mov edx, 0x45a7a8
mov ebx, str._tWinMain
mov ecx, str.wWinMain
call fcn.00407520
add esp, 0xc
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10