Function at 0x403268
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.004025bd
xor edi, edi
mov dword [esi + 0x1a4], eax
mov eax, dword [esi + 0xc0]
inc edi
cmp eax, edi
je 0x403374
cmp eax, 2
jle 0x403301
cmp eax, 4
jle 0x403343
cmp eax, 6
je 0x4032c1
cmp eax, 7
jne 0x403301
mov dword [ebp - 8], 3
mov dword [esi + 0xc0], edi
jmp 0x403301
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.004031a3
test al, al
jne 0x403dfc
mov byte [esi + 0x19c], 1
mov dword [esi + 0xc0], edi
mov dword [ebp - 8], edi
mov eax, dword [esi + 0xc0]
dec eax
je 0x403a73
dec eax
je 0x403938
dec eax
je 0x4034dc
dec eax
je 0x40341b
dec eax
je 0x403bc8
sub eax, 4
jne 0x403dfc
lea ecx, [ebp - 0x20]
call fcn.0040102d
lea ecx, [ebp - 0x20]
jmp 0x403df7
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.004031a3
test al, al
je 0x403301
jmp 0x403dfc
mov ecx, dword [esi + 0xb8]
call fcn.00405159
test eax, 0xffffff7f
jne 0x40339f
mov dword [esi + 0xc4], 8
mov dword [esi + 0xc0], 5
jmp 0x403301
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.004031a3
test al, al
jne 0x403dfc
cmp byte [esi + 0x19c], bl
jne 0x4032fe
mov ecx, dword [esi + 0xb8]
call fcn.00405159
test al, 2
jg 0x4032fe
lea edi, [esi + 0xc4]
cmp dword [edi], 0xffffffff
mov byte [esi + 0x19d], 1
jne 0x403406
mov dword [edi], 0xfa
mov ecx, dword [esi + 0xb8]
call fcn.00405159
and dword [edi], eax
mov dword [ebp - 8], ebx
jmp 0x403301
test byte [esi + 0xc4], 8
je 0x403455
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 0x40348f
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 0x4034d0
cmp byte [esi + 0x1a0], bl
je 0x403dfc
mov byte [esi + 0x19e], 1
jmp 0x403dfc
cmp dword [esi + 0xc4], 0xffffffff
jne 0x4034ef
mov dword [esi + 0xc4], 0xfa
mov ecx, dword [esi + 0xb8]
call fcn.00405159
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 0x403539
cmp byte [esi + 0x19f], bl
jne 0x403539
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x3f5
push 2
push ebx
mov ecx, esi
call fcn.00402426
test byte [esi + 0xc4], 8
je 0x40375f
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 0x40b78c
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.00402426
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.00405b9d
test al, al
je 0x403747
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.00402426
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.00405b9d
test al, al
je 0x403747
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.00402426
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.00405b9d
test al, al
je 0x403747
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 0x403dfc
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.00402426
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.00405b9d
test al, al
je 0x403dec
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.00402426
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.00405b9d
test al, al
je 0x403dec
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.00402426
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.00405b9d
test al, al
je 0x403dec
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 0x403dec
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.00402426
lea eax, [esi + 0xcc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401037
push ebx
push 0x40b78c
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.0040553f
test al, al
jne 0x4039f7
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.00405b9d
push 0x10
call fcn.00404120
mov edi, eax
pop ecx
cmp edi, ebx
je 0x403a1e
push ecx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00401037
push esi
mov ecx, edi
call fcn.004064e9
mov edi, eax
jmp 0x403a20
xor edi, edi
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
jne 0x403a41
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x3ef
push 3
push ebx
mov ecx, esi
call fcn.00402426
jmp 0x403a46
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, edi
call fcn.00406448
push edi
call fcn.00404134
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00401471
cmp dword [ebp - 0x1c], ebx
je 0x403dfc
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403dfc
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 0x405ca2
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 0x403ac8
push ecx
push ecx
lea eax, [esi + 0x1ac]
mov ecx, esp
push eax
call fcn.00401037
push dword [edi]
jmp 0x403b46
cmp eax, 0xb7
jne 0x403adf
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x3f3
jmp 0x403b46
mov eax, dword [esi + 0x1a4]
cmp eax, ebx
je 0x403b0f
dec eax
je 0x403aff
dec eax
jne 0x403b64
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x3fe
jmp 0x403b46
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x3f4
jmp 0x403b46
cmp byte [esi + 0x19d], bl
je 0x403b52
cmp byte [esi + 0x19f], bl
jne 0x403b52
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 0x403b52
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x3f5
push 2
push ebx
mov ecx, esi
call fcn.00402426
jmp 0x403b64
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 0x403b7b
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 0x403bb1
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 0x403a5c
cmp dword [ebp - 0x1c], ebx
je 0x403bc8
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x190], ebx
je 0x403bf3
mov ecx, esi
call fcn.00401fa9
test eax, eax
je 0x403bf3
mov esi, dword [esi + 0x190]
mov eax, dword [esi]
push 5
push 5
push 3
mov ecx, esi
call dword [eax + 0xc]
jmp 0x403dfc
mov ecx, dword [esi + 0xb8]
lea eax, [ebp - 0x18]
push eax
call fcn.004052b9
push ebx
push 0x40b78c
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.00404120
mov edi, eax
pop ecx
cmp edi, ebx
je 0x403c6b
push ebx
mov ecx, esi
call fcn.00401fa9
push eax
mov ecx, edi
call fcn.00407afd
jmp 0x403c6d
xor eax, eax
push 0x10
mov dword [esi + 0x190], eax
call fcn.00404120
mov edi, eax
pop ecx
cmp edi, ebx
je 0x403ca1
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.00405cf5
mov dword [ebp - 8], eax
jmp 0x403ca4
mov dword [ebp - 8], ebx
push dword [ebp - 8]
mov ecx, dword [esi + 0x190]
mov eax, dword [ecx]
push 0x405cf2
call dword [eax]
mov eax, dword [esi + 0x190]
mov ecx, dword [ebp - 8]
mov edi, dword [eax]
call fcn.004062c2
mov ecx, dword [esi + 0x190]
push eax
call dword [edi + 8]
push 0x38
call fcn.00404120
pop ecx
cmp eax, ebx
je 0x403ce5
mov ecx, eax
call fcn.00404219
jmp 0x403ce7
xor eax, eax
push dword [ebp - 8]
mov ecx, eax
push 0x40618f
mov dword [esi + 0x194], eax
call fcn.00404288
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 0x403d1f
push ecx
push ecx
mov ecx, esp
push str.ax_sgn.z
jmp 0x403d2d
cmp eax, 0x10
jne 0x403d3a
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.0040471e
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.00404259
cmp dword [ebp - 8], ebx
je 0x403d7a
mov ecx, dword [ebp - 8]
push 1
call fcn.004024f3
mov edi, dword [esi + 0x190]
cmp edi, ebx
je 0x403d92
mov ecx, edi
call fcn.0040712f
push edi
call fcn.00404134
pop ecx
cmp dword [ebp - 0xc], 0x64
mov dword [esi + 0x190], ebx
jne 0x403dec
push ecx
push ecx
mov ecx, esp
push ebx
push 0xa
push dword [esi + 0x1b8]
call fcn.00401427
push str._iv
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.004031a3
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