Function at 0x10036b00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a9914
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100d5688]
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, ecx
mov dword [ebp - 0x44], ebx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x10036b48
lock inc dword [ecx + 4]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
or edi, 0xffffffff
mov dword [ebx + 0x58], eax
mov esi, dword [ebx + 0x5c]
mov dword [ebx + 0x5c], ecx
test esi, esi
je 0x10036b7a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10036b7a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10036b7a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [ebx + 0x3c], eax
add ebx, 0xa0
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x10036b90
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10036d29
cmp dword [ebx + 0x14], 8
jb 0x10036ba7
mov ebx, dword [ebx]
push 0x2010
push 0
push 0
push 1
push ebx
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [0x100d8f20], eax
call fcn.1005dde0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10036c7b
push 4
push str.FILE
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1000c680
push 3
push 0x100aea94
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000c680
mov byte [ebp - 4], 2
call fcn.1005dde0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0xa9
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10009a70
mov esi, eax
push str._Taskbar__PathFileExists_suc
push esi
mov byte [ebp - 4], 3
call fcn.100092f0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.1000a930
lea ecx, [ebp - 0x40]
call fcn.100074f0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100074f0
cmp dword [0x100d8f20], 0
je 0x10036e02
call fcn.1005dde0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10036e02
push 4
push str.FILE
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1000c680
push 3
push 0x100aea94
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000c680
mov byte [ebp - 4], 5
call fcn.1005dde0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0xac
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10009a70
mov esi, eax
push str._Taskbar__LoadImageW_suc
push esi
mov byte [ebp - 4], 6
call fcn.100092f0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
jmp 0x10036de3
call fcn.1005dde0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10036e02
cmp dword [ebx + 0x14], 8
jb 0x10036d4d
mov ebx, dword [ebx]
push 4
push str.FILE
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000c680
push 3
push 0x100aea94
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000c680
mov byte [ebp - 4], 8
call fcn.1005dde0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0xb1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10009a70
mov esi, eax
push str._Taskbar_hIcon_file_not_exist_path_s
push esi
mov byte [ebp - 4], 9
call fcn.100092f0
test ebx, ebx
mov ecx, 0x100ae9e4
cmovne ecx, ebx
push ecx
push esi
call fcn.100092f0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.1000a930
lea ecx, [ebp - 0x40]
call fcn.100074f0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100074f0
mov ebx, dword [ebp - 0x44]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebx + 0x9c], 0
lea esi, [ebx + 4]
call fcn.10034430
cmp dword [eax + 0x30], 0
jne 0x10036e30
call fcn.10034430
mov dword [eax + 0x30], 0
call fcn.10034430
push dword [ebp - 0x44]
lea ecx, [esi + 0x20]
push ecx
push eax
push section..data
push 0x100d94c4
call fcn.1000dbb0
movzx edi, ax
add esp, 0x14
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x44], edi
test eax, eax
jne 0x10036f93
call fcn.100429e1
mov dword [esi + 0x14], eax
test eax, eax
jne 0x10036f93
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebx
call fcn.10034860
call fcn.10012750
mov ecx, dword [ebx + 0x58]
push 1
mov edx, dword [eax]
push dword [ecx + 0x30]
push eax
call dword [edx + 4]
mov eax, dword [ebx + 0x58]
add eax, 0x34
mov dword [ebp - 0x44], eax
call fcn.1005dde0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10037077
push 4
push str.FILE
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000c680
push 3
push 0x100aea94
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000c680
mov byte [ebp - 4], 0xb
call fcn.1005dde0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0xbb
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10009a70
mov esi, eax
push str.exec_show_script:
push esi
mov byte [ebp - 4], 0xc
call fcn.1000a6f0
mov ecx, dword [ebp - 0x44]
mov eax, 0x100ae9e4
mov ecx, dword [ecx]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.100092f0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.1000a930
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x1003702d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10037023
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100370ff
jmp 0x10037023
push 0
push 0
push eax
call fcn.10042ae3
test di, di
je 0x10036e78
lea edi, [esi + 8]
test edi, edi
je 0x10037104
test esi, esi
je 0x10037104
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x100d4004
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x100d401c]
mov dword [edi + 8], eax
push 0x100d4004
mov dword [0x100d401c], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x20]
push 0
push dword [0x100d94c8]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x44]
push edx
push ecx
push SysReAllocString
push 0
movzx eax, ax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x10036e78
push edx
push ecx
call fcn.1005eced
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10037077
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003706d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037110
push edx
push ecx
call fcn.1005eced
add esp, 8
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x1003708b
push ecx
mov ecx, dword [ebx + 0x48]
call fcn.100111c0
mov eax, dword [ebx + 0x58]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [eax + 0x38]
test eax, eax
jle 0x100370ab
imul eax, eax, 0x3e8
push 0
push eax
push 2
push dword [ebx + 8]
call esi
push 0
push 0x7d0
push 3
push dword [ebx + 8]
call esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x100370e1
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x100370e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x100370e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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.1005f06c
mov esp, ebp
pop ebp
ret 0xc
call fcn.10082829
push 1
push 0xc0000005
call fcn.1001b420
call fcn.10082829
int3