Function at 0x4083f0
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x45d1d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0x104
mov dword [ebp - 0x110], eax
xor edi, edi
mov dword [0x46fff8], eax
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.0040bad0
add esp, 0xc
call fcn.00405da0
call fcn.00403010
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40844c
push edi
push 0x1b
push 2
jmp 0x408655
push 0x450a64
push esi
call fcn.004171a4
mov ecx, dword [0x46fffc]
test eax, eax
mov edx, 1
cmove ecx, edx
push 0x46fff0
push 0x46ffec
mov dword [0x46fffc], ecx
call fcn.00405810
add esp, 0x10
test eax, eax
je 0x40865d
push esi
call fcn.00401930
mov eax, dword [0x46ffec]
add esp, 4
test eax, eax
je 0x4084a3
call fcn.00405720
mov eax, dword [0x46ffec]
cmp dword [0x46fffc], edi
je 0x4084c2
test eax, eax
je 0x408527
call fcn.004055a0
test eax, eax
jne 0x408527
push eax
push 0x22
push 0xb
jmp 0x408655
push str.E5DCA3F2_49A4_11d5_A8B4_00E0292F63EA
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x45dfe4], eax
test eax, eax
jne 0x4084e4
call ebx
push eax
push 0x1c
jmp 0x408653
call ebx
cmp eax, 0xb7
jne 0x4084f8
push 0
push 0x1d
push 1
jmp 0x408655
push 0x45ded4
push 0
push dword [ebp - 0x110]
push 0x407120
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x45ded0], eax
test eax, eax
jne 0x408527
call ebx
push eax
push 0x1e
jmp 0x408653
push 0x100
push 0
push 0x45ded8
call fcn.0040bad0
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004032a0
add esp, 0x14
test eax, eax
je 0x40865d
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004040e0
add esp, 8
test eax, eax
je 0x40865d
movsx eax, byte [ebp - 0x10c]
push eax
call fcn.004176b4
sub eax, 0x60
push eax
call fcn.0042965c
add esp, 8
test eax, eax
je 0x40859f
call fcn.00415d0b
push dword [eax]
push 0x1f
jmp 0x408653
lea eax, [ebp - 0x108]
push eax
call fcn.00429e97
add esp, 4
test eax, eax
jne 0x40864a
cmp dword [0x46ffec], edi
je 0x4085e8
call fcn.004055a0
test eax, eax
jne 0x4085e8
call fcn.004049a0
test eax, eax
je 0x4085e8
push str.No_Admin_Privilege
call fcn.00401930
add esp, 4
call fcn.00403c30
test eax, eax
jne 0x4085fe
jmp 0x40865d
push str.Has_Admin_Privilege
call fcn.00401930
add esp, 4
call fcn.00403970
test eax, eax
je 0x40865d
movsx eax, byte [ebp - 0x10c]
push eax
call fcn.004176b4
sub eax, 0x60
push eax
call fcn.0042965c
add esp, 8
test eax, eax
je 0x408626
call fcn.00415d0b
push dword [eax]
push 0xb
jmp 0x408653
lea eax, [ebp - 0x108]
push eax
call fcn.00429e97
add esp, 4
test eax, eax
jne 0x40864a
push 0x450840
call fcn.00429e97
add esp, 4
test eax, eax
je 0x408662
call fcn.00415d0b
push dword [eax]
push 0xc
push 8
call fcn.00403800
add esp, 0xc
mov edi, 1
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408670
sub ecx, edx
test ecx, ecx
jle 0x4086a9
lea eax, [ebp - 0x108]
push eax
call fcn.00403450
add esp, 4
test eax, eax
jne 0x4086a9
push eax
push 0x20
lea eax, [ebp - 0x108]
push eax
push 4
call fcn.004036c0
add esp, 0x10
mov edi, 1
cmp dword [0x45ded0], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4086f4
push 0
push 0
push 0x12
push dword [0x45ded4]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push 0xffffffffffffffff
push dword [0x45ded0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x4086ec
call ebx
push eax
push 0x14
push 8
call fcn.00403800
add esp, 0xc
push dword [0x45ded0]
call esi
mov eax, dword [0x45dfe4]
test eax, eax
je 0x408700
push eax
call esi
mov eax, dword [0x45dfdc]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x408712
push eax
call esi
mov eax, dword [0x45dfd8]
test eax, eax
je 0x40871e
push eax
call esi
mov eax, dword [0x45dfe0]
test eax, eax
je 0x40872a
push eax
call esi
cmp dword [0x478140], 0
je 0x408799
mov esi, dword [0x478054]
test esi, esi
je 0x408765
cmp dword [esi], 0
je 0x408765
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x40874f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x20]
push 0
mov dword [esi + 0x10], 0
call eax
add esi, 0x24
cmp dword [esi], 0
jne 0x408742
mov esi, dword [0x45d008]
mov ecx, dword [0x45d00c]
cmp esi, ecx
jae 0x40878f
mov eax, dword [esi]
test eax, eax
je 0x408788
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x45d00c]
add esi, 4
cmp esi, ecx
jb 0x408775
mov ecx, 0x478028
call fcn.00407450
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040acca
mov esp, ebp
pop ebp
ret 0x10