Function at 0x442bcb
Capabilities:
Get file attributes

Disassembly:
push 0x14
mov eax, 0x4f30f0
call fcn.004bcf9c
mov ebx, ecx
mov dword [ebp - 0x18], ebx
xor eax, eax
mov dword [ebp - 4], eax
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x10]
call fcn.00423e41
mov byte [ebp - 4], 1
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x1c]
call fcn.00423e41
push ecx
mov byte [ebp - 4], 2
push ecx
mov ecx, dword [ebp + 8]
call fcn.004472eb
mov dword [ebx + 0x20c], eax
pop ecx
pop ecx
test eax, eax
jne 0x442c25
mov esi, dword [ebp - 0x10]
mov edi, eax
jmp 0x442dea
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x14]
call fcn.00423e41
mov byte [ebp - 4], 3
mov edi, dword [ebp + 0xc]
push 0x5c
push dword [edi]
call fcn.004c07d5
pop ecx
pop ecx
test eax, eax
je 0x442c7d
sub eax, dword [edi]
sar eax, 1
cmp eax, 0xffffffff
je 0x442c7d
inc eax
mov ecx, edi
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0043195b
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00425c4a
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004206ab
jmp 0x442c86
push edi
lea ecx, [ebp - 0x14]
call fcn.00425c4a
mov ebx, dword [0x55daf4]
mov esi, dword [0x55daf0]
cmp esi, ebx
je 0x442cad
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.004206ab
add esi, 4
cmp esi, ebx
jne 0x442c96
mov esi, dword [0x55daf0]
mov dword [0x55daf4], esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x442db3
push edi
lea ecx, [ebp - 0x10]
call fcn.00425c4a
mov esi, dword [ebp - 0x10]
cmp dword [esi - 4], 1
jle 0x442ce3
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.004241f7
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
mov ecx, esi
add ebx, 4
mov edx, ebx
mov dword [ebp + 0xc], ebx
sub edx, esi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x442cf2
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00425bfa
cmp dword [esi - 4], 1
jle 0x442d1f
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.004241f7
mov esi, dword [ebp - 0x10]
xor eax, eax
mov ecx, esi
push eax
push 0x442820
call fcn.00442877
mov edi, dword [0x55daf0]
pop ecx
pop ecx
mov ecx, dword [0x55daf4]
mov eax, ecx
sub eax, edi
test eax, 0xfffffffc
je 0x442dae
cmp edi, ecx
je 0x442da9
lea ecx, [ebx + 2]
xor edx, edx
mov ax, word [ebx]
add ebx, 2
cmp ax, dx
jne 0x442d50
sub ebx, ecx
mov ecx, edi
sar ebx, 1
call fcn.0042a8db
add eax, 2
lea ebx, [eax + ebx*2]
push ebx
call fcn.004241d7
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x14]
call fcn.0042415e
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push ecx
push ecx
push dword [edi]
mov ecx, dword [eax + 0x20c]
call fcn.0044740b
add esp, 0xc
test eax, eax
jne 0x442dd2
mov ebx, dword [ebp + 0xc]
add edi, 4
cmp edi, dword [0x55daf4]
jne 0x442d4b
jmp 0x442dce
mov eax, dword [ebp + 8]
jmp 0x442dce
or edi, 0xffffffff
jmp 0x442ddb
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push ecx
push ecx
push dword [edi]
mov ecx, dword [eax + 0x20c]
call fcn.0044740b
mov esi, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
je 0x442dd8
xor eax, eax
mov edi, eax
jmp 0x442ddb
xor edi, edi
inc edi
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004206ab
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.004206ab
xor eax, eax
lea ecx, [esi - 0x10]
mov byte [ebp - 4], al
call fcn.004206ab
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004206ab
mov eax, edi
call fcn.004bcf6a
ret 8