Function at 0x422390
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c881
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x60c9c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x44c]
push eax
mov esi, ecx
call fcn.0041f550
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], ebx
jne 0x42240b
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422404
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x422673
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x422566
push 0x206
lea edx, [ebp - 0x41e]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x420], cx
call fcn.00531fb0
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x218], ax
call fcn.00531fb0
mov edx, dword [ebp - 0x44c]
push edx
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00532f33
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.005330ca
lea eax, [ebp + eax*2 - 0x21a]
add esp, 0x2c
cmp word [eax], 0x5c
jne 0x42248e
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x420]
push 0x104
push ecx
call fcn.00532f33
add esp, 0xc
call fcn.0043e2f8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4224c3
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x450], eax
lea ecx, [ebp - 0x454]
push ecx
lea ecx, [esi + 0x158]
mov byte [ebp - 4], 1
call fcn.0040e1b0
push eax
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 2
call fcn.004034d0
mov eax, dword [ebp - 0x454]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422521
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x450]
push edi
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x44c]
push 0x55d250
push edx
call fcn.004047a0
lea eax, [edi - 0x10]
or edi, 0xffffffff
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422569
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x422569
or edi, 0xffffffff
mov edx, dword [ebp - 0x44c]
xor eax, eax
lea ecx, [ebp - 0x448]
push ecx
push edx
mov ecx, esi
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x438], eax
call fcn.0041a1e0
test eax, eax
jne 0x4225bd
mov eax, dword [ebp - 0x44c]
add eax, 0xfffffff0
mov dword [ebp - 4], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jmp 0x4223f8
xor eax, eax
lea ecx, [ebp - 0x434]
push ecx
lea ecx, [esi + 0x158]
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], eax
call fcn.00410af0
test eax, eax
jne 0x42260e
mov eax, dword [ebp - 0x44c]
add eax, 0xfffffff0
mov dword [ebp - 4], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jmp 0x4223f8
mov eax, dword [ebp - 0x448]
mov ecx, dword [ebp - 0x434]
cmp eax, ecx
jb 0x422620
mov ecx, eax
xor eax, eax
mov esi, 2
cmp ecx, ebx
jbe 0x42264f
jmp 0x422630
mov edx, dword [ebp + eax*4 - 0x430]
cmp edx, dword [ebp + eax*4 - 0x444]
jne 0x422647
inc eax
cmp eax, ecx
jb 0x422630
jmp 0x42264f
sbb esi, esi
and esi, 0xfffffffe
add esi, 3
mov eax, dword [ebp - 0x44c]
add eax, 0xfffffff0
mov dword [ebp - 4], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x422671
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00531f97
mov esp, ebp
pop ebp
ret 4