Function at 0x42ef1f
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x46a010]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
or dword [edi + 0xc], 2
xor ebx, ebx
mov dword [edi + 0x30398], ebx
cmp dword [esi + 0xa3c], ebx
jne 0x42f175
cmp dword [esi + 0xa40], ebx
jne 0x42f175
add esi, 0xe60
cmp word [esi], bx
je 0x42efc9
push ebx
push esi
call fcn.0042fbf8
mov ebx, eax
test ebx, ebx
jns 0x42efb1
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x42f20f
test byte [eax + 0x1c], 8
je 0x42f20f
cmp byte [eax + 0x19], 2
jb 0x42f20f
push ebx
push 0x405ac0
call fcn.00411040
mov ecx, 0x11c
jmp 0x42f1b0
and dword [edi + 0x2e670], 0
xor esi, esi
inc esi
mov dword [edi + 0x2e674], esi
mov dword [edi + 0x20], esi
jmp 0x42f20f
xor esi, esi
lea ecx, [ebp - 0x214]
inc esi
mov dword [edi + 0x2e444], esi
call fcn.00422bf5
test eax, eax
jne 0x42f031
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x42f019
test byte [eax + 0x1c], 1
je 0x42f019
cmp byte [eax + 0x19], 2
jb 0x42f019
call fcn.00411040
push eax
mov eax, dword [0x46a020]
mov edx, 0x406680
mov ecx, 0x11d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004110b1
push ebx
push ecx
mov edx, 0x40a
xor ecx, ecx
call fcn.00461b4d
mov ebx, 0x80004005
jmp 0x42f20f
push esi
lea eax, [ebp - 0x214]
mov ecx, edi
push eax
call fcn.0042fbf8
mov ebx, eax
test ebx, ebx
js 0x42f05f
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
not eax
and eax, esi
mov dword [edi + 0x18], eax
jmp 0x42f20f
and dword [ebp - 0x218], 0
mov eax, dword [0x46a020]
mov esi, 0x46a020
cmp eax, esi
je 0x42f0a0
test byte [eax + 0x1c], 1
je 0x42f0a0
cmp byte [eax + 0x19], 2
jb 0x42f0a0
call fcn.00411040
push eax
mov eax, dword [0x46a020]
mov edx, 0x406680
mov ecx, 0x11e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004110b1
lea ecx, [ebp - 0x218]
call fcn.00451dde
mov ebx, eax
test ebx, ebx
jns 0x42f105
mov eax, dword [0x46a020]
cmp eax, esi
je 0x42f0ec
test byte [eax + 0x1c], 8
je 0x42f0ec
cmp byte [eax + 0x19], 2
jb 0x42f0ec
push ebx
push 0x405af8
call fcn.00411040
push eax
mov eax, dword [0x46a020]
mov edx, 0x406680
mov ecx, 0x11f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00410eec
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x42f20f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42f20f
mov esi, dword [ebp - 0x218]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x1c]
mov ebx, eax
test ebx, ebx
jns 0x42f161
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x42f156
test byte [eax + 0x1c], 8
je 0x42f156
cmp byte [eax + 0x19], 2
jb 0x42f156
push ebx
push 0x405b18
call fcn.00411040
push eax
mov eax, dword [0x46a020]
mov edx, 0x406680
mov ecx, 0x120
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00410eec
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x42f20f
lea eax, [ebp - 0x218]
push eax
lea ecx, [edi + 0x30388]
call fcn.00432faf
jmp 0x42f156
push ebx
lea eax, [esi + 0x628]
push eax
call fcn.0042fbf8
mov ebx, eax
test ebx, ebx
jns 0x42f1c8
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x42f20f
test byte [eax + 0x1c], 8
je 0x42f20f
cmp byte [eax + 0x19], 2
jb 0x42f20f
push ebx
push 0x405ac0
call fcn.00411040
mov ecx, 0x11b
push eax
mov eax, dword [0x46a020]
mov edx, 0x406680
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00410eec
jmp 0x42f20f
mov eax, dword [esi + 0xa3c]
mov dword [edi + 0x2e670], eax
mov eax, dword [esi + 0xa40]
mov dword [edi + 0x2e674], eax
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0xa44]
mov dword [edi + 0x2e678], eax
cmp dword [esi + 0xa44], 0
je 0x42f208
lea eax, [esi + 0x830]
mov ecx, edi
push eax
call fcn.00426c62
jmp 0x42f20f
and dword [edi + 0x2e678], 0
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468719
mov esp, ebp
pop ebp
ret 4