Function at 0x416e50
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x450e59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x3c]
call fcn.00415d10
mov esi, dword [esp + 0x130]
push 0x46c838
mov ecx, esi
mov dword [esp + 0x124], 0
call fcn.004411a3
mov edi, dword [esp + 0x128]
lea eax, [esp + 0x3c]
push eax
push edi
mov ecx, ebp
call fcn.00417b60
test eax, eax
jne 0x416ecd
lea ecx, [esp + 0x3c]
mov dword [esp + 0x120], 0xffffffff
call fcn.00415d70
mov eax, 1
jmp 0x4172e0
lea ecx, [esp + 0x64]
call fcn.004158c0
mov eax, dword [esp + 0x12c]
lea ecx, [esp + 0x60]
lea edx, [esp + 0x64]
push ecx
push edx
push edi
push eax
mov ecx, ebp
mov byte [esp + 0x130], 1
call fcn.004165a0
mov edi, eax
test edi, edi
je 0x416f2a
lea ecx, [esp + 0x64]
mov byte [esp + 0x120], 0
call fcn.00415900
lea ecx, [esp + 0x3c]
mov dword [esp + 0x120], 0xffffffff
call fcn.00415d70
mov eax, edi
jmp 0x4172e0
lea ecx, [esp + 0x18]
call fcn.004199b7
mov ecx, dword [esp + 0x68]
mov byte [esp + 0x120], 2
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0x10
cmp al, 0x10
jne 0x416f8c
lea edx, [esp + 0x68]
push str..
lea eax, [esp + 0x10]
push edx
push eax
call fcn.004412af
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x128], 3
call fcn.00419a7a
lea ecx, [esp + 0xc]
mov edi, eax
mov byte [esp + 0x120], 2
call fcn.00441066
jmp 0x416f9e
mov ecx, dword [esp + 0x68]
push 0
push ecx
lea ecx, [esp + 0x20]
call fcn.00419a7a
mov edi, eax
test edi, edi
push ebx
je 0x417117
mov bl, 5
lea ecx, [esp + 0x1c]
call fcn.00419c9a
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.00419c61
test eax, eax
jne 0x41710f
mov edx, dword [esp + 0x1c]
push 0x10
lea ecx, [esp + 0x20]
call dword [edx + 0x38]
test eax, eax
je 0x416fdd
push str.drwx______
jmp 0x416fe2
push str._rwx______
mov ecx, esi
call fcn.004413f6
push str._1_user_group
mov ecx, esi
call fcn.004413f6
mov eax, dword [0x467c48]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x124], 4
call fcn.00419ef1
push eax
lea ecx, [esp + 0x18]
push 0x4675c4
push ecx
call fcn.0043ac98
add esp, 0xc
lea ecx, [esp + 0x10]
push 0x467968
call fcn.004410d4
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x124], bl
mov eax, dword [edx - 8]
mov edx, dword [ecx - 8]
sub eax, edx
lea edx, [esp + 0x38]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.0043a878
push eax
mov ecx, esi
mov byte [esp + 0x128], 6
call fcn.00441432
lea ecx, [esp + 0x38]
mov byte [esp + 0x124], bl
call fcn.00441066
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.00441432
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x3c]
push ecx
push edx
mov ecx, ebp
call fcn.00417ff0
push eax
mov ecx, esi
mov byte [esp + 0x128], 7
call fcn.00441432
lea ecx, [esp + 0x3c]
mov byte [esp + 0x124], bl
call fcn.00441066
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
call fcn.00419e92
push eax
mov ecx, esi
mov byte [esp + 0x128], 8
call fcn.00441432
lea ecx, [esp + 0x18]
mov byte [esp + 0x124], bl
call fcn.00441066
push 0x466610
mov ecx, esi
call fcn.004413f6
lea ecx, [esp + 0x10]
mov byte [esp + 0x124], 4
call fcn.00441066
lea ecx, [esp + 0x14]
mov byte [esp + 0x124], 2
call fcn.00441066
test edi, edi
jne 0x416fa9
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4172a7
mov eax, dword [esp + 0x54]
xor edi, edi
test eax, eax
jle 0x4172a7
lea ecx, [esp + 0x8c]
push edi
push ecx
lea ecx, [esp + 0x54]
call fcn.00418160
mov ecx, dword [eax + 0x20]
mov byte [esp + 0x124], 9
test ecx, ecx
jne 0x417191
lea edx, [esp + 0xd4]
push edi
push edx
lea ecx, [esp + 0x54]
call fcn.00418160
mov eax, dword [eax + 8]
push 0x46c838
push eax
call fcn.0041a96f
add esp, 8
lea ecx, [esp + 0xd4]
test eax, eax
setne bl
call fcn.00415900
test bl, bl
je 0x417191
mov bl, 1
jmp 0x417193
xor bl, bl
lea ecx, [esp + 0x8c]
mov byte [esp + 0x124], 2
call fcn.00415900
test bl, bl
je 0x41729a
lea eax, [esp + 0xb0]
push edi
push eax
lea ecx, [esp + 0x54]
call fcn.00418160
mov eax, dword [eax + 4]
push 0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x12c], 0xa
call fcn.00419a7a
lea ecx, [esp + 0xb0]
mov ebx, eax
mov byte [esp + 0x124], 2
call fcn.00415900
test ebx, ebx
je 0x41729a
lea ecx, [esp + 0x1c]
call fcn.00419c9a
push str.drwx______
mov ecx, esi
call fcn.004413f6
push str._1_user_group
mov ecx, esi
call fcn.004413f6
push str._____________0
mov ecx, esi
call fcn.004413f6
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.00417ff0
push eax
mov ecx, esi
mov byte [esp + 0x128], 0xb
call fcn.00441432
lea ecx, [esp + 0x18]
mov byte [esp + 0x124], 2
call fcn.00441066
lea eax, [esp + 0xf8]
push edi
push eax
lea ecx, [esp + 0x54]
call fcn.00418160
add eax, 8
mov ecx, esi
push eax
mov byte [esp + 0x128], 0xc
call fcn.00441432
lea ecx, [esp + 0xf8]
mov byte [esp + 0x124], 2
call fcn.00415900
push 0x466610
mov ecx, esi
call fcn.004413f6
mov eax, dword [esp + 0x54]
inc edi
cmp edi, eax
jl 0x417134
lea ecx, [esp + 0x1c]
mov byte [esp + 0x124], 1
call fcn.004199f4
lea ecx, [esp + 0x68]
mov byte [esp + 0x124], 0
call fcn.00415900
lea ecx, [esp + 0x40]
mov dword [esp + 0x124], 0xffffffff
call fcn.00415d70
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x118
ret 0xc