Function at 0x441d95
Capabilities:
Get file attributes

Disassembly:
push ebp
sub esp, 0x60
lea ebp, [esp - 4]
mov eax, dword [0x4c3360]
xor eax, ebp
mov dword [ebp + 0x60], eax
push 0x38
mov eax, 0x49a191
call fcn.00454d31
mov ebx, dword [ebp + 0x6c]
mov esi, ecx
test ebx, ebx
je 0x44252c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x44252c
lea ecx, [ebp - 0x34]
call fcn.0043d9d0
and dword [ebp - 4], 0
lea edi, [esi + 4]
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00401537
lea ecx, [esi + 8]
mov dword [ebp - 0x38], ecx
call fcn.00401537
lea ecx, [esi + 0xc]
mov dword [ebp + 0x2c], ecx
call fcn.00401537
lea ecx, [esi + 0x10]
mov dword [ebp + 0x24], ecx
call fcn.00401537
lea ecx, [esi + 0x14]
mov dword [ebp + 0xc], ecx
call fcn.00401537
lea ecx, [esi + 0x18]
mov dword [ebp + 4], ecx
call fcn.00401537
lea ecx, [esi + 0x1c]
mov dword [ebp + 0x20], ecx
call fcn.00401537
lea ecx, [esi + 0x20]
mov dword [ebp + 0x14], ecx
call fcn.00401537
lea ecx, [esi + 0x24]
mov dword [ebp - 0x3c], ecx
call fcn.00401537
lea ecx, [esi + 0x28]
mov dword [ebp], ecx
call fcn.00401537
lea ecx, [esi + 0x2c]
mov dword [ebp + 0x1c], ecx
call fcn.00401537
lea ecx, [esi + 0x30]
mov dword [ebp + 0x30], ecx
call fcn.00401537
lea ecx, [esi + 0x34]
mov dword [ebp + 8], ecx
call fcn.00401537
lea ecx, [esi + 0x38]
mov dword [ebp + 0x28], ecx
call fcn.00401537
lea ecx, [esi + 0x3c]
mov dword [ebp + 0x10], ecx
call fcn.00401537
lea ecx, [esi + 0x40]
mov dword [ebp + 0x18], ecx
call fcn.00401537
lea ecx, [esi + 0x44]
mov dword [ebp + 0x3c], ecx
call fcn.00401537
lea ecx, [esi + 0x48]
call fcn.00401537
lea ecx, [esi + 0x4c]
call fcn.00401537
lea ecx, [esi + 0x50]
call fcn.00401537
lea ecx, [esi + 0x54]
call fcn.00401537
push ebx
mov ecx, edi
call fcn.004084de
mov edx, dword [edi]
mov ebx, dword [edx - 0xc]
mov eax, edx
cmp dword [eax - 0xc], 0
mov dword [ebp + 0x38], ebx
jge 0x441edb
push 0x80070057
call fcn.004013af
movzx eax, word [eax]
cmp ax, 0x5c
jne 0x44203d
cmp ebx, 1
jbe 0x44203d
mov eax, edx
cmp dword [eax - 0xc], 1
jl 0x441ed1
movzx eax, word [eax + 2]
cmp eax, 0x3f
je 0x441fe3
cmp eax, 0x5c
jne 0x44203d
cmp ebx, 3
jb 0x44202b
mov eax, edx
mov ecx, dword [eax - 0xc]
cmp ecx, 2
jl 0x441ed1
movzx eax, word [eax + 4]
cmp eax, 0x2e
je 0x441fbf
cmp eax, 0x3f
je 0x441f4b
lea eax, [ebp + 0x3c]
push eax
push 2
mov ecx, esi
call fcn.00441c6b
cmp al, 1
jne 0x44203d
jmp 0x441fa0
cmp ebx, 4
jb 0x441fae
mov eax, edx
cmp dword [eax - 0xc], 3
jl 0x441ed1
movzx eax, word [eax + 6]
push 0x5c
pop ecx
cmp cx, ax
jne 0x441fae
cmp ebx, 7
jbe 0x441fa7
push 7
push edx
mov ebx, 0x4a4d28
push ebx
call fcn.00458d6f
add esp, 0xc
test eax, eax
jne 0x441fa4
mov ecx, dword [ebp + 0x3c]
push ebx
call fcn.004084de
lea eax, [ebp + 0x3c]
push eax
push 8
mov ecx, esi
call fcn.00441c6b
cmp al, 1
jne 0x44203a
mov bl, 1
jmp 0x441fb0
mov ebx, dword [ebp + 0x38]
push 0x4a4d10
jmp 0x442021
xor bl, bl
lea ecx, [ebp - 0x34]
call fcn.0043d9b0
mov al, bl
jmp 0x442535
cmp ebx, 4
jb 0x441fae
mov eax, edx
cmp dword [eax - 0xc], 3
jl 0x441ed1
movzx eax, word [eax + 6]
push 0x5c
pop ecx
cmp cx, ax
jne 0x441fae
push 0x4a4d1c
jmp 0x442021
cmp ebx, 4
jb 0x44202b
mov eax, edx
mov ecx, dword [eax - 0xc]
cmp ecx, 2
jl 0x441ed1
movzx eax, word [eax + 4]
push 0x3f
pop ecx
cmp cx, ax
jne 0x44202b
mov eax, edx
mov ecx, dword [eax - 0xc]
cmp ecx, 3
jl 0x441ed1
movzx eax, word [eax + 6]
push 0x5c
pop ecx
cmp cx, ax
jne 0x44202b
push 0x4a4d04
mov ecx, dword [ebp + 0x3c]
call fcn.004084de
jmp 0x44203d
lea ecx, [ebp - 0x34]
call fcn.0043d9b0
xor al, al
jmp 0x442535
mov ebx, dword [ebp + 0x38]
mov ecx, dword [ebp + 4]
push ebx
call fcn.0040136b
mov ecx, dword [ebp + 0xc]
push ebx
mov dword [ebp + 0x38], eax
call fcn.0040136b
mov ecx, dword [ebp + 0x2c]
push ebx
mov dword [ebp + 0x3c], eax
call fcn.0040136b
mov esi, dword [ebp - 0x38]
push ebx
mov ecx, esi
mov dword [ebp + 0x34], eax
call fcn.0040136b
mov ecx, dword [edi]
push ebx
push dword [ebp + 0x38]
push ebx
push dword [ebp + 0x3c]
push ebx
push dword [ebp + 0x34]
push ebx
push eax
push ecx
call fcn.00457d9d
add esp, 0x24
or ebx, 0xffffffff
push ebx
mov ecx, esi
mov dword [ebp + 0x38], eax
call fcn.0040859a
mov ecx, dword [ebp + 0x2c]
push ebx
call fcn.0040859a
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.0040859a
mov ecx, dword [ebp + 4]
push ebx
call fcn.0040859a
cmp dword [ebp + 0x38], 0
je 0x4420f5
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x441fae
test byte [eax + 0x1c], 1
je 0x441fae
cmp byte [eax + 0x19], 2
jb 0x441fae
push dword [ebp + 0x38]
push 0x4a4cf4
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00425267
add esp, 0x14
jmp 0x441fae
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
push 0x4b33d0
push dword [ebp + 0x24]
call fcn.004082d5
add esp, 0x10
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
je 0x442312
mov eax, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
push 0
push eax
call esi
mov dword [ebp + 0x3c], eax
test eax, eax
jne 0x44217e
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x4422c3
test byte [eax + 0x1c], 1
je 0x4422c3
cmp byte [eax + 0x19], 2
jb 0x4422c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4a4cf4
push 0xb
mov eax, dword [0x4c6094]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00425267
add esp, 0x14
jmp 0x4422c3
mov ebx, dword [ebp + 0x30]
push dword [ebp + 0x3c]
mov ecx, ebx
call fcn.0040136b
push dword [ebp + 0x3c]
mov ecx, dword [edi]
push eax
push ecx
call esi
push 0xffffffffffffffff
mov ecx, ebx
mov esi, eax
call fcn.0040859a
test esi, esi
jne 0x4421d7
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x4422c3
test byte [eax + 0x1c], 1
je 0x4422c3
cmp byte [eax + 0x19], 2
jb 0x4422c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4a4cf4
push 0xc
jmp 0x442166
push 0x4c6540
lea ecx, [ebp + 0x3c]
call fcn.0040cc78
mov eax, dword [ebx]
mov esi, dword [eax - 0xc]
mov ecx, dword [ebp + 0x18]
push esi
mov byte [ebp - 4], 2
call fcn.0040136b
mov ecx, dword [ebp + 0x10]
push esi
mov dword [ebp + 0x30], eax
call fcn.0040136b
mov ecx, dword [ebp + 8]
push esi
mov dword [ebp + 0x24], eax
call fcn.0040136b
push esi
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x34], eax
call fcn.0040136b
mov ecx, dword [ebx]
push esi
push dword [ebp + 0x30]
push esi
push dword [ebp + 0x24]
push esi
push dword [ebp + 0x34]
push esi
push eax
push ecx
call fcn.00457d9d
add esp, 0x24
push 0xffffffffffffffff
lea ecx, [ebp + 0x3c]
mov ebx, eax
call fcn.0040859a
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040859a
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040859a
mov ecx, dword [ebp + 0x18]
push 0xffffffffffffffff
call fcn.0040859a
test ebx, ebx
je 0x4422a1
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x442291
test byte [eax + 0x1c], 1
je 0x442291
cmp byte [eax + 0x19], 2
jb 0x442291
push ebx
push 0x4a4cf4
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00425267
add esp, 0x14
mov ecx, dword [ebp + 0x3c]
add ecx, 0xfffffff0
call fcn.00401395
jmp 0x441fae
push dword [esi]
mov esi, dword [ebp + 0x3c]
push esi
push 0x4b33d0
push dword [ebp + 0x28]
call fcn.004082d5
add esp, 0x10
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.00401395
mov eax, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0
push 0
push eax
call esi
mov dword [ebp + 0x3c], eax
test eax, eax
jne 0x442327
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x442312
test byte [eax + 0x1c], 1
je 0x442312
cmp byte [eax + 0x19], 2
jb 0x442312
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4a4cf4
push 0xe
mov eax, dword [0x4c6094]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00425267
add esp, 0x14
lea ecx, [ebp - 0x34]
call fcn.0043d9a3
mov bl, al
neg bl
sbb bl, bl
inc bl
jmp 0x441fb0
mov ebx, dword [ebp + 0x20]
push dword [ebp + 0x3c]
mov ecx, ebx
call fcn.0040136b
push dword [ebp + 0x3c]
mov edi, dword [edi]
push eax
push edi
call esi
push 0xffffffffffffffff
mov ecx, ebx
mov esi, eax
call fcn.0040859a
test esi, esi
jne 0x442374
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x442312
test byte [eax + 0x1c], 1
je 0x442312
cmp byte [eax + 0x19], 2
jb 0x442312
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4a4cf4
push 0xf
jmp 0x4422ff
push 0x4c6540
lea ecx, [ebp + 0x3c]
call fcn.0040cc78
mov eax, dword [ebx]
mov esi, dword [eax - 0xc]
mov ecx, dword [ebp + 0x1c]
push esi
mov byte [ebp - 4], 3
call fcn.0040136b
mov ecx, dword [ebp]
push esi
mov dword [ebp + 0x20], eax
call fcn.0040136b
mov ecx, dword [ebp + 0x14]
push esi
mov dword [ebp + 0x28], eax
call fcn.0040136b
push esi
lea ecx, [ebp + 0x3c]
mov edi, eax
call fcn.0040136b
mov ecx, dword [ebx]
push esi
push dword [ebp + 0x20]
push esi
push dword [ebp + 0x28]
push esi
push edi
push esi
push eax
push ecx
call fcn.00457d9d
add esp, 0x24
or esi, 0xffffffff
push esi
lea ecx, [ebp + 0x3c]
mov ebx, eax
call fcn.0040859a
mov edi, dword [ebp + 0x14]
push esi
mov ecx, edi
call fcn.0040859a
mov ecx, dword [ebp]
push esi
call fcn.0040859a
mov ecx, dword [ebp + 0x1c]
push esi
call fcn.0040859a
test ebx, ebx
je 0x44242d
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x442291
test byte [eax + 0x1c], 1
je 0x442291
cmp byte [eax + 0x19], 2
jb 0x442291
push ebx
push 0x4a4cf4
push 0x10
jmp 0x442283
push dword [edi]
mov esi, dword [ebp + 0x3c]
push esi
push 0x4b33d0
push dword [ebp - 0x3c]
call fcn.004082d5
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.00401395
jmp 0x442312
push 0
mov ecx, esi
call fcn.00442554
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x60]
xor ecx, ebp
call fcn.0044fc8e
add ebp, 0x64
leave
ret 4