Function at 0x1005d100
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f7d45
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x1013b7e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x298], eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 0x290], 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.SuperApp
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
mov dword [ebp - 0x27c], eax
mov ecx, esi
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.1005eef0
lea ecx, [ebp - 0x2cc]
call fcn.1008ef30
mov eax, dword [ebp - 0x288]
mov edi, dword [ebp - 0x28c]
cmp edi, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x294], eax
je 0x1005d504
cmp dword [edi + 0x14], 8
mov edx, SysReAllocString
mov eax, dword [edi + 0x10]
mov ecx, edi
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], edi
jb 0x1005d24f
mov ecx, dword [edi]
mov dword [ebp - 0x27c], ecx
cmp eax, 8
jae 0x1005d265
movups xmm0, xmmword [ecx]
mov esi, 7
movups xmmword [ebp - 0x230], xmm0
jmp 0x1005d2ad
mov esi, eax
lea ecx, [ebp - 0x230]
or esi, 7
cmp esi, 0x7ffffffe
cmova esi, edx
lea eax, [esi + 1]
push eax
call fcn.10009070
mov ecx, eax
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x230], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x27c]
push ecx
call fcn.100c4bb0
mov eax, dword [ebp - 0x280]
add esp, 0xc
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], eax
cmp esi, 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1005d4b2
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x260]
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
call fcn.10091ef0
add esp, 8
lea ecx, [ebp - 0x2b4]
call fcn.1008ef30
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x2b4]
call fcn.1008fd50
test al, al
je 0x1005d469
push 0
push 0x101029f8
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
call fcn.100070f0
push 9
push str.tool_list
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 6
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100070f0
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x2b4]
call fcn.1008f760
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x2cc]
call fcn.1008f060
mov ecx, eax
call fcn.1008cee0
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x1005d410
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005d406
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d763
push edx
push ecx
call fcn.100899c7
add esp, 8
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x1005d469
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005d45f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d763
push edx
push ecx
call fcn.100899c7
add esp, 8
lea ecx, [ebp - 0x2b4]
call fcn.1008c2d0
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x1005d4b2
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005d4a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d763
push edx
push ecx
call fcn.100899c7
add esp, 8
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x1005d4f6
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005d4ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d763
push edx
push ecx
call fcn.100899c7
add esp, 8
add edi, 0x18
cmp edi, dword [ebp - 0x294]
jmp 0x1005d211
push 0
push 0x101029f8
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.100070f0
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x2cc]
call fcn.1008ff20
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 9
jb 0x1005d55a
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.10085250
mov edi, dword [ebp - 0x298]
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x1005d5e4
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x1005d5b4
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1005d5aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d763
mov eax, edx
push ecx
push eax
call fcn.100899c7
add esp, 8
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov word [edi], ax
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x264]
cmp edx, 8
jb 0x1005d624
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005d61a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d763
push edx
push ecx
call fcn.100899c7
add esp, 8
mov edx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
cmp edx, 0x10
jb 0x1005d67b
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005d671
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d768
push edx
push ecx
call fcn.100899c7
add esp, 8
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
cmp edx, 0x10
jb 0x1005d6d0
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005d6c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d76d
push edx
push ecx
call fcn.100899c7
add esp, 8
lea ecx, [ebp - 0x2cc]
call fcn.1008c2d0
mov eax, dword [ebp - 0x28c]
test eax, eax
je 0x1005d744
lea ecx, [ebp - 0x28c]
push ecx
push dword [ebp - 0x288]
push eax
call fcn.10012980
mov ecx, dword [ebp - 0x284]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x28c]
add esp, 0xc
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1005d73a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d772
push ecx
push esi
call fcn.100899c7
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10089d41
mov esp, ebp
pop ebp
ret 4
call fcn.100c8c99
call fcn.100c8c99
call fcn.100c8c99
call fcn.100c8c99
int3