Function at 0x425940
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c990
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x573be0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov byte [ebp - 0xd], cl
mov dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
je 0x4259af
test al, 0x10
je 0x4259af
push ecx
mov ecx, dword [ebp + 8]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.00420750
mov cl, byte [ebp - 0xd]
add eax, 0x10
mov edx, ebx
mov dword [esi], eax
call fcn.004250d0
add esp, 4
mov bl, al
jmp 0x425b2f
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, str.Directory_does_not_exist:
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x4259ec
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x4259f9
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.00420bb0
jmp 0x4259f9
push str.Directory_does_not_exist:
lea ecx, [ebp - 0x14]
call fcn.00420650
push str.DeleteDirectory
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004204a0
mov byte [ebp - 4], 3
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00421890
lea ecx, [ebp + 8]
push ecx
mov edx, eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00421890
add esp, 8
mov esi, eax
push 0x54c6b0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.004204a0
push 0
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 7
call fcn.004219a0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425a90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425ab0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425ad0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425aed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425b0d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425b2d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, 1
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x425b50
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret