Function at 0x10030bf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x1010739c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
call fcn.10024f70
push 0
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.1005da00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10030d56
call fcn.1004f380
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x10031108
push 0x4b
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], eax
push 0x100d6c60
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.10009030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
push 3
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
push 0x100d6cc0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.10009030
mov byte [ebp - 4], 2
lea eax, [ebp - 0x70]
push 0xd1
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x140]
call fcn.100043b0
mov esi, eax
mov byte [ebp - 4], 3
push str.Cfg_file_is_not_exist:_fild
push esi
call fcn.100064a0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov eax, 0x100d00c4
cmovae ecx, dword [ebp - 0x40]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10002f70
add esp, 0x10
call fcn.1004f380
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x140]
call fcn.10006970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.10005550
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.10005550
jmp 0x10031108
mov ecx, str.disklike_cd
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030d80
sub ecx, edx
push ecx
push str.disklike_cd
lea ecx, [ebp - 0x70]
call fcn.10009030
mov byte [ebp - 4], 5
lea eax, [ebp - 0x70]
push 0
push eax
mov ecx, ebx
call fcn.1005b650
cdq
mov esi, eax
mov edi, edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.10005550
mov ecx, str.TskbCfg
mov dword [ebp - 0x7c], 0
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10030de6
sub ecx, edx
sar ecx, 1
push ecx
push str.TskbCfg
lea ecx, [ebp - 0x8c]
call fcn.10009130
mov byte [ebp - 4], 6
lea eax, [ebp - 0xa8]
push edi
push esi
push eax
call fcn.10037f10
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 7
mov ecx, str.noti_cd
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x70], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10030e50
sub ecx, edx
sar ecx, 1
push ecx
push str.noti_cd
lea ecx, [ebp - 0x70]
call fcn.10009130
mov byte [ebp - 4], 8
call fcn.10024f70
push 0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.1005da00
mov byte [ebp - 4], 9
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.10031fd0
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
call fcn.100055d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.100055d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa8]
call fcn.100055d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.100055d0
call fcn.1000b1c0
mov ecx, eax
test ecx, ecx
je 0x10031133
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x74]
push 0x100d6d04
call fcn.1000b000
test al, al
jne 0x10030f13
push 0
push 0x100d6d04
lea ecx, [ebp - 0x74]
call fcn.1000be60
mov byte [ebp - 4], 0xb
mov ecx, str.script_url
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x70], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030f40
sub ecx, edx
push ecx
push str.script_url
lea ecx, [ebp - 0x70]
call fcn.10009030
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x74]
push 0xfde9
push eax
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.1005bae0
mov byte [ebp - 4], 0xd
mov edx, dword [eax]
mov ecx, edx
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea esi, [ecx + 2]
mov word [ebp - 0x28], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10030fa3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10009130
mov byte [ebp - 4], 0xf
or esi, 0xffffffff
mov edx, dword [ebp - 0x90]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10030fe0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x70]
call fcn.10005550
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10031008
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, str.TskbCfg
mov dword [ebp - 0x7c], 0
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10031035
sub ecx, edx
sar ecx, 1
push ecx
push str.TskbCfg
lea ecx, [ebp - 0x8c]
call fcn.10009130
mov byte [ebp - 4], 0x14
mov ecx, str.last_script
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x70], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10031083
sub ecx, edx
sar ecx, 1
push ecx
push str.last_script
lea ecx, [ebp - 0x70]
call fcn.10009130
mov byte [ebp - 4], 0x15
call fcn.10024f70
push 0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.1005da00
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10031fd0
add esp, 0x10
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x58]
call fcn.100055d0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x70]
call fcn.100055d0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x8c]
call fcn.100055d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100055d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100055d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100512b9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000afe0
int3