Function at 0x403492
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
mov byte [esi + 0x19d], bl
call fcn.0040271f
xor edi, edi
mov dword [esi + 0x1a4], eax
mov eax, dword [esi + 0xc0]
inc edi
cmp eax, edi
je 0x40359e
cmp eax, 2
jle 0x40352b
cmp eax, 4
jle 0x40356d
cmp eax, 6
je 0x4034eb
cmp eax, 7
jne 0x40352b
mov dword [ebp - 8], 3
mov dword [esi + 0xc0], edi
jmp 0x40352b
push ecx
push ecx
lea eax, [esi + 0xd4]
mov ecx, esp
push eax
call fcn.00401037
push ecx
push ecx
lea eax, [esi + 0xcc]
mov ecx, esp
push eax
call fcn.00401037
push ebx
mov ecx, esi
call fcn.004033cd
test al, al
jne 0x404026
mov byte [esi + 0x19c], 1
mov dword [esi + 0xc0], edi
mov dword [ebp - 8], edi
mov eax, dword [esi + 0xc0]
dec eax
je 0x403c9d
dec eax
je 0x403b62
dec eax
je 0x403706
dec eax
je 0x403645
dec eax
je 0x403df2
sub eax, 4
jne 0x404026
lea ecx, [ebp - 0x20]
call fcn.0040102d
lea ecx, [ebp - 0x20]
jmp 0x404021
push ecx
push ecx
lea eax, [esi + 0xd4]
mov ecx, esp
push eax
call fcn.00401037
push ecx
push ecx
lea eax, [esi + 0xcc]
mov ecx, esp
push eax
call fcn.00401037
push ebx
mov ecx, esi
call fcn.004033cd
test al, al
je 0x40352b
jmp 0x404026
mov ecx, dword [esi + 0xb8]
call fcn.00404bf2
test eax, 0xffffff7f
jne 0x4035c9
mov dword [esi + 0xc4], 8
mov dword [esi + 0xc0], 5
jmp 0x40352b
push ecx
push ecx
lea eax, [esi + 0xd4]
mov ecx, esp
push eax
call fcn.00401037
push ecx
push ecx
lea eax, [esi + 0xcc]
mov ecx, esp
push eax
call fcn.00401037
push ebx
mov ecx, esi
call fcn.004033cd
test al, al
jne 0x404026
cmp byte [esi + 0x19c], bl
jne 0x403528
mov ecx, dword [esi + 0xb8]
call fcn.00404bf2
test al, 2
jg 0x403528
lea edi, [esi + 0xc4]
cmp dword [edi], 0xffffffff
mov byte [esi + 0x19d], 1
jne 0x403630
mov dword [edi], 0xfa
mov ecx, dword [esi + 0xb8]
call fcn.00404bf2
and dword [edi], eax
mov dword [ebp - 8], ebx
jmp 0x40352b
test byte [esi + 0xc4], 8
je 0x40367f
mov ecx, esi
call fcn.00401fa9
mov eax, dword [eax + 0xc]
mov edi, dword [eax]
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x19f]
push eax
push ecx
push ecx
lea eax, [esi + 0x164]
mov ecx, esp
push eax
add edi, 0x20
call fcn.00401037
mov ecx, dword [ebp - 8]
push 8
call dword [edi]
test byte [esi + 0xc4], 0x10
je 0x4036b9
mov ecx, esi
call fcn.00401fa9
mov eax, dword [eax + 0xc]
mov edi, dword [eax]
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x19f]
push eax
push ecx
push ecx
lea eax, [esi + 0x164]
mov ecx, esp
push eax
add edi, 0x20
call fcn.00401037
mov ecx, dword [ebp - 8]
push 0x10
call dword [edi]
mov ecx, esi
call fcn.00401fa9
mov eax, dword [eax + 0xc]
mov edi, dword [eax]
push ecx
push ecx
mov dword [ebp - 8], eax
lea eax, [esi + 0x174]
mov ecx, esp
push eax
add edi, 0x24
call fcn.00401037
push dword [esi + 0xc4]
mov ecx, dword [ebp - 8]
call dword [edi]
cmp byte [esi + 0x19c], bl
jne 0x4036fa
cmp byte [esi + 0x1a0], bl
je 0x404026
mov byte [esi + 0x19e], 1
jmp 0x404026
cmp dword [esi + 0xc4], 0xffffffff
jne 0x403719
mov dword [esi + 0xc4], 0xfa
mov ecx, dword [esi + 0xb8]
call fcn.00404bf2
and dword [esi + 0xc4], eax
mov ecx, esi
call fcn.00401fa9
mov ecx, dword [eax + 0xc]
push dword [esi + 0xc4]
mov eax, dword [ecx]
call dword [eax + 0x10]
test al, al
jne 0x403763
cmp byte [esi + 0x19f], bl
jne 0x403763
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x3f5
push 2
push ebx
mov ecx, esi
call fcn.004025a7
test byte [esi + 0xc4], 8
je 0x403989
lea edi, [esi + 0x174]
push edi
lea ecx, [ebp - 0x20]
call fcn.00401037
push edi
lea ecx, [ebp - 0x10]
call fcn.00401037
push ecx
push ecx
lea eax, [esi + 0x90]
mov ecx, esp
push eax
call fcn.00401037
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.00401510
push ecx
push ecx
lea eax, [esi + 0x98]
mov ecx, esp
push eax
call fcn.00401037
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00401510
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401037
push ebx
push 0x40b7f4
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401835
lea ecx, [ebp - 0x28]
call fcn.00401471
push ecx
push ecx
mov ecx, esp
push str..dll
call fcn.0040140d
lea ecx, [ebp - 0x18]
call fcn.004014d9
mov ecx, esi
call fcn.00401fa9
movzx ecx, byte [esi + 0x19f]
mov eax, dword [eax + 0xc]
mov edi, dword [eax]
push ecx
push ecx
push ecx
mov dword [ebp - 8], eax
lea eax, [esi + 0x164]
mov ecx, esp
push eax
add edi, 0x18
call fcn.00401037
mov ecx, dword [ebp - 8]
push 8
call dword [edi]
mov ecx, esi
call fcn.00401fa9
mov eax, dword [eax + 0xc]
mov edi, dword [eax]
push ecx
push ecx
mov dword [ebp - 8], eax
lea eax, [esi + 0x174]
mov ecx, esp
push eax
add edi, 0x24
call fcn.00401037
mov ecx, dword [ebp - 8]
push 8
call dword [edi]
push ecx
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.00401037
push 0xd
push ebx
push ebx
mov ecx, esi
call fcn.004025a7
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 1
push 8
push ecx
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.00401037
mov ecx, dword [esi + 0xb8]
call fcn.00405e84
test al, al
je 0x403971
push ecx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00401037
push 0xf
push ebx
push ebx
mov ecx, esi
call fcn.004025a7
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 1
push 4
push ecx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00401037
mov ecx, dword [esi + 0xb8]
call fcn.00405e84
test al, al
je 0x403971
push ecx
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00401037
push 0x10
push ebx
push ebx
mov ecx, esi
call fcn.004025a7
push ecx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00401037
push 1
push 2
push ecx
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00401037
mov ecx, dword [esi + 0xb8]
call fcn.00405e84
test al, al
je 0x403971
mov ecx, esi
call fcn.00401fa9
mov eax, dword [eax + 0xc]
mov edi, dword [eax]
mov dword [ebp - 8], eax
add edi, 0x1c
cmp byte [esi + 0x1a0], bl
sete al
movzx eax, al
push eax
push ecx
push ecx
lea eax, [esi + 0x164]
mov ecx, esp
push eax
call fcn.00401037
push ecx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00401037
push ecx
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.00401037
mov ecx, dword [ebp - 8]
push 8
call dword [edi]
lea ecx, [ebp - 0x18]
call fcn.00401471
lea ecx, [ebp - 0x10]
call fcn.00401471
lea ecx, [ebp - 0x20]
call fcn.00401471
test byte [esi + 0xc4], 0x10
je 0x404026
lea edi, [esi + 0x174]
push edi
lea ecx, [ebp - 0x18]
call fcn.00401037
push edi
lea ecx, [ebp - 0x20]
call fcn.00401037
push ecx
push ecx
lea eax, [esi + 0xa0]
mov ecx, esp
push eax
call fcn.00401037
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.00401510
push ecx
push ecx
lea eax, [esi + 0xa8]
mov ecx, esp
push eax
call fcn.00401037
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.00401510
mov ecx, esi
call fcn.00401fa9
movzx ecx, byte [esi + 0x19f]
mov eax, dword [eax + 0xc]
mov edi, dword [eax]
push ecx
push ecx
push ecx
mov dword [ebp - 8], eax
lea eax, [esi + 0x164]
mov ecx, esp
push eax
add edi, 0x18
mov dword [ebp - 0xc], eax
call fcn.00401037
mov ecx, dword [ebp - 8]
push 0x10
call dword [edi]
mov ecx, esi
call fcn.00401fa9
mov eax, dword [eax + 0xc]
mov edi, dword [eax]
push ecx
push ecx
mov dword [ebp - 8], eax
lea eax, [esi + 0x174]
mov ecx, esp
push eax
add edi, 0x24
call fcn.00401037
mov ecx, dword [ebp - 8]
push 0x10
call dword [edi]
push ecx
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00401037
push 0xe
push ebx
push ebx
mov ecx, esi
call fcn.004025a7
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 1
push 0x10
push ecx
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00401037
mov ecx, dword [esi + 0xb8]
call fcn.00405e84
test al, al
je 0x404016
push ecx
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.00401037
push 0xf
push ebx
push ebx
mov ecx, esi
call fcn.004025a7
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 1
push 4
push ecx
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.00401037
mov ecx, dword [esi + 0xb8]
call fcn.00405e84
test al, al
je 0x404016
push ecx
push ecx
mov ecx, esp
lea edi, [esi + 0x174]
push edi
call fcn.00401037
push 0x11
push ebx
push ebx
mov ecx, esi
call fcn.004025a7
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 1
push 0x100
push ecx
push ecx
mov ecx, esp
push edi
call fcn.00401037
mov ecx, dword [esi + 0xb8]
call fcn.00405e84
test al, al
je 0x404016
mov ecx, esi
call fcn.00401fa9
mov eax, dword [eax + 0xc]
mov edi, dword [eax]
add edi, 0x1c
cmp byte [esi + 0x1a0], bl
mov dword [ebp - 8], eax
sete al
movzx eax, al
push eax
push ecx
push ecx
mov ecx, esp
push dword [ebp - 0xc]
call fcn.00401037
push ecx
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.00401037
push ecx
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00401037
mov ecx, dword [ebp - 8]
push 0x10
call dword [edi]
jmp 0x404016
push str.0697F55F_F461_46fc_BABA_6D27CC032A75
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push ecx
cmp eax, 0xb7
mov ecx, esp
sete byte [ebp - 1]
call fcn.0040102d
cmp byte [ebp - 1], bl
push 0x3f3
sete al
movzx eax, al
push 3
push eax
mov ecx, esi
call fcn.004025a7
lea eax, [esi + 0xcc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401037
push ebx
push 0x40b7f4
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401835
lea ecx, [ebp - 0x30]
call fcn.00401471
push ecx
push ecx
mov ecx, esp
push str..dll
call fcn.0040140d
lea ecx, [ebp - 0x10]
call fcn.004014d9
push ecx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00401037
mov ecx, dword [esi + 0xb8]
call fcn.00405826
test al, al
jne 0x403c21
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push ebx
push 2
push ecx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00401037
mov ecx, dword [esi + 0xb8]
call fcn.00405e84
push 0x10
call fcn.00404351
mov edi, eax
pop ecx
cmp edi, ebx
je 0x403c48
push ecx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00401037
push esi
mov ecx, edi
call fcn.004067fa
mov edi, eax
jmp 0x403c4a
xor edi, edi
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
jne 0x403c6b
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x3ef
push 3
push ebx
mov ecx, esi
call fcn.004025a7
jmp 0x403c70
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, edi
call fcn.00406759
push edi
call fcn.00404365
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00401471
cmp dword [ebp - 0x1c], ebx
je 0x404026
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404026
mov ecx, esi
call fcn.00401fa9
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 8]
push esi
mov dword [esi + 0x190], eax
mov edx, dword [eax]
push 0x405f89
mov ecx, eax
call dword [edx]
push str.FEC7EF28_53E7_4f06_8F56_FA6D670C8D3C
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esi + 0x1a8]
cmp dword [edi], ebx
je 0x403cf2
push ecx
push ecx
lea eax, [esi + 0x1ac]
mov ecx, esp
push eax
call fcn.00401037
push dword [edi]
jmp 0x403d70
cmp eax, 0xb7
jne 0x403d09
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x3f3
jmp 0x403d70
mov eax, dword [esi + 0x1a4]
cmp eax, ebx
je 0x403d39
dec eax
je 0x403d29
dec eax
jne 0x403d8e
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x3fe
jmp 0x403d70
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x3f4
jmp 0x403d70
cmp byte [esi + 0x19d], bl
je 0x403d7c
cmp byte [esi + 0x19f], bl
jne 0x403d7c
mov ecx, esi
call fcn.00401fa9
mov ecx, dword [eax + 0xc]
push dword [esi + 0xc4]
mov eax, dword [ecx]
call dword [eax + 0x10]
test al, al
jne 0x403d7c
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x3f5
push 2
push ebx
mov ecx, esi
call fcn.004025a7
jmp 0x403d8e
push dword [ebp - 8]
mov ecx, dword [esi + 0x190]
mov eax, dword [ecx]
push 6
push 3
call dword [eax + 0xc]
cmp byte [esi + 0x19d], bl
je 0x403da5
mov ecx, esi
call fcn.00401fa9
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x68]
mov ecx, dword [esi + 0x190]
mov dword [esi + 0xc0], ebx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edi, eax
cmp dword [esi + 0x190], ebx
je 0x403ddb
mov ecx, esi
call fcn.00401fa9
mov ecx, dword [eax + 0xc]
push dword [esi + 0x190]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esi + 0x190], ebx
cmp edi, 5
jne 0x403c86
cmp dword [ebp - 0x1c], ebx
je 0x403df2
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x190], ebx
je 0x403e1d
mov ecx, esi
call fcn.00401fa9
test eax, eax
je 0x403e1d
mov esi, dword [esi + 0x190]
mov eax, dword [esi]
push 5
push 5
push 3
mov ecx, esi
call dword [eax + 0xc]
jmp 0x404026
mov ecx, dword [esi + 0xb8]
lea eax, [ebp - 0x18]
push eax
call fcn.004055a0
push ebx
push 0x40b7f4
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401835
lea ecx, [ebp - 0x38]
call fcn.00401471
push ecx
push ecx
lea eax, [esi + 0x88]
mov ecx, esp
push eax
call fcn.00401037
push 0x5c
push ecx
push ecx
mov ecx, esp
push str..dir
call fcn.0040140d
lea ecx, [ebp - 0x18]
call fcn.004014d9
mov ecx, eax
call fcn.00401510
push 0x20
call fcn.00404351
mov edi, eax
pop ecx
cmp edi, ebx
je 0x403e95
push ebx
mov ecx, esi
call fcn.00401fa9
push eax
mov ecx, edi
call fcn.00407e0e
jmp 0x403e97
xor eax, eax
push 0x10
mov dword [esi + 0x190], eax
call fcn.00404351
mov edi, eax
pop ecx
cmp edi, ebx
je 0x403ecb
push ecx
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00401037
push dword [esi + 0x190]
mov ecx, edi
push esi
call fcn.00405fdc
mov dword [ebp - 8], eax
jmp 0x403ece
mov dword [ebp - 8], ebx
push dword [ebp - 8]
mov ecx, dword [esi + 0x190]
mov eax, dword [ecx]
push 0x405fd9
call dword [eax]
mov eax, dword [esi + 0x190]
mov ecx, dword [ebp - 8]
mov edi, dword [eax]
call fcn.004065a9
mov ecx, dword [esi + 0x190]
push eax
call dword [edi + 8]
push 0x38
call fcn.00404351
pop ecx
cmp eax, ebx
je 0x403f0f
mov ecx, eax
call fcn.0040444a
jmp 0x403f11
xor eax, eax
push dword [ebp - 8]
mov ecx, eax
push 0x406476
mov dword [esi + 0x194], eax
call fcn.004044b9
push str.http:__fpdownload.macromedia.com_get_flashplayer_update_current_install_install_all_win_
lea ecx, [ebp - 0x20]
call fcn.0040140d
mov eax, dword [esi + 0xc4]
cmp eax, 8
jne 0x403f49
push ecx
push ecx
mov ecx, esp
push str.ax_sgn.z
jmp 0x403f57
cmp eax, 0x10
jne 0x403f64
push ecx
push ecx
mov ecx, esp
push str.pl_sgn.z
call fcn.0040140d
lea ecx, [ebp - 0x20]
call fcn.004014d9
push ecx
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.00401037
mov ecx, dword [esi + 0x194]
call fcn.0040494f
mov ecx, dword [esi + 0x190]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0x194]
mov dword [ebp - 0xc], eax
call fcn.0040448a
cmp dword [ebp - 8], ebx
je 0x403fa4
mov ecx, dword [ebp - 8]
push 1
call fcn.004023a7
mov edi, dword [esi + 0x190]
cmp edi, ebx
je 0x403fbc
mov ecx, edi
call fcn.00407440
push edi
call fcn.00404365
pop ecx
cmp dword [ebp - 0xc], 0x64
mov dword [esi + 0x190], ebx
jne 0x404016
push ecx
push ecx
mov ecx, esp
push ebx
push 0xa
push dword [esi + 0x1b8]
call fcn.00401427
push 0x40b654
lea ecx, [ebp - 0x40]
call fcn.0040140d
mov ecx, eax
call fcn.004014d9
push ecx
push ecx
mov ecx, esp
push eax
call fcn.00401037
push ecx
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00401037
push 1
mov ecx, esi
call fcn.004033cd
lea ecx, [ebp - 0x40]
call fcn.00401471
lea ecx, [ebp - 0x20]
call fcn.00401471
lea ecx, [ebp - 0x18]
call fcn.00401471
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret