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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bd401
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x6877f0]
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 ebx, ecx
cmp byte [ebp + 8], 0
mov dword [ebp - 0x188], ebx
mov dword [ebp - 0x184], ebx
je 0x4275ef
cmp dword [ebx + 0x14], 0
lea esi, [ebx + 4]
je 0x427614
cmp dword [ebx + 0x30], 8
lea eax, [ebx + 0x1c]
jb 0x4272f1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42762a
and eax, 0x410
cmp eax, 0x400
je 0x4275ef
mov ecx, ebx
call fcn.004271e0
test al, al
je 0x4275ef
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x174], 0
push ebx
lea ecx, [ebp - 0x16c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x178], 0
call fcn.00440510
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.00440700
mov byte [ebp - 4], 2
nop dword [eax]
nop dword [eax + eax]
cmp dword [ebp - 0x78], 0x10
lea ecx, [ebp - 0x8c]
mov esi, dword [ebp - 0x128]
lea edx, [ebp - 0x138]
cmovae ecx, dword [ebp - 0x8c]
cmp dword [ebp - 0x124], 0x10
cmovae edx, dword [ebp - 0x138]
cmp esi, dword [ebp - 0x7c]
jne 0x42758b
sub esi, 4
jb 0x4273c1
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4273c6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4273b0
cmp esi, 0xfffffffc
je 0x4273fa
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4273f3
cmp esi, 0xfffffffd
je 0x4273fa
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4273f3
cmp esi, 0xfffffffe
je 0x4273fa
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4273f3
cmp esi, 0xffffffff
je 0x4273fa
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4273fa
sbb eax, eax
or eax, 1
jmp 0x4273fc
xor eax, eax
test eax, eax
jne 0x42758b
lea ecx, [ebp - 0xc0]
call fcn.00440990
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0
call fcn.00440990
mov edi, dword [ebp - 0x178]
mov esi, dword [ebp - 0x17c]
cmp esi, edi
je 0x427440
nop
push 1
mov ecx, esi
call fcn.00427290
add esi, 0x34
cmp esi, edi
jne 0x427430
mov eax, 8
mov dword [ebp - 0x180], 0xa
mov dword [ebp - 0x170], eax
test eax, eax
jle 0x427515
mov eax, dword [ebp - 0x184]
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0
je 0x427630
cmp dword [ebx + 0x30], 8
lea esi, [ebx + 0x1c]
lea edi, [ebx + 4]
mov eax, esi
jb 0x427481
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427646
shr eax, 4
and al, 1
je 0x4274b1
cmp dword [esi + 0x14], 8
jb 0x4274a0
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x42764c
jmp 0x42750b
cmp dword [esi + 0x14], 8
jb 0x4274b9
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x427652
jmp 0x42750b
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x42744f
mov esi, dword [ebp - 0x17c]
test esi, esi
je 0x4275f6
mov edi, dword [ebp - 0x178]
cmp esi, edi
je 0x42753f
nop dword [eax]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x34
cmp esi, edi
jne 0x427530
mov ecx, dword [ebp - 0x174]
mov eax, 0x4ec4ec4f
mov esi, dword [ebp - 0x17c]
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x34
mov eax, esi
cmp ecx, 0x1000
jb 0x42757f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427661
push ecx
push esi
call fcn.00575155
add esp, 8
jmp 0x4275f6
mov esi, dword [ebp - 0x178]
cmp dword [ebp - 0x174], esi
je 0x4275c8
lea eax, [ebp - 0xf4]
mov ecx, esi
push eax
call fcn.004262e0
mov dword [esi], vtable.Poco::File.0
lea ecx, [ebp - 0x16c]
mov eax, dword [ebp - 0x16c]
add dword [ebp - 0x178], 0x34
call dword [eax + 4]
jmp 0x427370
lea eax, [ebp - 0xf8]
push eax
push esi
lea ecx, [ebp - 0x17c]
call fcn.00425f30
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x16c]
call dword [eax + 4]
jmp 0x427370
mov ecx, ebx
call fcn.00427670
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.00574c7a
mov esp, ebp
pop ebp
ret 4
push 0
push 0xaa
push 0x671c3e
push str.__path.empty__
call fcn.0042ced0
push esi
call fcn.00426b60
push 0
push 0x160
push 0x671c3e
push str.__path.empty__
call fcn.0042ced0
push edi
call fcn.00426b60
push edi
call fcn.00426b60
push edi
call fcn.00426b60
push 0
push 0
call fcn.0058d023
call fcn.0059b248
int3