Function at 0x100308d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bed98
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x100fe39c]
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.10024df0
push 0
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.1005b960
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 0x10030a36
call fcn.1004e090
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x10030de8
push 0x4b
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], eax
push 0x100cec78
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.10008e70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
push 3
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
push 0x100cecc4
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.10008e70
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.10004210
mov esi, eax
mov byte [ebp - 4], 3
push str.Cfg_file_is_not_exist:_fild
push esi
call fcn.10006300
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov eax, 0x100c80b8
cmovae ecx, dword [ebp - 0x40]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10002da0
add esp, 0x10
call fcn.1004e090
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x140]
call fcn.100067d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.100053b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.100053b0
jmp 0x10030de8
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 0x10030a60
sub ecx, edx
push ecx
push str.disklike_cd
lea ecx, [ebp - 0x70]
call fcn.10008e70
mov byte [ebp - 4], 5
lea eax, [ebp - 0x70]
push 0
push eax
mov ecx, ebx
call fcn.10059590
cdq
mov esi, eax
mov edi, edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.100053b0
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 0x10030ac6
sub ecx, edx
sar ecx, 1
push ecx
push str.TskbCfg
lea ecx, [ebp - 0x8c]
call fcn.10008f70
mov byte [ebp - 4], 6
lea eax, [ebp - 0xa8]
push edi
push esi
push eax
call fcn.10037c00
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 0x10030b30
sub ecx, edx
sar ecx, 1
push ecx
push str.noti_cd
lea ecx, [ebp - 0x70]
call fcn.10008f70
mov byte [ebp - 4], 8
call fcn.10024df0
push 0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.1005b960
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.10031c90
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
call fcn.10005430
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.10005430
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa8]
call fcn.10005430
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.10005430
call fcn.1000b000
mov ecx, eax
test ecx, ecx
je 0x10030e13
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 0x100cece8
call fcn.1000ae40
test al, al
jne 0x10030bf3
push 0
push 0x100cece8
lea ecx, [ebp - 0x74]
call fcn.1000bca0
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 0x10030c20
sub ecx, edx
push ecx
push str.script_url
lea ecx, [ebp - 0x70]
call fcn.10008e70
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.10059a20
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 0x10030c83
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10008f70
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 0x10030cc0
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.100053b0
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 0x10030ce8
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 0x10030d15
sub ecx, edx
sar ecx, 1
push ecx
push str.TskbCfg
lea ecx, [ebp - 0x8c]
call fcn.10008f70
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 0x10030d63
sub ecx, edx
sar ecx, 1
push ecx
push str.last_script
lea ecx, [ebp - 0x70]
call fcn.10008f70
mov byte [ebp - 4], 0x15
call fcn.10024df0
push 0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.1005b960
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.10031c90
add esp, 0x10
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x58]
call fcn.10005430
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x70]
call fcn.10005430
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x8c]
call fcn.10005430
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10005430
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10005430
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.1004f51c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000ae20
int3