Function at 0x406d80
Capabilities:
Copy file
Create directory
Create process on windows
Get common file path
Get file version info
Get installed programs
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xab0
mov eax, dword [0x42a21c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, dword [ebp + 0x10]
push eax
call fcn.00402a50
add esp, 4
mov dword [ebp - 0x9f8], 0
mov dword [ebp - 0xa98], 0
push 0x104
push 0
lea ecx, [ebp - 0x228]
push ecx
call fcn.0040bfb0
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x498]
push edx
call fcn.0040bfb0
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x59c]
push eax
call fcn.0040bfb0
add esp, 0xc
mov dword [ebp - 0xa9c], 0
mov dword [ebp - 0x9d0], 0
mov dword [ebp - 0x9d8], 1
mov dword [ebp - 0xa44], 1
mov dword [ebp - 0x9d4], 1
mov dword [ebp - 0xa1c], 0
mov dword [ebp - 0x9c8], 0
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], cx
mov byte [ebp - 0x12], cl
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov word [ebp - 8], dx
mov dword [ebp - 0xaa0], 0
mov dword [ebp - 0x9e0], 0
mov eax, 1
imul ecx, eax, 0
mov dword [ebp - 0xa00], ecx
cmp dword [ebp - 0xa00], 0x104
jae 0x406e8a
jmp 0x406e8f
call fcn.0040b0c3
mov edx, dword [ebp - 0xa00]
mov byte [ebp + edx - 0x124], 0
mov dword [ebp - 0xa38], 5
mov dword [ebp - 0xa48], 0
lea eax, [ebp - 0x20]
push eax
call fcn.00411503
add esp, 4
lea ecx, [ebp - 0x10]
push ecx
call fcn.00411439
add esp, 4
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x10]
push eax
push str._s__s
push 0x42b1f4
call fcn.004012e0
add esp, 0x10
push 0
mov ecx, dword [0x42aed8]
push ecx
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x9c4]
call fcn.004032e0
push 0x104
push 0x42b218
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x420590
push 0x42b218
call fcn.00401320
add esp, 8
mov dword [ebp - 0xa04], eax
cmp dword [ebp - 0xa04], 0
je 0x406f3e
mov ecx, dword [ebp - 0xa04]
mov byte [ecx], 0
jmp 0x406f50
push 0x420cb0
push 0x42b218
call fcn.0040f870
add esp, 8
cmp dword [ebp + 0x14], 0
je 0x406f60
mov dword [ebp - 0x9d8], 1
cmp dword [ebp + 0x10], 0
je 0x4071b7
mov edx, dword [ebp + 0x10]
push edx
call fcn.0041283e
add esp, 4
push str._nogui
mov eax, dword [ebp + 0x10]
push eax
call fcn.00401320
add esp, 8
test eax, eax
je 0x406fac
push str._gui
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00401320
add esp, 8
test eax, eax
jne 0x406fac
mov dword [ebp - 0xa08], 0
jmp 0x406fb6
mov dword [ebp - 0xa08], 1
mov edx, dword [ebp - 0xa08]
mov dword [ebp - 0x9d8], edx
push str._noserial
mov eax, dword [ebp + 0x10]
push eax
call fcn.00401320
add esp, 8
test eax, eax
je 0x406ff8
push str._serial
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00401320
add esp, 8
test eax, eax
jne 0x406ff8
mov dword [ebp - 0xa0c], 0
jmp 0x407002
mov dword [ebp - 0xa0c], 1
mov edx, dword [ebp - 0xa0c]
mov dword [ebp - 0x9d4], edx
push str._calledfromstub
mov eax, dword [ebp + 0x10]
push eax
call fcn.00401320
add esp, 8
test eax, eax
je 0x40702f
mov dword [ebp - 0xa10], 1
jmp 0x407039
mov dword [ebp - 0xa10], 0
mov ecx, dword [ebp - 0xa10]
mov dword [0x42b328], ecx
push str._ofpid
mov edx, dword [ebp + 0x10]
push edx
call fcn.00401320
add esp, 8
test eax, eax
je 0x407066
mov dword [ebp - 0xa14], 1
jmp 0x407070
mov dword [ebp - 0xa14], 0
mov eax, dword [ebp - 0xa14]
mov dword [ebp - 0xa1c], eax
push str._jumpurl
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00401320
add esp, 8
mov dword [ebp - 0x9c8], eax
cmp dword [ebp - 0x9c8], 0
je 0x4071b7
mov esi, dword [ebp - 0x9c8]
sub esi, dword [ebp + 0x10]
push str._jumpurl
call fcn.0040f970
add esp, 4
add esi, eax
mov edx, dword [ebp + 0x10]
push edx
call fcn.0040f970
add esp, 4
cmp esi, eax
jae 0x4071b7
push str._jumpurl
call fcn.0040f970
add esp, 4
mov ecx, dword [ebp - 0x9c8]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x9c8], edx
mov eax, dword [ebp - 0x9c8]
movsx ecx, byte [eax]
cmp ecx, 0x7e
jne 0x40718e
push 0x5c
call fcn.0041114d
mov edx, 4
imul ecx, edx, 0
mov edx, dword [eax]
mov eax, dword [edx + ecx]
push eax
call fcn.00406320
add esp, 8
test eax, eax
je 0x40717f
push 0x5c
call fcn.0041114d
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [eax]
mov ecx, dword [eax + edx]
push ecx
call fcn.00406320
add esp, 8
mov esi, eax
call fcn.0041114d
mov edx, 4
imul ecx, edx, 0
mov edx, dword [eax]
sub esi, dword [edx + ecx]
add esi, 1
mov dword [ebp - 0x9e0], esi
mov eax, dword [ebp - 0x9e0]
push eax
call fcn.0041114d
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [eax]
mov ecx, dword [eax + edx]
push ecx
lea edx, [ebp - 0x228]
push edx
call fcn.00411010
add esp, 0xc
mov eax, dword [ebp - 0x9c8]
add eax, 1
mov dword [ebp - 0x9c8], eax
mov ecx, 0x104
sub ecx, dword [ebp - 0x9e0]
push ecx
mov edx, dword [ebp - 0x9c8]
push edx
mov eax, dword [ebp - 0x9e0]
lea ecx, [ebp + eax - 0x228]
push ecx
call fcn.00411010
add esp, 0xc
push str.uninstall
call fcn.0041114d
mov edx, 4
imul ecx, edx, 0
mov edx, dword [eax]
mov eax, dword [edx + ecx]
push eax
call fcn.00401320
add esp, 8
test eax, eax
je 0x4071e7
mov dword [ebp - 0xa18], 1
jmp 0x4071f1
mov dword [ebp - 0xa18], 0
mov ecx, dword [ebp - 0xa18]
mov dword [ebp - 0x9d0], ecx
cmp dword [ebp - 0x9d0], 0
je 0x407448
cmp dword [ebp - 0xa1c], 0
je 0x40740a
mov dword [ebp - 0x9e8], 0
mov dword [ebp - 0x9fc], 0xa
mov edx, 1
imul eax, edx, 0
lea ecx, [ebp + eax - 0x7a4]
mov dword [ebp - 0x9cc], ecx
mov dword [ebp - 0xab0], 4
push 0x104
lea edx, [ebp - 0x7a4]
push edx
push 0x35
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov dword [ebp - 0xaa4], 0
jmp 0x40727d
mov ecx, dword [ebp - 0x9cc]
add ecx, 1
mov dword [ebp - 0x9cc], ecx
mov edx, dword [ebp - 0x9cc]
movsx eax, byte [edx]
test eax, eax
je 0x4072ea
mov ecx, dword [ebp - 0x9cc]
movsx edx, byte [ecx]
cmp edx, 0x30
jl 0x4072d0
mov eax, dword [ebp - 0x9cc]
movsx ecx, byte [eax]
cmp ecx, 0x39
jg 0x4072d0
mov edx, dword [ebp - 0x9e8]
imul edx, dword [ebp - 0x9fc]
mov eax, dword [ebp - 0x9cc]
movsx ecx, byte [eax]
lea edx, [edx + ecx - 0x30]
mov dword [ebp - 0x9e8], edx
mov dword [ebp - 0x9fc], 0xa
mov eax, dword [ebp - 0x9cc]
movsx ecx, byte [eax]
cmp ecx, 0x3a
jne 0x4072e8
mov dword [ebp - 0x9fc], 6
jmp 0x40726e
call fcn.00405550
test eax, eax
jne 0x4073e5
call fcn.00403f30
test eax, eax
je 0x407305
call fcn.00406040
call fcn.00405550
test eax, eax
jne 0x4073e0
push str.OFNUM
call fcn.0040ab50
add esp, 4
mov dword [ebp - 0xa90], eax
mov edx, dword [ebp - 0xa90]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x407338
jmp 0x407342
mov dword [ebp - 0x9f8], 1
cmp dword [ebp - 0x9f8], 0
jne 0x407355
mov dword [ebp - 0x9e4], 0xc8
mov eax, dword [ebp - 0x9e4]
mov dword [ebp - 0xa88], eax
mov ecx, dword [ebp - 0x9e4]
sub ecx, 1
mov dword [ebp - 0x9e4], ecx
cmp dword [ebp - 0xa88], 0
je 0x4073aa
mov edx, dword [ebp - 0x9e4]
push edx
push 0x420d10
lea eax, [ebp - 0x25c]
push eax
call fcn.004012e0
add esp, 0xc
lea ecx, [ebp - 0x25c]
push ecx
push str.OFNUM
call fcn.0040ae90
add esp, 8
jmp 0x4073cf
call fcn.00405d90
mov dword [ebp - 0xa50], 4
lea ecx, [ebp - 0x9c4]
call fcn.00402260
mov eax, dword [ebp - 0xa50]
jmp 0x407dba
imul edx, dword [ebp - 0x9e8], 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4072ea
call fcn.00405d90
mov dword [ebp - 0xa54], 0
lea ecx, [ebp - 0x9c4]
call fcn.00402260
mov eax, dword [ebp - 0xa54]
jmp 0x407dba
push 1
push 0x420d14
push str.This_clears_the_Onflow_Player_from_your_system._nMake_sure_to_close_all_BROWSERS_and_n_Windows_Explorer__prior_to_running_this_program.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x407443
mov dword [ebp - 0xa58], 1
lea ecx, [ebp - 0x9c4]
call fcn.00402260
mov eax, dword [ebp - 0xa58]
jmp 0x407dba
jmp 0x4075f3
cmp dword [0x42b328], 0
jne 0x4075f3
push 0x104
lea eax, [ebp - 0x6a0]
push eax
push 0x11a
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x42b218
lea edx, [ebp - 0x394]
push edx
call fcn.0040f870
add esp, 8
lea eax, [ebp - 0x69c]
push eax
lea ecx, [ebp - 0x394]
push ecx
call fcn.0040f880
add esp, 8
lea edx, [ebp - 0x394]
push edx
call fcn.00410533
add esp, 4
lea eax, [ebp - 0x394]
push eax
call fcn.004128d1
add esp, 4
push 0x104
lea ecx, [ebp - 0x6a0]
push ecx
push 0x119
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x42b218
lea eax, [ebp - 0x394]
push eax
call fcn.0040f870
add esp, 8
lea ecx, [ebp - 0x69c]
push ecx
lea edx, [ebp - 0x394]
push edx
call fcn.0040f880
add esp, 8
push 0
lea eax, [ebp - 0x394]
push eax
call fcn.0041114d
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [eax]
mov ecx, dword [eax + edx]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edx, [ebp - 0xaa8]
push edx
lea eax, [ebp - 0xa24]
push eax
push 0
push 0xf003f
push 0
push 0x420437
push 0
mov ecx, dword [str.SoftwareMicrosoftWindowsCurrentVersionUninstallOnflow]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x9f0], eax
cmp dword [ebp - 0x9f0], 0
jne 0x4075f3
mov dword [ebp - 0xa20], str.Onflow_Player
mov edx, dword [ebp - 0xa20]
push edx
call fcn.0040f970
add esp, 4
mov dword [ebp - 0x9ec], eax
mov eax, dword [ebp - 0x9ec]
push eax
mov ecx, dword [ebp - 0xa20]
push ecx
push 1
push 0
push str.DisplayName
mov edx, dword [ebp - 0xa24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x9f0], eax
lea eax, [ebp - 0x394]
push eax
call fcn.0040f970
add esp, 4
mov dword [ebp - 0x9ec], eax
mov ecx, dword [ebp - 0x9ec]
push ecx
mov edx, 1
imul eax, edx, 0
lea ecx, [ebp + eax - 0x394]
push ecx
push 1
push 0
push str.UninstallString
mov edx, dword [ebp - 0xa24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x9f0], eax
push 0x104
lea eax, [ebp - 0x59c]
push eax
push 9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x420dd4
lea edx, [ebp - 0x59c]
push edx
call fcn.00401320
add esp, 8
test eax, eax
je 0x40762d
mov dword [ebp - 0x9d8], 1
push str.nogui
lea eax, [ebp - 0x59c]
push eax
call fcn.00401320
add esp, 8
test eax, eax
je 0x40764f
mov dword [ebp - 0x9d8], 0
push 0x104
lea ecx, [ebp - 0x498]
push ecx
push 0xa
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
push str.serial
lea eax, [ebp - 0x498]
push eax
call fcn.00401320
add esp, 8
test eax, eax
je 0x407689
mov dword [ebp - 0x9d4], 1
push str.noserial
lea ecx, [ebp - 0x498]
push ecx
call fcn.00401320
add esp, 8
test eax, eax
je 0x4076ab
mov dword [ebp - 0x9d4], 0
lea edx, [ebp - 0x228]
test edx, edx
je 0x4076c8
lea eax, [ebp - 0x228]
push eax
call fcn.0040f970
add esp, 4
test eax, eax
jne 0x4076e9
cmp dword [0x42b328], 0
jne 0x4076e9
push 0x104
lea ecx, [ebp - 0x228]
push ecx
push 4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
mov dword [ebp - 0xa28], 0
mov dword [ebp - 0x9f4], 1
mov dword [ebp - 0xa5c], 0x420590
lea eax, [ebp - 0xa28]
push eax
call fcn.0041114d
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [eax]
mov ecx, dword [eax + edx]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xa2c], eax
mov edx, dword [ebp - 0xa2c]
add edx, 8
push edx
call fcn.00401160
add esp, 4
mov dword [0x42aed8], eax
mov eax, dword [0x42aed8]
push eax
mov ecx, dword [ebp - 0xa2c]
push ecx
mov edx, dword [ebp - 0xa28]
push edx
call fcn.0041114d
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [eax]
mov ecx, dword [eax + edx]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
mov dword [ebp - 0x9f4], eax
lea edx, [ebp - 0xaac]
push edx
push 0x42b3f0
mov eax, dword [ebp - 0xa5c]
push eax
mov ecx, dword [0x42aed8]
push ecx
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x9f4], eax
cmp dword [ebp - 0x9f4], 0
je 0x4077d4
mov edx, dword [0x42b3f0]
mov ax, word [edx + 0xa]
mov word [0x429098], ax
mov ecx, dword [0x42b3f0]
mov dx, word [ecx + 8]
mov word [0x42aedc], dx
mov eax, dword [0x42b3f0]
mov cx, word [eax + 0xe]
mov word [0x42afe4], cx
push 0x104
push 0x42aee0
push 6
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x104
push 0x42afe8
push 7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x104
push 0x42b0f0
push 8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x420df4
call fcn.0040f970
add esp, 4
add eax, 0x42aee0
push eax
call fcn.00410c80
add esp, 4
mov dword [0x42b324], eax
push 0x42b0f7
call fcn.00410c80
add esp, 4
mov word [0x42b0ec], ax
push 0x2e
push 0x42b0f0
call fcn.00406300
add esp, 8
test eax, eax
je 0x40787d
push 0x2e
push 0x42b0f0
call fcn.00406300
add esp, 8
add eax, 1
push eax
call fcn.00410c80
add esp, 4
mov word [0x42b31c], ax
push 0x2e
push 0x2e
push 0x42b0f0
call fcn.00406300
add esp, 8
add eax, 1
push eax
call fcn.00406300
add esp, 8
test eax, eax
je 0x4078cd
push 0x2e
push 0x2e
push 0x42b0f0
call fcn.00406300
add esp, 8
add eax, 1
push eax
call fcn.00406300
add esp, 8
add eax, 1
push eax
call fcn.00410c80
add esp, 4
mov word [0x42b320], ax
cmp dword [ebp - 0x9d8], 0
je 0x4079b1
cmp dword [ebp - 0x9d0], 0
jne 0x4079b1
lea edx, [ebp - 0x124]
push edx
call fcn.00405070
add esp, 4
test eax, eax
jne 0x40791a
mov dword [ebp - 0xa60], 0x104
mov eax, dword [ebp - 0xa60]
push eax
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x40794c
push 0x5c
lea edx, [ebp - 0x124]
push edx
call fcn.00406320
add esp, 8
mov dword [ebp - 0xa4c], eax
cmp dword [ebp - 0xa4c], 0
je 0x40794c
push str.Plugins
mov eax, dword [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x9b0]
push edx
call fcn.0040f870
add esp, 8
lea ecx, [ebp - 0x9c4]
call fcn.004038f0
mov dword [ebp - 0xa48], eax
cmp dword [ebp - 0xa48], 1
jne 0x407991
cmp dword [ebp - 0x9b4], 0
jne 0x40798f
mov dword [ebp - 0xa44], 0
jmp 0x4079b1
mov dword [ebp - 0xa64], 1
lea ecx, [ebp - 0x9c4]
call fcn.00402260
mov eax, dword [ebp - 0xa64]
jmp 0x407dba
lea eax, [ebp - 0xa94]
push eax
lea ecx, [ebp - 0xa6c]
push ecx
push 0
push 0xf003f
push 0
push 0x420437
push 0
mov edx, dword [str.SoftwareOnflow]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0xa68], eax
cmp dword [ebp - 0xa68], 0
jne 0x407ae6
mov dword [ebp - 0x9dc], 0
mov eax, dword [0x42b324]
mov dword [ebp - 0xa30], eax
push str.OFMID
call fcn.0040ab50
add esp, 4
mov dword [ebp - 0x9dc], eax
mov ecx, dword [ebp - 0x9dc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x407a5e
mov edx, dword [0x42b324]
push edx
push 0x420e10
lea eax, [ebp - 0x290]
push eax
call fcn.004012e0
add esp, 0xc
lea ecx, [ebp - 0x290]
push ecx
push str.OFMID
call fcn.0040ae90
add esp, 8
jmp 0x407a73
mov edx, dword [ebp - 0x9dc]
push edx
call fcn.00410c80
add esp, 4
mov dword [ebp - 0xa30], eax
push str.OFPID
call fcn.0040ab50
add esp, 4
mov dword [ebp - 0x9dc], eax
mov eax, dword [ebp - 0x9dc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x407aa1
mov dword [ebp - 0x9d4], 0
mov ecx, dword [ebp - 0xa6c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
je 0x407abd
mov eax, dword [ebp - 0xa30]
mov dword [0x42b324], eax
cmp dword [ebp - 0x9f8], 0
je 0x407ae6
mov dword [ebp - 0xa70], 0xffffffff
lea ecx, [ebp - 0x9c4]
call fcn.00402260
mov eax, dword [ebp - 0xa70]
jmp 0x407dba
cmp dword [ebp - 0x9d0], 0
je 0x407b0e
mov ecx, dword [ebp - 0x9d0]
push ecx
call fcn.00404710
add esp, 4
test eax, eax
je 0x407b07
call fcn.00406340
push 0
call fcn.00410999
cmp dword [ebp - 0xa44], 0
je 0x407b8b
mov edx, dword [ebp - 0x9d0]
push edx
call fcn.00404710
add esp, 4
test eax, eax
je 0x407b37
call fcn.00404640
mov dword [ebp - 0xa38], eax
jmp 0x407b86
mov eax, 1
imul ecx, eax, 0
mov dword [ebp - 0xa40], ecx
cmp dword [ebp - 0xa40], 0x104
jae 0x407b53
jmp 0x407b58
call fcn.0040b0c3
mov edx, dword [ebp - 0xa40]
mov byte [ebp + edx - 0x228], 0
mov dword [ebp - 0xa74], 0xffffffff
lea ecx, [ebp - 0x9c4]
call fcn.00402260
mov eax, dword [ebp - 0xa74]
jmp 0x407dba
jmp 0x407c85
lea eax, [ebp - 0x9b0]
push eax
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x124]
push edx
call fcn.0040f970
add esp, 4
cmp eax, 1
jbe 0x407c0a
lea eax, [ebp - 0x124]
push eax
call fcn.0040f970
add esp, 4
movsx ecx, byte [ebp + eax - 0x125]
cmp ecx, 0x5c
jne 0x407c0a
lea edx, [ebp - 0x124]
push edx
call fcn.0040f970
add esp, 4
sub eax, 1
mov dword [ebp - 0xa3c], eax
cmp dword [ebp - 0xa3c], 0x104
jae 0x407bf5
jmp 0x407bfa
call fcn.0040b0c3
mov eax, dword [ebp - 0xa3c]
mov byte [ebp + eax - 0x124], 0
jmp 0x407b9f
push 0
lea ecx, [ebp - 0x124]
push ecx
push str.User_Defined
push str.ALL
call fcn.004044d0
add esp, 0x10
test eax, eax
je 0x407c36
call fcn.00404640
mov dword [ebp - 0xa38], eax
jmp 0x407c85
mov edx, 1
imul eax, edx, 0
mov dword [ebp - 0xa34], eax
cmp dword [ebp - 0xa34], 0x104
jae 0x407c52
jmp 0x407c57
call fcn.0040b0c3
mov ecx, dword [ebp - 0xa34]
mov byte [ebp + ecx - 0x228], 0
mov dword [ebp - 0xa78], 0xffffffff
lea ecx, [ebp - 0x9c4]
call fcn.00402260
mov eax, dword [ebp - 0xa78]
jmp 0x407dba
cmp dword [0x42b33c], 0
je 0x407cbe
cmp dword [ebp - 0x9d4], 0
je 0x407cbe
cmp dword [0x42b328], 0
jne 0x407cbe
call fcn.00405550
test eax, eax
jne 0x407cbe
call fcn.00403f30
test eax, eax
je 0x407cbe
mov edx, dword [ebp + 8]
push edx
call fcn.00403b80
add esp, 4
mov eax, 1
imul ecx, eax, 0
movsx edx, byte [ebp + ecx - 0x228]
test edx, edx
je 0x407d2a
mov eax, 1
imul ecx, eax, 0
movsx edx, byte [ebp + ecx - 0x228]
cmp edx, 0x20
je 0x407d2a
cmp dword [0x42b328], 0
jne 0x407d2a
push 5
push 0
push 0
lea eax, [ebp - 0x228]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0xa7c], 0
lea ecx, [ebp - 0x9c4]
call fcn.00402260
mov eax, dword [ebp - 0xa7c]
jmp 0x407dba
cmp dword [0x42b33c], 0
je 0x407d45
cmp dword [ebp - 0x9d4], 0
je 0x407d45
cmp dword [0x42b328], 0
je 0x407d62
mov dword [ebp - 0xa8c], 0
lea ecx, [ebp - 0x9c4]
call fcn.00402260
mov eax, dword [ebp - 0xa8c]
jmp 0x407dba
mov dword [ebp - 0xa80], 0xfffffffe
lea ecx, [ebp - 0x9c4]
call fcn.00402260
mov eax, dword [ebp - 0xa80]
jmp 0x407dba
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040af7c
mov esp, ebp
pop ebp
ret 0x10