Function at 0x425650
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a930
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x570be0]
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 0x4256bf
test al, 0x10
je 0x4256bf
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.00424de0
add esp, 4
mov bl, al
jmp 0x42583f
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
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 0x4256fc
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x425709
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.00420bb0
jmp 0x425709
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 [0x571ba4]
mov ecx, 0x571ba4
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.004215a0
lea ecx, [ebp + 8]
push ecx
mov edx, eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.004215a0
add esp, 8
mov esi, eax
push 0x54a680
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.004216b0
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 0x4257a0
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 0x4257c0
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 0x4257e0
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 0x4257fd
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 0x42581d
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 0x42583d
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 0x425860
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