Function at 0x4209c0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495561
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x4c2594]
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 ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x440], edi
call fcn.0046de20
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [ebx + 0xc]
push eax
call fcn.0041dca0
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xfffffff
jb 0x420a42
mov eax, 0x80004005
jmp 0x420c95
mov dword [ebp - 0x42c], 0
lea eax, [ebp - 0x42c]
mov dword [ebp - 4], 0
push eax
push 0x49e558
push 1
push 0
push 0x49e92c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x420c72
mov dword [ebp - 0x428], 0
mov eax, dword [ebp - 0x42c]
lea edx, [ebp - 0x428]
push edx
push 0x49e754
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 1
call dword [ecx]
mov esi, eax
test esi, esi
js 0x420c54
mov eax, dword [ebp - 0x428]
lea edx, [ebp - 0x218]
push 2
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, eax
test esi, esi
js 0x420c54
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x42c]
call fcn.0041a560
mov esi, eax
test esi, esi
js 0x420c36
mov eax, dword [ebp - 0x424]
lea edx, [ebp - 0x43c]
push edx
push 0x49e93c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, eax
test esi, esi
js 0x420c36
push 0x104
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x43c]
push eax
call dword [0x4c7dac]
mov esi, eax
mov byte [edi], 0
test esi, esi
js 0x420b90
lea ecx, [ebp - 0x420]
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420b40
sub ecx, edi
lea edi, [ebx + 0x24]
sar ecx, 1
cmp dword [ebx + 0x38], 8
jb 0x420b5b
mov edi, dword [ebx + 0x24]
mov edx, dword [ebx + 0x34]
cmp edx, ecx
jne 0x420b8a
lea ecx, [ebp - 0x420]
test edx, edx
je 0x420c29
mov eax, ecx
sub edi, eax
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x420b8a
add ecx, 2
sub edx, 1
jne 0x420b74
jmp 0x420c29
mov edi, dword [ebp - 0x440]
cmp dword [ebx + 8], 2
jne 0x420c24
lea eax, [ebp - 0x43c]
mov byte [edi], 1
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
cmp dword [ebx + 0x38], 8
lea eax, [ebx + 0x24]
jb 0x420bb5
mov eax, dword [eax]
lea ecx, [ebp - 0x43c]
push ecx
push eax
call fcn.0041c030
mov esi, eax
add esp, 8
test esi, esi
js 0x420c29
mov eax, dword [ebp - 0x424]
lea edx, [ebp - 0x43c]
push edx
push 0x49e93c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
js 0x420c29
mov eax, dword [ebp - 0x424]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
js 0x420c29
mov eax, dword [ebp - 0x428]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
js 0x420c29
mov eax, dword [ebp - 0x428]
lea edx, [ebp - 0x218]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
jmp 0x420c29
mov esi, 0x80004005
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov ecx, dword [ebp - 0x424]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x420c54
mov dword [ebp - 0x424], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x428]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x420c72
mov dword [ebp - 0x428], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x42c]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x420c93
mov dword [ebp - 0x42c], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
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.0044ca21
mov esp, ebp
pop ebp
ret 4