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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x728
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.0042bfcc
push 0x65
pop esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0042b5e9
mov ecx, dword [0x471eb4]
test ecx, ecx
je 0x42cf4f
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, eax
call fcn.004129a0
push eax
lea ecx, [ebp - 0x3c]
call fcn.0042b77c
mov bl, al
lea ecx, [ebp - 0x54]
push 0
neg bl
push 1
sbb bl, bl
call fcn.00414a30
inc bl
jne 0x42d185
xor ebx, ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0042c35e
pop ecx
pop ecx
test al, al
jne 0x42d185
xor eax, eax
mov word [ebp - 0x58], ax
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x260]
push eax
push dword [ebp + 8]
call fcn.0042c104
pop ecx
pop ecx
test al, al
je 0x42d188
mov ecx, dword [0x471eb4]
test ecx, ecx
je 0x42cfba
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
test al, al
je 0x42cfba
mov ecx, dword [0x471eb4]
push ebx
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
je 0x42cfba
mov esi, 0x2711
jmp 0x42d188
xor eax, eax
mov word [ebp - 0x470], ax
mov word [ebp - 0x678], ax
mov word [ebp - 0x264], ax
mov word [ebp - 0x46c], ax
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x678]
push eax
lea eax, [ebp - 0x260]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
call fcn.0042cb3c
add esp, 0x14
mov byte [ebp - 5], al
test al, al
jne 0x42d0c2
mov esi, 0x104
lea eax, [ebp - 0x260]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, esi
jae 0x42d0b6
test eax, eax
je 0x42d0b6
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0042d23f
pop ecx
pop ecx
test eax, eax
je 0x42d0b6
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x46c]
push esi
push eax
call fcn.0042d2f9
push 0x4015e8
lea eax, [ebp - 0x46c]
push esi
push eax
call fcn.0042d2d1
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x678]
push esi
push eax
call fcn.0042d2f9
push 0x4016a0
lea eax, [ebp - 0x678]
push esi
push eax
call fcn.0042d2d1
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [ebp - 0x46c]
add esp, 0x30
push eax
call esi
cmp eax, 0xffffffff
je 0x42d0b6
lea eax, [ebp - 0x678]
push eax
call esi
cmp eax, 0xffffffff
jne 0x42d0c2
mov dword [ebp - 4], 0x66
jmp 0x42d159
mov ecx, dword [0x471eb4]
test ecx, ecx
je 0x42d0d1
mov eax, dword [ecx]
call dword [eax + 0x20]
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x678]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0042c5e6
add esp, 0x10
test al, al
jne 0x42d159
call fcn.004195c0
cmp eax, 2
jg 0x42d142
push 2
push 0x3c3
xor ebx, ebx
lea ecx, [ebp - 0x728]
push 0x401940
inc ebx
call fcn.004197f0
push dword [ebp - 4]
add eax, 8
push 0x401920
push eax
call fcn.00416090
pop ecx
pop ecx
mov ecx, eax
call fcn.0041a4b0
test bl, 1
je 0x42d152
lea ecx, [ebp - 0x728]
call fcn.004198f0
mov dword [ebp - 4], 0x67
cmp byte [ebp - 5], 0
je 0x42d185
call fcn.0042cb01
test al, al
je 0x42d185
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x678]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0042bf21
add esp, 0xc
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0x3c]
call fcn.0042b609
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret