Function at 0x1002fa80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1025f941
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x102fb070]
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 bl, byte [ebp + 8]
mov edi, 0x102de530
test bl, bl
je 0x1002ff87
lea ecx, [ebp - 0x1cc]
call fcn.10077972
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
call fcn.10010ce0
mov ecx, eax
call fcn.10066127
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 1
call fcn.10077a70
test eax, eax
mov dword [ebp - 0x48], 0
mov ecx, str.Thalia.dll
mov dword [ebp - 0x44], 7
mov edx, str.Thalia64.dll
cmove edx, ecx
xor eax, eax
mov ecx, edx
mov word [ebp - 0x58], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002fb17
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10006680
lea ecx, [ebp - 0x191]
mov byte [ebp - 4], 2
call fcn.100035f0
push 0x102df364
push 0x102df364
mov byte [ebp - 4], 3
call fcn.1005b974
add esp, 8
test al, al
je 0x1002fccd
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.10022100
mov byte [ebp - 4], 4
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
mov ebx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x18]
cmovae edx, ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x48]
sub eax, esi
mov dword [ebp - 0x198], esi
cmp ecx, eax
ja 0x1002fbc4
cmp dword [ebp - 0x14], 8
lea edi, [esi + ecx]
lea eax, [ecx + ecx]
mov dword [ebp - 0x18], edi
push eax
mov eax, dword [ebp - 0x198]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.100ccba0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov edi, 0x102de530
jmp 0x1002fbdf
push ecx
push edx
mov byte [ebp - 0x198], 0
push dword [ebp - 0x198]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10008770
mov ebx, dword [ebp - 0x58]
call fcn.10063dd9
test al, al
je 0x1002fc57
mov eax, dword [0x1030bab4]
test eax, eax
je 0x1002fc57
cmp dword [eax + 4], 4
jl 0x1002fc57
push 0
push 0
push 0x102ddbc0
push 0xaf
push str.CDoActiveLogic::RegShellInfo
push 4
lea ecx, [ebp - 0x190]
call fcn.10025da0
mov esi, eax
mov byte [ebp - 4], 5
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea eax, [esi + 0x30]
mov ecx, edi
cmovae edx, dword [ebp - 0x28]
test edx, edx
cmovne ecx, edx
push ecx
push eax
call fcn.10021c60
mov ecx, dword [0x1030bab4]
add esp, 8
push esi
call fcn.10025f50
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 4
call fcn.100221e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002fc86
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.10022100
lea ecx, [ebp - 0x191]
call fcn.10078c77
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1002fd8f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002fcbe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003016d
push edx
push ecx
call fcn.10053aa5
add esp, 8
jmp 0x1002fd8f
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x198], esp
push 0x1a
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.SoftManage_Shell_Extension
mov word [ecx], ax
call fcn.10006680
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x19c], esp
xor eax, eax
push 0x26
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.3AE435F1_16F2_41E6_A344_70C3447280BC
mov word [ecx], ax
call fcn.10006680
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x1a0], esp
xor eax, eax
push 0xb
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.SoftManager
mov word [ecx], ax
call fcn.10006680
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp - 0x58]
mov dword [ebp - 0x1a4], esp
mov ecx, esp
push eax
call fcn.10022100
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x70]
mov ecx, esp
push eax
call fcn.10022100
lea ecx, [ebp - 0x191]
mov byte [ebp - 4], 3
call fcn.100789b7
mov ebx, dword [ebp - 0x58]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.10022100
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x30]
sub eax, ecx
cmp eax, 0xa
jb 0x1002fdd9
cmp edx, 8
lea esi, [ebp - 0x40]
push 0x14
cmovae esi, dword [ebp - 0x40]
lea edi, [ecx + 0xa]
push str.xsSoft.exe
mov dword [ebp - 0x30], edi
lea eax, [esi + ecx*2]
push eax
call fcn.100ccba0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1002fdf7
push 0xa
push str.xsSoft.exe
mov byte [ebp - 0x198], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x198]
push 0xa
call fcn.10008770
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
mov dword [ebp - 0x1a8], esp
push eax
call fcn.10022100
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x40]
mov dword [ebp - 0x1a4], esp
mov ecx, esp
push eax
call fcn.10022100
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x1a0], esp
xor eax, eax
push 0xb
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.SoftManager
mov word [ecx], ax
call fcn.10006680
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
xor eax, eax
push 5
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x102de220
mov word [ecx], ax
call fcn.10006680
lea ecx, [ebp - 0x191]
mov byte [ebp - 4], 0xa
call fcn.10078313
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1002fec6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002febc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10030172
push edx
push ecx
call fcn.10053aa5
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x191]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10001c50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x1002ff20
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x1002ff16
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10030177
push ecx
push ebx
call fcn.10053aa5
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x1002ff5e
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ff54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003017c
push edx
push ecx
call fcn.10053aa5
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 4], 0xffffffff
call fcn.10077985
mov bl, byte [ebp + 8]
call fcn.10063dd9
test al, al
je 0x1003014d
test bl, bl
jne 0x1002ffa9
push str.1022
call fcn.1006397d
add esp, 4
mov edx, eax
jmp 0x1002ffae
mov edx, 0x102de6e0
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002ffc7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10006680
push str.1158
mov dword [ebp - 4], 0xe
call fcn.1006397d
mov ebx, eax
add esp, 4
mov edx, ebx
lea eax, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10030000
mov ecx, dword [ebp - 0x18]
sub edx, eax
mov eax, dword [ebp - 0x14]
sar edx, 1
sub eax, ecx
cmp edx, eax
ja 0x10030045
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
lea eax, [edx + edx]
cmovae esi, dword [ebp - 0x28]
lea edi, [ecx + edx]
push eax
push ebx
mov dword [ebp - 0x18], edi
lea eax, [esi + ecx*2]
push eax
call fcn.100ccba0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1003005d
push edx
push ebx
mov byte [ebp - 0x198], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x198]
push edx
call fcn.10008770
call fcn.10063dd9
test al, al
je 0x10030117
mov eax, dword [0x1030bab4]
test eax, eax
je 0x10030117
cmp dword [eax + 4], 4
jl 0x10030117
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push str.1150
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x198], eax
call fcn.1006397d
add esp, 4
lea ecx, [ebp - 0x190]
mov esi, eax
push 0
push 0
push 0x102ddbc0
push 0xc2
push str.CDoActiveLogic::RegShellInfo
push 4
call fcn.10025da0
mov ebx, eax
test esi, esi
mov byte [ebp - 4], 0xf
mov ecx, 0x102de530
lea edi, [ebx + 0x30]
cmovne ecx, esi
push ecx
push edi
call fcn.10021c60
mov eax, dword [ebp - 0x198]
mov ecx, 0x102de530
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.10021c60
push 0x102df364
push edi
call fcn.100212e0
mov ecx, dword [0x1030bab4]
add esp, 0x18
push ebx
call fcn.10025f50
lea ecx, [ebp - 0x190]
call fcn.100221e0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1003014d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10030143
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10030181
push edx
push ecx
call fcn.10053aa5
add esp, 8
mov al, 1
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.10053a94
mov esp, ebp
pop ebp
ret 4
call fcn.100d7e3e
call fcn.100d7e3e
call fcn.100d7e3e
call fcn.100d7e3e
call fcn.100d7e3e
int3