Function at 0x404be0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4493ae
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x45e680]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
push edi
mov eax, dword [0x45e680]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
xor eax, eax
mov word [esp + 0x74], ax
xor ebx, ebx
push 0xa
mov eax, 0x451294
lea esi, [esp + 0x74]
mov edi, ecx
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
call fcn.00405070
push ebx
lea ecx, [esp + 0xb0]
push ecx
mov ecx, esi
mov dword [esp + 0xe8], ebx
call fcn.0040df50
mov byte [esp + 0xe0], 2
cmp dword [esp + 0x88], 8
jb 0x404c83
mov edx, dword [esp + 0x74]
push edx
call fcn.00413858
add esp, 4
mov eax, 7
mov dword [esp + 0x88], eax
xor ecx, ecx
mov dword [esp + 0x6c], eax
xor edx, edx
push 0x3b
mov eax, str.GlobalCheckNDISPort_3CAD0CCB_6E7E_41d9_96AB_2E6D9FEFD694
lea esi, [esp + 0x58]
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], cx
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], dx
call fcn.00405070
mov byte [esp + 0xe0], 3
xor eax, eax
mov word [esp + 0x3c], ax
push 0xc
mov eax, str.USBFLAGS_KEY
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
call fcn.00405070
mov byte [esp + 0xe0], 4
xor ecx, ecx
push 0xa
mov eax, str.APP_CONFIG
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], cx
call fcn.00405070
mov edx, esi
push edx
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x40]
lea ebx, [esp + 0x98]
mov byte [esp + 0xe8], 5
call fcn.0040e1e0
mov esi, 8
mov byte [esp + 0xe0], 6
cmp dword [eax + 0x18], esi
jb 0x404d50
mov eax, dword [eax + 4]
jmp 0x404d53
add eax, 4
push eax
lea ecx, [esp + 0x14]
call fcn.00404a10
cmp dword [esp + 0xa8], esi
jb 0x404d76
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00413858
add esp, 4
mov ebx, 7
xor esi, esi
xor edx, edx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], esi
mov word [esp + 0x94], dx
cmp dword [esp + 0x34], 8
jb 0x404da9
mov eax, dword [esp + 0x20]
push eax
call fcn.00413858
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
cmp dword [esp + 0x50], 8
jb 0x404dcc
mov edx, dword [esp + 0x3c]
push edx
call fcn.00413858
add esp, 4
xor eax, eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], ax
mov byte [esp + 0xe0], 0xb
cmp dword [esp + 0x6c], 8
jb 0x404df7
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00413858
add esp, 4
push 0x451270
push 0x450f80
lea eax, [esp + 0x18]
xor edx, edx
push eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], esi
mov word [esp + 0x64], dx
call fcn.00402590
mov ecx, dword [esp + 0x10]
push ecx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0xa4], eax
cmp eax, esi
jne 0x404e85
mov byte [esp + 0xe0], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404e59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0xc8], 8
mov dword [esp + 0xac], vtable.CCommonConfig.0
jb 0x404e7e
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.00413858
add esp, 4
xor eax, eax
jmp 0x404f8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x404ec3
mov edx, dword [edi + 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0xe0], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [edi + 0xa4], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x404e4d
lea edx, [esp + 0x14]
mov ebx, 8
push edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call fcn.004143d0
push esi
call fcn.00415522
add esp, 4
push pe_nt_image_headers32
call fcn.0041381e
add esp, 4
mov dword [esp + 0x8c], eax
mov byte [esp + 0xe0], 0xc
cmp eax, esi
je 0x404f17
push eax
call fcn.00405550
jmp 0x404f19
xor eax, eax
mov byte [esp + 0xe0], 0xb
mov dword [edi + 0xa8], eax
mov dword [edi + 0x20], eax
mov edx, dword [eax]
push esi
mov ecx, eax
mov eax, dword [edx + 0x13c]
push 0x66
call eax
mov byte [esp + 0xe0], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404f61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xac], vtable.CCommonConfig.0
cmp dword [esp + 0xc8], ebx
jb 0x404f85
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.00413858
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.0042f892
mov esp, ebp
pop ebp
ret