Function at 0x401b37
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov eax, 0x412440
call fcn.0040a2c8
sub esp, 0x288
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
push esi
push 0x4a5
mov dword [ebp - 4], esi
push dword [0x418f14]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
push 1
push 0x419028
push esi
call fcn.00401f5f
add esp, 0x10
mov edi, 0x402
mov ebx, 0x4b0
push esi
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 7
push edi
push ebx
push dword [0x418f14]
call esi
push 0
push 0xf
push edi
push ebx
push dword [0x418f14]
call esi
call fcn.00401983
push 0
push 0x17
push edi
push ebx
push dword [0x418f14]
call esi
and byte [ebp - 0x294], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x293]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor edi, edi
lea eax, [ebp - 0x294]
push edi
push edi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x294]
push eax
call fcn.00409bf0
test eax, eax
pop ecx
je 0x401c1e
lea eax, [ebp - 0x294]
push eax
call fcn.00409bf0
cmp byte [ebp + eax - 0x295], 0x5c
pop ecx
je 0x401c1e
lea eax, [ebp - 0x294]
push 0x415624
push eax
call fcn.00409990
pop ecx
pop ecx
push edi
mov edi, 0x402
push 0x1e
push edi
push ebx
push dword [0x418f14]
call esi
push 0
push 0x26
push edi
push ebx
push dword [0x418f14]
mov dword [ebp - 0x14], 5
call esi
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x28]
push eax
call fcn.00403c42
mov eax, dword [eax + 4]
pop ecx
test eax, eax
jne 0x401c72
mov eax, 0x413210
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00409980
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x28]
call fcn.00403be4
lea eax, [ebp - 0x12c]
push eax
call fcn.00409bf0
test eax, eax
pop ecx
jbe 0x401cc9
lea eax, [ebp - 0x12c]
push eax
call fcn.00409bf0
cmp byte [ebp + eax - 0x12d], 0x5c
pop ecx
je 0x401cc9
push 1
lea eax, [ebp - 0x12c]
push 0x415624
push eax
call fcn.00409dd0
add esp, 0xc
lea eax, [ebp - 0x12c]
push str.CCTV_tv
push eax
call fcn.00409990
lea eax, [ebp - 0x12c]
push eax
call fcn.0040194b
add esp, 0xc
mov dword [ebp - 0x18], eax
xor edi, edi
cmp dword [ebp - 0x18], 0
jne 0x401d14
cmp edi, 5
jg 0x401d14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x12c]
inc edi
push eax
call fcn.0040194b
pop ecx
mov dword [ebp - 0x18], eax
jmp 0x401cee
inc dword [ebp - 0x14]
push 0
mov eax, dword [ebp - 0x14]
push 0xd
imul eax, eax, 0x64
cdq
pop ecx
mov edi, 0x402
idiv ecx
push eax
push edi
push ebx
push dword [0x418f14]
call esi
lea eax, [ebp - 0x12c]
push 0x5c
push eax
call fcn.00409d67
and byte [eax + 1], 0
lea eax, [ebp - 0x12c]
push str.safenetdrm
push eax
call fcn.00409990
add esp, 0x10
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x64
push 0
push 0xd
cdq
pop ecx
idiv ecx
push eax
push edi
push ebx
push dword [0x418f14]
call esi
lea eax, [ebp - 0x12c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x12c]
push 0x5c
push eax
call fcn.00409d67
and byte [eax], 0
lea eax, [ebp - 0x12c]
push 0x5c
push eax
call fcn.00409d67
and byte [ebp - 0x190], 0
push 0x18
mov edx, eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x18f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
inc edx
lea eax, [ebp - 0x190]
push edx
push eax
call fcn.00409980
lea eax, [ebp - 0x190]
push eax
call fcn.00409cf5
add esp, 0x1c
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov edi, 0x402
imul eax, eax, 0x64
push 0
push 0xd
cdq
pop ecx
idiv ecx
push eax
push edi
push ebx
push dword [0x418f14]
call esi
xor eax, eax
cmp dword [ebp - 0x18], eax
je 0x401e5c
xor ecx, ecx
cmp ecx, eax
jne 0x401e5c
push eax
mov eax, dword [ebp - 0x14]
inc eax
push 0xd
imul eax, eax, 0x64
cdq
pop ecx
idiv ecx
push eax
push edi
push ebx
push dword [0x418f14]
call esi
push 0
push 0x415604
mov dword [0x419438], 1
push 0x4155f0
push dword [0x418f14]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 4
push eax
push 0x4155e4
push 0x4155bc
jmp 0x401e3d