Function at 0x421c20
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x47e550
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x4a8ae4]
xor eax, esp
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x4c]
xor esi, esi
push ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], si
call fcn.00449da9
add esp, 4
push eax
push ebx
lea ecx, [esp + 0x24]
call fcn.00402410
mov byte [esp + 0x44], 1
call fcn.00476002
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov eax, dword [edi + 8]
xor ebp, ebp
cmp eax, esi
mov byte [esp + 0x44], 2
jle 0x421d6d
lea ecx, [ecx]
cmp ebp, esi
jl 0x421d3a
cmp ebp, eax
jge 0x421d3a
mov eax, dword [edi + 4]
mov ecx, dword [eax + ebp*4]
lea eax, [eax + ebp*4]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x421d1f
mov edx, dword [esi + 0xc]
test edx, edx
lea ebx, [esi + 0xc]
jl 0x421d0d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x421d0d
push eax
call fcn.00401570
mov dword [esp + 0x14], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x421d00
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ebx, dword [esp + 0x10]
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x421d1f
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00403be0
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x421d3f
mov eax, dword [edi + 8]
inc ebp
xor esi, esi
cmp ebp, eax
jl 0x421cb0
jmp 0x421d6d
call fcn.0045a790
mov ecx, dword [esp + 0x14]
push 0
push 0
add ecx, 0xd0
call fcn.0046bde8
test eax, eax
je 0x421d64
push eax
push 0x489e78
call fcn.004644d1
add esp, 8
mov ecx, eax
call fcn.00405bf0
xor esi, esi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x44]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], esi
push eax
mov word [ecx + 4], si
call fcn.00401f80
mov ecx, dword [esp + 0x34]
push 1
push esi
add ecx, 0xd0
mov byte [esp + 0x6c], 3
call fcn.0046bde8
push eax
push 0x48ade0
call fcn.004644d1
add esp, 8
mov ecx, eax
mov byte [esp + 0x64], 2
call fcn.0041efc0
mov ebp, dword [esp + 0x4c]
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
add ebp, 0xfffffff0
mov dword [esp + 0x14], esp
mov dword [esp + 0x14], esp
call dword [edx + 0x10]
mov ecx, dword [ebp + 0xc]
cmp ecx, esi
lea edx, [ebp + 0xc]
jl 0x421df7
cmp eax, dword [ebp]
jne 0x421df7
mov eax, ebp
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x421e2e
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
cmp eax, esi
jne 0x421e0c
call fcn.004012f0
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
lea esi, [ebp + 0x10]
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
mov ecx, dword [esp + 0x14]
add eax, 0x10
mov dword [ecx], eax
mov ecx, dword [esp + 0x18]
call fcn.004216e0
add ebx, 0xfffffff0
mov byte [esp + 0x44], 1
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x421e5f
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
cmp dword [esp + 0x34], 8
jb 0x421e73
mov eax, dword [esp + 0x20]
push eax
call fcn.004620d3
add esp, 4
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
mov dword [esp + 0x44], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421ea4
mov ecx, dword [ebp]
mov eax, dword [ecx]
push ebp
call dword [eax + 4]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x30]
pop ebp
pop ebx
xor ecx, esp
call fcn.0044a318
add esp, 0x38
ret 8