Function at 0x403270
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513be9
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x567650]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x22c]
mov esi, ecx
push eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x22c], 8
mov dword [ebp - 0x228], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.004095f1
lea ecx, [ebp - 0x238]
call fcn.0040c5f5
xor edi, edi
mov dword [ebp - 4], edi
push 0x24
mov byte [ebp - 4], 1
call fcn.0040858d
add esp, 4
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 2
cmp eax, edi
je 0x403306
mov ecx, eax
call fcn.00403d50
jmp 0x403308
xor eax, eax
mov dword [0x568b0c], eax
cmp byte [eax + 4], 1
mov byte [ebp - 4], 1
jne 0x403346
call fcn.00407ff0
mov dword [ebp - 4], 0xffffffff
call fcn.0040c60d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fb314
mov esp, ebp
pop ebp
ret
cmp byte [eax + 2], 1
jne 0x403353
call fcn.00407b80
jmp 0x40331c
cmp byte [eax + 3], 1
jne 0x403360
call fcn.00407ce0
jmp 0x40331c
cmp byte [eax], 1
jne 0x4033eb
lea ecx, [ebp - 0x220]
call fcn.00403040
push str.1.01.0003
lea ecx, [ebp - 0x220]
push str.ver.____s
push ecx
mov byte [ebp - 4], 3
call fcn.00403210
add esp, 0xc
call fcn.00409f74
cmp eax, edi
je 0x4033a7
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
cmp eax, edi
jne 0x4033ab
xor eax, eax
jmp 0x4033ae
mov eax, dword [eax + 0x20]
mov esi, dword [ebp - 0x220]
push edi
push str.WirelessSetupChecker.
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40331c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40331c
push str.BWSH
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x568b08], eax
cmp eax, edi
je 0x40331c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40331c
push 8
call fcn.0040858d
add esp, 4
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 4
cmp eax, edi
je 0x40343a
mov ecx, eax
call fcn.00402ac0
mov ecx, eax
jmp 0x40343c
xor ecx, ecx
mov byte [ebp - 4], 1
mov dword [0x568b10], ecx
cmp ecx, edi
je 0x403493
push str.BWSH
call fcn.00401660
cmp eax, edi
jne 0x403472
mov ecx, dword [0x568b10]
cmp ecx, edi
je 0x40346a
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [0x568b10], edi
jmp 0x403493
mov eax, dword [0x568b10]
cmp eax, edi
je 0x403493
push str.BWSH:
push str._s______________Log_Start______________n
push 0x40000
push eax
call fcn.00402b30
add esp, 0x10
push 0x14
call fcn.0040858d
add esp, 4
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 5
cmp eax, edi
je 0x4034b4
mov ecx, eax
call fcn.00403ef0
jmp 0x4034b6
xor eax, eax
push 0x84
mov byte [ebp - 4], 1
mov dword [0x568b14], eax
call fcn.0040858d
add esp, 4
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 6
cmp eax, edi
je 0x4034e5
mov ecx, eax
call fcn.00405ec0
mov esi, eax
jmp 0x4034e7
xor esi, esi
lea ecx, [ebp - 0x220]
call fcn.00403040
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push edi
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, edi
jne 0x403514
push str.WirelessSetupChecker
jmp 0x403547
push edi
push edi
push 0x104
lea edx, [ebp - 0x118]
push edx
push edi
push edi
push edi
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.004fb807
add esp, 0x24
cmp eax, edi
je 0x403540
push str.WirelessSetupChecker
jmp 0x403547
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00403230
mov ecx, dword [0x568b14]
call fcn.00403ea0
mov edx, dword [ebp - 0x220]
push str._Brother_Wireless_Setup_Helper_
push edx
mov ecx, esi
call fcn.004061f0
mov ecx, esi
call fcn.004071e0
mov eax, dword [0x568b14]
lea ecx, [eax + 0xc]
push ecx
lea edx, [eax + 8]
push edx
lea ecx, [eax + 4]
push ecx
push eax
mov ecx, esi
call fcn.004066b0
mov bl, al
mov eax, dword [0x568b10]
cmp eax, edi
je 0x403646
mov edx, dword [0x568b14]
mov ecx, dword [edx]
push ecx
push str.BWSH:
push str._s_SSID_is___s_n
push 0x40000
push eax
call fcn.00402b30
mov eax, dword [0x568b10]
add esp, 0x14
cmp eax, edi
je 0x403646
mov edx, dword [0x568b14]
mov ecx, dword [edx + 4]
push ecx
push str.BWSH:
push str._s_Key__is___s_n
push 0x40000
push eax
call fcn.00402b30
mov eax, dword [0x568b10]
add esp, 0x14
cmp eax, edi
je 0x403646
mov edx, dword [0x568b14]
mov ecx, dword [edx + 8]
push ecx
push str.BWSH:
push str._s_Auth_is___s_n
push 0x40000
push eax
call fcn.00402b30
mov eax, dword [0x568b10]
add esp, 0x14
cmp eax, edi
je 0x403646
mov edx, dword [0x568b14]
mov ecx, dword [edx + 0xc]
push ecx
push str.BWSH:
push str._s_Enc__is___s_n
push 0x40000
push eax
call fcn.00402b30
mov eax, dword [0x568b10]
add esp, 0x14
test bl, bl
je 0x40365a
mov ecx, dword [0x568b14]
call fcn.00403de0
mov eax, dword [0x568b10]
mov edx, dword [0x568b14]
cmp byte [edx + 0x10], 0
je 0x403694
cmp eax, edi
je 0x403682
push str.BWSH:
push str._s_Success_Get_n
push 0x40000
push eax
call fcn.00402b30
add esp, 0x10
mov eax, dword [ebp - 0x224]
mov dword [eax + 0xbc], 1
jmp 0x4036bc
cmp eax, edi
je 0x4036b0
push str.BWSH:
push str._s_Failed_Get_n
push 0x40000
push eax
call fcn.00402b30
add esp, 0x10
mov ecx, dword [ebp - 0x224]
mov dword [ecx + 0xbc], edi
cmp esi, edi
je 0x4036d0
mov ecx, esi
call fcn.00405f70
push esi
call fcn.004085c7
add esp, 4
lea ecx, [ebp - 0x220]
call fcn.00404ec0
mov dword [ebp - 4], 0xffffffff
call fcn.0040c60d
mov eax, 1
jmp 0x40332a