Function at 0x4034ef
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 + 0x1a5], bl
call fcn.0040272f
xor edi, edi
mov dword [esi + 0x1ac], eax
mov eax, dword [esi + 0xc8]
inc edi
cmp eax, edi
je 0x4035fb
cmp eax, 2
jle 0x403588
cmp eax, 4
jle 0x4035ca
cmp eax, 6
je 0x403548
cmp eax, 7
jne 0x403588
mov dword [ebp - 8], 3
mov dword [esi + 0xc8], edi
jmp 0x403588
push ecx
push ecx
lea eax, [esi + 0xdc]
mov ecx, esp
push eax
call fcn.00401037
push ecx
push ecx
lea eax, [esi + 0xd4]
mov ecx, esp
push eax
call fcn.00401037
push ebx
mov ecx, esi
call fcn.0040342a
test al, al
jne 0x4040e4
mov byte [esi + 0x1a4], 1
mov dword [esi + 0xc8], edi
mov dword [ebp - 8], edi
mov eax, dword [esi + 0xc8]
dec eax
je 0x403d35
dec eax
je 0x403bfa
dec eax
je 0x403763
dec eax
je 0x4036a2
dec eax
je 0x403eb0
sub eax, 4
jne 0x4040e4
lea ecx, [ebp - 0x20]
call fcn.0040102d
lea ecx, [ebp - 0x20]
jmp 0x4040df
push ecx
push ecx
lea eax, [esi + 0xdc]
mov ecx, esp
push eax
call fcn.00401037
push ecx
push ecx
lea eax, [esi + 0xd4]
mov ecx, esp
push eax
call fcn.00401037
push ebx
mov ecx, esi
call fcn.0040342a
test al, al
je 0x403588
jmp 0x4040e4
mov ecx, dword [esi + 0xc0]
call fcn.00405448
test eax, 0xffffff7f
jne 0x403626
mov dword [esi + 0xcc], 8
mov dword [esi + 0xc8], 5
jmp 0x403588
push ecx
push ecx
lea eax, [esi + 0xdc]
mov ecx, esp
push eax
call fcn.00401037
push ecx
push ecx
lea eax, [esi + 0xd4]
mov ecx, esp
push eax
call fcn.00401037
push ebx
mov ecx, esi
call fcn.0040342a
test al, al
jne 0x4040e4
cmp byte [esi + 0x1a4], bl
jne 0x403585
mov ecx, dword [esi + 0xc0]
call fcn.00405448
test al, 2
jg 0x403585
lea edi, [esi + 0xcc]
cmp dword [edi], 0xffffffff
mov byte [esi + 0x1a5], 1
jne 0x40368d
mov dword [edi], 0xfa
mov ecx, dword [esi + 0xc0]
call fcn.00405448
and dword [edi], eax
mov dword [ebp - 8], ebx
jmp 0x403588
test byte [esi + 0xcc], 8
je 0x4036dc
mov ecx, esi
call fcn.00401fa9
mov eax, dword [eax + 0xc]
mov edi, dword [eax]
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x1a7]
push eax
push ecx
push ecx
lea eax, [esi + 0x16c]
mov ecx, esp
push eax
add edi, 0x20
call fcn.00401037
mov ecx, dword [ebp - 8]
push 8
call dword [edi]
test byte [esi + 0xcc], 0x10
je 0x403716
mov ecx, esi
call fcn.00401fa9
mov eax, dword [eax + 0xc]
mov edi, dword [eax]
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x1a7]
push eax
push ecx
push ecx
lea eax, [esi + 0x16c]
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 + 0x17c]
mov ecx, esp
push eax
add edi, 0x24
call fcn.00401037
push dword [esi + 0xcc]
mov ecx, dword [ebp - 8]
call dword [edi]
cmp byte [esi + 0x1a4], bl
jne 0x403757
cmp byte [esi + 0x1a8], bl
je 0x4040e4
mov byte [esi + 0x1a6], 1
jmp 0x4040e4
cmp dword [esi + 0xcc], 0xffffffff
jne 0x403776
mov dword [esi + 0xcc], 0xfa
mov ecx, dword [esi + 0xc0]
call fcn.00405448
and dword [esi + 0xcc], eax
mov ecx, esi
call fcn.00401fa9
mov ecx, dword [eax + 0xc]
push dword [esi + 0xcc]
mov eax, dword [ecx]
call dword [eax + 0x10]
test al, al
jne 0x4037c0
cmp byte [esi + 0x1a7], bl
jne 0x4037c0
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x3f5
push 2
push ebx
mov ecx, esi
call fcn.004025b7
test byte [esi + 0xcc], 8
je 0x403a21
cmp byte [esi + 0x1a9], bl
je 0x403808
mov ecx, esi
call fcn.00401fa9
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0xcc]
mov edx, dword [ecx]
push eax
call dword [edx + 0x50]
cmp dword [eax + 8], ebx
jbe 0x403808
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x40e
push 2
push ebx
mov ecx, esi
call fcn.004025b7
lea edi, [esi + 0x17c]
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 + 0x98]
mov ecx, esp
push eax
call fcn.00401037
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.00401510
push ecx
push ecx
lea eax, [esi + 0xa0]
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 0x40b7fc
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 + 0x1a7]
mov eax, dword [eax + 0xc]
mov edi, dword [eax]
push ecx
push ecx
push ecx
mov dword [ebp - 8], eax
lea eax, [esi + 0x16c]
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 + 0x17c]
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.004025b7
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 + 0xc0]
call fcn.00405f42
test al, al
je 0x403a09
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.004025b7
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 + 0xc0]
call fcn.00405f42
test al, al
je 0x403a09
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.004025b7
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 + 0xc0]
call fcn.00405f42
test al, al
je 0x403a09
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 + 0x1a8], bl
sete al
movzx eax, al
push eax
push ecx
push ecx
lea eax, [esi + 0x16c]
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 + 0xcc], 0x10
je 0x4040e4
lea edi, [esi + 0x17c]
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 + 0xa8]
mov ecx, esp
push eax
call fcn.00401037
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.00401510
push ecx
push ecx
lea eax, [esi + 0xb0]
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 + 0x1a7]
mov eax, dword [eax + 0xc]
mov edi, dword [eax]
push ecx
push ecx
push ecx
mov dword [ebp - 8], eax
lea eax, [esi + 0x16c]
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 + 0x17c]
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.004025b7
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 + 0xc0]
call fcn.00405f42
test al, al
je 0x4040d4
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.004025b7
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 + 0xc0]
call fcn.00405f42
test al, al
je 0x4040d4
push ecx
push ecx
mov ecx, esp
lea edi, [esi + 0x17c]
push edi
call fcn.00401037
push 0x11
push ebx
push ebx
mov ecx, esi
call fcn.004025b7
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 + 0xc0]
call fcn.00405f42
test al, al
je 0x4040d4
mov ecx, esi
call fcn.00401fa9
mov eax, dword [eax + 0xc]
mov edi, dword [eax]
add edi, 0x1c
cmp byte [esi + 0x1a8], 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 0x4040d4
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.004025b7
lea eax, [esi + 0xd4]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401037
push ebx
push 0x40b7fc
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 + 0xc0]
call fcn.004058e4
test al, al
jne 0x403cb9
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 + 0xc0]
call fcn.00405f42
push 0x10
call fcn.0040440f
mov edi, eax
pop ecx
cmp edi, ebx
je 0x403ce0
push ecx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00401037
push esi
mov ecx, edi
call fcn.004068b8
mov edi, eax
jmp 0x403ce2
xor edi, edi
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
jne 0x403d03
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x3ef
push 3
push ebx
mov ecx, esi
call fcn.004025b7
jmp 0x403d08
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, edi
call fcn.00406817
push edi
call fcn.00404423
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00401471
cmp dword [ebp - 0x1c], ebx
je 0x4040e4
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4040e4
mov ecx, esi
call fcn.00401fa9
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 8]
push esi
mov dword [esi + 0x198], eax
mov edx, dword [eax]
push 0x406047
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 + 0x1b0]
cmp dword [edi], ebx
je 0x403d8a
push ecx
push ecx
lea eax, [esi + 0x1b4]
mov ecx, esp
push eax
call fcn.00401037
push dword [edi]
jmp 0x403e08
cmp eax, 0xb7
jne 0x403da1
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x3f3
jmp 0x403e08
mov eax, dword [esi + 0x1ac]
cmp eax, ebx
je 0x403dd1
dec eax
je 0x403dc1
dec eax
jne 0x403e26
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x3fe
jmp 0x403e08
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x3f4
jmp 0x403e08
cmp byte [esi + 0x1a5], bl
je 0x403e14
cmp byte [esi + 0x1a7], bl
jne 0x403e14
mov ecx, esi
call fcn.00401fa9
mov ecx, dword [eax + 0xc]
push dword [esi + 0xcc]
mov eax, dword [ecx]
call dword [eax + 0x10]
test al, al
jne 0x403e14
push ecx
push ecx
mov ecx, esp
call fcn.0040102d
push 0x3f5
push 2
push ebx
mov ecx, esi
call fcn.004025b7
jmp 0x403e26
push dword [ebp - 8]
mov ecx, dword [esi + 0x198]
mov eax, dword [ecx]
push 6
push 3
call dword [eax + 0xc]
cmp byte [esi + 0x1a5], bl
je 0x403e3d
mov ecx, esi
call fcn.00401fa9
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x68]
mov ecx, dword [esi + 0x198]
mov dword [esi + 0xc8], ebx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [ebp - 8], eax
cmp dword [esi + 0x198], ebx
je 0x403e74
mov ecx, esi
call fcn.00401fa9
mov ecx, dword [eax + 0xc]
push dword [esi + 0x198]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esi + 0x198], ebx
mov edi, 0x40f
cmp dword [ebp - 8], edi
jne 0x403e98
push ecx
push ecx
mov ecx, esp
mov byte [esi + 0x1bc], bl
call fcn.0040102d
push edi
push 2
push ebx
mov ecx, esi
call fcn.004025b7
cmp dword [ebp - 8], 5
jne 0x403d1e
cmp dword [ebp - 0x1c], ebx
je 0x403eb0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x198], ebx
je 0x403edb
mov ecx, esi
call fcn.00401fa9
test eax, eax
je 0x403edb
mov esi, dword [esi + 0x198]
mov eax, dword [esi]
push 5
push 5
push 3
mov ecx, esi
call dword [eax + 0xc]
jmp 0x4040e4
mov ecx, dword [esi + 0xc0]
lea eax, [ebp - 0x18]
push eax
call fcn.0040565e
push ebx
push 0x40b7fc
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 + 0x90]
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.0040440f
mov edi, eax
pop ecx
cmp edi, ebx
je 0x403f53
push ebx
mov ecx, esi
call fcn.00401fa9
push eax
mov ecx, edi
call fcn.00407ee4
jmp 0x403f55
xor eax, eax
push 0x10
mov dword [esi + 0x198], eax
call fcn.0040440f
mov edi, eax
pop ecx
cmp edi, ebx
je 0x403f89
push ecx
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00401037
push dword [esi + 0x198]
mov ecx, edi
push esi
call fcn.0040609a
mov dword [ebp - 8], eax
jmp 0x403f8c
mov dword [ebp - 8], ebx
push dword [ebp - 8]
mov ecx, dword [esi + 0x198]
mov eax, dword [ecx]
push 0x406097
call dword [eax]
mov eax, dword [esi + 0x198]
mov ecx, dword [ebp - 8]
mov edi, dword [eax]
call fcn.00406667
mov ecx, dword [esi + 0x198]
push eax
call dword [edi + 8]
push 0x38
call fcn.0040440f
pop ecx
cmp eax, ebx
je 0x403fcd
mov ecx, eax
call fcn.00404508
jmp 0x403fcf
xor eax, eax
push dword [ebp - 8]
mov ecx, eax
push 0x406534
mov dword [esi + 0x19c], eax
call fcn.00404577
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 + 0xcc]
cmp eax, 8
jne 0x404007
push ecx
push ecx
mov ecx, esp
push str.ax_sgn.z
jmp 0x404015
cmp eax, 0x10
jne 0x404022
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 + 0x19c]
call fcn.00404a0d
mov ecx, dword [esi + 0x198]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0x19c]
mov dword [ebp - 0xc], eax
call fcn.00404548
cmp dword [ebp - 8], ebx
je 0x404062
mov ecx, dword [ebp - 8]
push 1
call fcn.004023a7
mov edi, dword [esi + 0x198]
cmp edi, ebx
je 0x40407a
mov ecx, edi
call fcn.004074fe
push edi
call fcn.00404423
pop ecx
cmp dword [ebp - 0xc], 0x64
mov dword [esi + 0x198], ebx
jne 0x4040d4
push ecx
push ecx
mov ecx, esp
push ebx
push 0xa
push dword [esi + 0x1c0]
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.0040342a
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