Function at 0x10025d90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070e0a
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x1008ab54]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
xor eax, eax
mov edi, ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x50], edi
mov esi, edx
mov dword [ebp - 0x44], 1
mov dword [ebp - 4], eax
call fcn.10040589
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x10025dfd
push 0x80004005
call fcn.10001100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 1
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.10001d80
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x4c], esi
lea ecx, [ebp - 0x34]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.10025c60
add esp, 4
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x10025e83
mov eax, dword [edi]
mov ecx, str.himpndahomhakmdeloiancmkppmblfia
jmp 0x10025e50
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10025e76
test dx, dx
je 0x10025e72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10025e76
add eax, 4
add ecx, 4
test dx, dx
jne 0x10025e50
xor eax, eax
jmp 0x10025e7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10025e83
mov bl, 1
jmp 0x10025e85
xor bl, bl
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x34]
xor edi, edi
add eax, 0xfffffff0
mov dword [ebp - 0x54], edi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10025eb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x10025f01
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10025ed4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10025ef7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 4
jmp 0x1002656e
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x40]
push edx
call fcn.10025a60
add esp, 8
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.1000d4b0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10025f44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.10040589
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x10025f5e
push 0x80004005
call fcn.10001100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 5
mov ebx, dword [ebp - 0x48]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, ebx
call fcn.100253f0
add esp, 4
cmp eax, 0xffffffff
jne 0x10025ff4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10025faa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10025fca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10025fea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x1002656e
and dword [ebp - 0x60], 0xfffffe00
mov dword [ebp - 0x5c], edi
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x34]
cmp dword [esi - 4], 1
jle 0x1002601a
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [ebp - 0x34]
call fcn.10001a90
mov esi, dword [ebp - 0x34]
mov ebx, 0xf
mov eax, esi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], edi
mov byte [ebp - 0x84], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10026031
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x88]
call fcn.10002650
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xc4], edi
mov byte [ebp - 0xd4], 0
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], edi
mov byte [ebp - 0xa4], 0
mov byte [ebp - 0x8c], 1
mov byte [ebp - 0x8b], 0
push 0xffffffffffffffff
push edi
lea edx, [ebp - 0x88]
push edx
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 9
call fcn.10002220
cmp dword [ebp - 0xc0], 0x10
mov eax, dword [ebp - 0xd4]
jae 0x100260db
lea eax, [ebp - 0xd4]
mov ecx, dword [ebp - 0xc4]
lea edx, [ebp - 0x68]
push edx
add ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.100370d0
test al, al
lea edi, [ebp - 0x100]
sete bl
call fcn.1001c380
mov byte [ebp - 4], 7
cmp dword [ebp - 0x70], 0x10
jb 0x1002611e
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.1003efae
add esp, 4
test bl, bl
je 0x10026180
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.100336a0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1002614e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10026171
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
jmp 0x10025fd1
push str.extensions
lea ecx, [ebp - 0x68]
push ecx
call fcn.10034210
cmp byte [eax + 8], 0
push str.extensions
je 0x100264e5
lea edx, [ebp - 0x68]
push edx
call fcn.10034210
push str.settings
push eax
call fcn.10034210
cmp byte [eax + 8], 0
je 0x100264ca
mov eax, dword [ebp - 0x50]
lea esi, [ebp - 0x40]
call fcn.100201e0
mov esi, eax
push str.extensions
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xa
call fcn.10034210
push str.settings
push eax
call fcn.10034210
mov edi, eax
call fcn.10001850
push eax
push edi
call fcn.10034210
cmp byte [eax + 8], 0
lea ecx, [ebp - 0x40]
setne bl
mov byte [ebp - 4], 7
call fcn.10001ba0
test bl, bl
je 0x10026476
mov eax, dword [ebp - 0x50]
lea esi, [ebp - 0x40]
mov dword [ebp - 0x44], 0
call fcn.100201e0
mov esi, eax
push str.extensions
lea ecx, [ebp - 0x68]
push ecx
mov byte [ebp - 4], 0xb
call fcn.10034210
push str.settings
push eax
call fcn.10034210
mov edi, eax
call fcn.10001850
push eax
push edi
call fcn.10034210
push eax
lea ecx, [ebp - 0x80]
call fcn.10033540
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.10001ba0
push str.manifest
lea edx, [ebp - 0x80]
push edx
call fcn.10034210
cmp byte [eax + 8], 0
je 0x10026387
push str.manifest
lea eax, [ebp - 0x80]
push eax
call fcn.10034210
push str.version
push eax
call fcn.10034210
cmp byte [eax + 8], 0
je 0x10026387
push str.manifest
lea ecx, [ebp - 0x80]
push ecx
call fcn.10034210
push str.version
push eax
call fcn.10034210
lea esi, [ebp - 0x30]
mov ecx, eax
call fcn.100337d0
lea eax, [ebp - 0x4c]
lea esi, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
call fcn.100201e0
mov esi, eax
mov byte [ebp - 4], 0xf
call fcn.10001850
push eax
lea ecx, [ebp - 0x11c]
call fcn.10002770
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x10
call fcn.10020400
add esp, 8
cmp eax, 0xffffffff
lea ecx, [ebp - 0x11c]
sete bl
call fcn.100027b0
lea ecx, [ebp - 0x3c]
call fcn.10001ba0
test bl, bl
je 0x10026321
mov dword [ebp - 0x44], 2
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.100027b0
cmp dword [ebp - 0x44], 0
jne 0x10026462
push str.path
lea ecx, [ebp - 0x80]
push ecx
call fcn.10034210
cmp byte [eax + 8], 0
je 0x10026462
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x38]
call fcn.10001b80
push str.path
lea eax, [ebp - 0x80]
mov bl, 0x11
push eax
mov byte [ebp - 4], bl
call fcn.10034210
lea esi, [ebp - 0x30]
mov ecx, eax
call fcn.100337d0
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x18], 0x10
jb 0x100263a2
mov eax, dword [eax + 4]
jmp 0x100263a5
lea eax, [ebp - 0x80]
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 7
call fcn.100336a0
mov esi, dword [ebp - 0x34]
jmp 0x100264f9
add eax, 4
push eax
lea ecx, [ebp - 0x3c]
call fcn.10012ee0
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
mov ecx, dword [ecx]
push eax
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.10012630
lea ecx, [ebp - 0x3c]
call fcn.10001ba0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.100027b0
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002643f
mov ecx, dword [ebp - 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ecx
call edi
and eax, 0x10
cmp eax, 0x10
sete al
test al, al
je 0x1002643f
push str.manifest.json
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.100128d0
mov esi, eax
mov eax, dword [esi]
add esp, 0xc
push eax
mov dword [ebp - 0x54], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002643f
mov eax, dword [esi]
push eax
call edi
and eax, 0x10
cmp eax, 0x10
setne al
test al, al
je 0x1002643f
xor bl, bl
jmp 0x10026441
mov bl, 1
test byte [ebp - 0x54], 2
je 0x1002644f
lea ecx, [ebp - 0x3c]
call fcn.10001ba0
test bl, bl
je 0x1002645a
mov dword [ebp - 0x44], 3
lea ecx, [ebp - 0x38]
call fcn.10001ba0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.100336a0
mov esi, dword [ebp - 0x34]
jmp 0x100264f9
mov eax, 0x10093438
lea esi, [ebp - 0x3c]
call fcn.100201e0
mov esi, eax
push str.extensions
lea ecx, [ebp - 0x68]
push ecx
mov byte [ebp - 4], 0x14
call fcn.10034210
push str.settings
push eax
call fcn.10034210
mov edi, eax
call fcn.10001850
push eax
lea edx, [ebp - 0x80]
push edx
mov ecx, edi
call fcn.10034500
lea eax, [ebp - 0x80]
call fcn.100336a0
lea ecx, [ebp - 0x3c]
call fcn.10001ba0
mov esi, dword [ebp - 0x34]
jmp 0x100264f9
push str.extensions
lea eax, [ebp - 0x68]
push eax
call fcn.10034210
lea ecx, [ebp - 0x80]
push str.settings
push ecx
mov ecx, eax
jmp 0x100264ec
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x68]
call fcn.10034500
lea eax, [ebp - 0x80]
call fcn.100336a0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.100336a0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10026525
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10026548
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002656b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10048e2f
mov esp, ebp
pop ebp
ret