Function at 0x402843
Capabilities:
Check mutex on windows

Disassembly:
push 0x2c
mov eax, 0x5d3a96
call fcn.005a940c
mov ebx, ecx
push 0x625fcc
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x665588], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x402acf
and dword [ebp - 4], 0
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x24], 0xff
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, ebx
call fcn.00463a4e
push 0
call fcn.00464d0c
push 0xc
call fcn.00462143
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 1
test ecx, ecx
je 0x4028c6
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00465ac7
mov edi, eax
jmp 0x4028c8
xor edi, edi
mov byte [ebp - 4], 0
push 0x5eccb4
call fcn.0046e0be
mov ecx, ebx
call fcn.00402422
and dword [ebp - 0x20], 0
push dword [ebx + 0x48]
lea ecx, [ebp - 0x20]
call fcn.00402f2e
mov byte [ebp - 4], 2
and dword [ebp - 0x2c], 0
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
call fcn.00402344
mov byte [ebp - 4], 3
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
call fcn.00402344
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
push eax
mov esi, 0x625fe4
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402e00
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x18]
call fcn.00402159
mov byte [ebp - 4], 6
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00402322
push 0x626018
push dword [ebp - 0x18]
call fcn.00402fa4
pop ecx
pop ecx
test eax, eax
je 0x402a27
push 0
lea ecx, [ebp - 0x18]
call fcn.00402b77
cmp ax, 0x2d
je 0x402981
push 0
lea ecx, [ebp - 0x18]
call fcn.00402b77
cmp ax, 0x2f
jne 0x4029be
push 1
push 0
lea ecx, [ebp - 0x18]
call fcn.00402af9
lea eax, [ebp - 0x2c]
push eax
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402e00
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402159
mov byte [ebp - 4], 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00402322
push 0x625fe8
push dword [ebp - 0x18]
call fcn.005b025c
pop ecx
pop ecx
test eax, eax
jne 0x4029d8
mov ecx, 0x6655d4
jmp 0x4029f0
push str.referrerid
push dword [ebp - 0x18]
call fcn.005b025c
pop ecx
pop ecx
test eax, eax
jne 0x4029f9
mov ecx, 0x6655dc
lea eax, [ebp - 0x1c]
push eax
call fcn.00402159
lea eax, [ebp - 0x2c]
push eax
push esi
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402e00
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x18]
call fcn.00402159
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
jmp 0x402942
mov ecx, ebx
call fcn.00402703
push 0x308
call fcn.00462143
pop ecx
mov esi, eax
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0xb
test esi, esi
je 0x402a60
push 0x308
push 0
push esi
call fcn.005ad460
pop ecx
pop ecx
mov ecx, esi
call fcn.00403253
mov ecx, eax
jmp 0x402a62
xor ecx, ecx
mov byte [ebp - 4], 4
mov dword [ebx + 0xd4], ecx
mov eax, dword [ecx]
call dword [eax + 0x174]
test edi, edi
je 0x402a81
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebx + 0xd4]
test ecx, ecx
je 0x402a92
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402322
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402322
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402322
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.005a9359
ret