Function at 0x47bc60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d818
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5f6ea4]
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 bh, dl
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test bh, bh
jne 0x47be20
mov ecx, 0x5fefc8
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47bcd0
sub ecx, edx
sar ecx, 1
push ecx
push 0x5fefc8
lea ecx, [ebp - 0x40]
call fcn.0044b750
push 0xf
push 0x5e8830
lea ecx, [ebp - 0x40]
call fcn.00453360
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47bd01
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0044b750
push 0xf
push 0x5e8830
lea ecx, [ebp - 0x28]
call fcn.00453360
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
setne bl
cmp dword [ebp - 0x14], 8
push 1
cmovae edx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
cmovae ecx, dword [ebp - 0x40]
call fcn.0045e1d0
add esp, 4
test bl, bl
jne 0x47bd70
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0045e090
mov ecx, 0x5fefc8
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47bd80
sub ecx, edx
sar ecx, 1
push ecx
push 0x5fefc8
lea ecx, [ebp - 0x40]
call fcn.0044b750
push 0x10
push str.Everything2.ini
lea ecx, [ebp - 0x40]
call fcn.00453360
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47bdb1
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0044b750
push 0xf
push str.Everything.ini
lea ecx, [ebp - 0x28]
call fcn.00453360
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
setne bl
cmp dword [ebp - 0x14], 8
push 1
cmovae edx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
cmovae ecx, dword [ebp - 0x40]
call fcn.0045e1d0
add esp, 4
test bl, bl
jne 0x47be20
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0045e090
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47be25
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0044b750
push 0xf
push 0x5e8830
lea ecx, [ebp - 0x28]
call fcn.00453360
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
je 0x47bf14
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
push 1
push 0x5e31e4
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00453360
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
call fcn.00453360
push 0xa
push str.___startup
lea ecx, [ebp - 0x58]
call fcn.00453360
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
push 0x2710
cmovae ecx, dword [ebp - 0x58]
mov edx, 5
xor eax, eax
test bh, bh
push 0
cmovne edx, eax
call fcn.004760a0
mov edx, dword [ebp - 0x44]
add esp, 8
mov dword [0x5fdbd4], eax
cmp edx, 8
jb 0x47bf2d
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47bf0b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47bfd5
push edx
push ecx
call fcn.00537216
jmp 0x47bf2a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str._____Cannot_find_everything_engine:__s_
call fcn.0046b580
add esp, 8
cmp dword [0x5fdbd4], 0
mov edx, dword [ebp - 0x14]
setne bl
cmp edx, 8
jb 0x47bf6d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47bf63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47bfda
push edx
push ecx
call fcn.00537216
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x47bfb7
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47bfad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47bfdf
push edx
push ecx
call fcn.00537216
add esp, 8
mov al, bl
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.00536fd5
mov esp, ebp
pop ebp
ret
call fcn.00552cb1
call fcn.00552cb1
call fcn.00552cb1
int3