Function at 0x401250
Capabilities:
Create directory

Disassembly:
sub esp, 0xc3c
push ebx
push ebp
push esi
push edi
push 0x69
push 0x411ec8
call fcn.00402d00
mov eax, dword [0x411fe4]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 8
push 0x640000
push 0
push 0x401
push 0x3ed
push eax
call ebp
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.00402090
mov edi, 0x4183c5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4012e8
mov edi, 0x4183c5
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + 0x4183c4], 0x5c
je 0x4012e8
mov edi, 0x40f714
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x4183c5
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x4183c5
mov ecx, 0x411ed8
call fcn.00403b34
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push 0x4183c5
call ebx
mov edi, 0x4183c5
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x864]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x864]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, str.Modules
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x868]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
push str.Dirs
push 0x4183c5
mov ecx, 0x411ed8
call fcn.00403b7c
lea ecx, [esp + 0x864]
push str.Dirs
push ecx
mov ecx, 0x411ed8
call fcn.00403b7c
mov edi, 0x4183c5
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x94]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x94]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Modules_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x94]
and ecx, 3
push str.Dirs
rep movsb byte es:[edi], byte [esi]
mov edi, str.boot
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x98]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x411ed8
call fcn.00403b7c
lea ecx, [esp + 0x94]
push 0
push ecx
call ebx
mov edi, 0x40f6ec
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x94]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Dirs
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x98]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x411ed8
call fcn.00403b7c
lea ecx, [esp + 0x94]
push 0
push ecx
call ebx
mov edi, 0x4183c5
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x94]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x94]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str.Channels
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Dirs
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x98]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x411ed8
call fcn.00403b7c
lea ecx, [esp + 0x94]
push 0
push ecx
call ebx
mov edi, 0x4183c5
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x94]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Dirs
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x98]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Record
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x98]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x411ed8
call fcn.00403b7c
lea ecx, [esp + 0x94]
push 0
push ecx
call ebx
mov edx, dword [0x411fe4]
push 0
push 5
push 0x402
push 0x3ed
push edx
call ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call ebx
mov eax, dword [0x411fe4]
mov edi, dword [sym.imp.USER32.dll_UpdateWindow]
push eax
call edi
call fcn.00402090
push 0
push 0x411ec8
lea ecx, [esp + 0x1c]
push 0x40f6cc
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.0040413c
add esp, 0x14
test eax, eax
jne 0x401628
mov cl, byte [0x4183c4]
mov edx, dword [0x411fdc]
neg cl
sbb ecx, ecx
lea eax, [esp + 0x30]
and ecx, 6
push 0x64
add ecx, 3
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
lea eax, [esp + 0x34]
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xc3c
ret
mov ecx, dword [0x411fe4]
push 0
push 0x23
push 0x402
push 0x3ed
push ecx
call ebp
push eax
call ebx
mov edx, dword [0x411fe4]
push edx
call edi
call fcn.00402090
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add eax, esi
cmp esi, eax
mov dword [esp + 0x1c], eax
jae 0x4016c4
xor ecx, ecx
mov cl, byte [esi]
mov edi, ecx
mov edx, dword [edi + esi + 5]
mov eax, dword [edi + esi + 1]
mov dword [esp + 0x28], edx
mov ecx, dword [edi + esi + 9]
mov dword [esp + 0x2c], ecx
mov edx, dword [edi + esi + 0xd]
mov dword [esp + 0x20], edx
mov ecx, dword [edi + esi + 0x11]
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x28]
push edx
push ecx
mov dword [esp + 0x20], eax
push eax
lea edx, [edi + esi + 0x15]
lea eax, [esi + 1]
push edx
push eax
call fcn.00401e70
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add ecx, edi
add esp, 0x14
lea esi, [esi + ecx + 0x15]
cmp esi, eax
jb 0x401662
mov edi, dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [0x411fe4]
push 0
push 0x5a
push 0x402
push 0x3ed
push edx
call ebp
push eax
call ebx
mov eax, dword [0x411fe4]
push eax
call edi
call fcn.00402090
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4016fc
push eax
call fcn.0040729e
add esp, 4
mov al, byte [0x411fea]
test al, al
jne 0x401a25
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x411ff0
push 0
push str.ProgDVB.lnk
push str.ProgDVB.exe
call fcn.00401c20
push 0x411ff0
push 1
push str.ProgDVB.lnk
push str.ProgDVB.exe
call fcn.00401c20
push 0
push 0
push str.Uninstall.lnk
push str.Uninstall.exe
call fcn.00401c20
push 0
push 0
push str.GraphEdit.lnk
push str.graphedt.exe
call fcn.00401c20
add esp, 0x40
push 0x411ff0
push 0
push str.Elecard_Registrator.lnk
push str.FiltersRegistrator.exe
call fcn.00401c20
mov edi, 0x4183c5
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x47c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x47c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Uninstall.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x47c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, str.ProgDVB
call fcn.00403878
mov eax, dword [0x411fe4]
push 0
push 0x5c
push 0x402
push 0x3ed
push eax
call ebp
push eax
call ebx
mov ecx, dword [0x411fe4]
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
push ecx
call esi
call fcn.00402090
mov al, byte [0x4187ad]
test al, al
je 0x401850
push str.LC.dll
call fcn.00401a50
push str.em2vd.ax
call fcn.00401a50
push str.el2ad.ax
call fcn.00401a50
add esp, 0xc
mov ecx, 0x4183c0
push 0x4183c5
call fcn.00403458
mov al, byte [0x4187ae]
test al, al
je 0x401866
push str.thsource.ax
call fcn.00401a50
add esp, 4
mov edx, dword [0x411fe4]
push 0
push 0x5f
push 0x402
push 0x3ed
push edx
call ebp
push eax
call ebx
mov eax, dword [0x411fe4]
push eax
call esi
call fcn.00402090
mov edi, 0x4183c5
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x47c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x47c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.ProgDVB.ini
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x4183c4]
mov ecx, ebx
and ecx, 3
test al, al
rep movsb byte es:[edi], byte [esi]
mov eax, 0x40f628
jne 0x4018fa
mov eax, 0x40f620
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x47c]
push ecx
push eax
push str.Language
push str.Options
call esi
mov eax, dword [0x418ba0]
lea edx, [esp + 0x47c]
push edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax*2 + 0x40f040]
push ecx
push str.CurDeviceFile
push str.Modules
call esi
mov eax, dword [0x418ba0]
lea edx, [esp + 0x47c]
push edx
lea ecx, [eax*4 + 0x40f4f0]
push ecx
push str.CurDeviceID
push str.Modules
call esi
mov edx, dword [0x418ba0]
mov eax, 0x40f5ec
inc edx
cmp edx, 0x18
jl 0x401973
mov eax, 0x40f5e8
lea ecx, [esp + 0x47c]
push ecx
push eax
push str.StartDevice
push str.Modules
call esi
mov al, byte [0x4187b5]
test al, al
je 0x401998
mov eax, 0x40f5d8
jmp 0x4019ad
mov eax, dword [0x4187b0]
lea edx, [esp + 0x30]
push 0xa
push edx
push eax
call fcn.0040c43a
add esp, 0xc
lea ecx, [esp + 0x47c]
push ecx
push eax
push str.BufferSize
push str.SoftwareRender
call esi
mov al, byte [0x4187b4]
test al, al
jne 0x4019d9
mov al, byte [0x4187b5]
test al, al
mov eax, 0x40f5e8
je 0x4019de
mov eax, 0x40f5ec
lea edx, [esp + 0x47c]
push edx
push eax
push str.InMemory
push str.SoftwareRender
call esi
lea eax, [esp + 0x47c]
push eax
push 0x4187b6
push str.FileName
push str.SoftwareRender
call esi
lea ecx, [esp + 0x47c]
push ecx
push 0x40f5ec
push str.ProgMediaServer.Module
push str.DisabledModules
call esi
mov eax, dword [0x411ed4]
pop edi
inc eax
pop esi
mov dword [0x411ed4], eax
pop ebp
mov byte [0x411fec], 1
mov al, 1
pop ebx
add esp, 0xc3c
ret