Function at 0x409360
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x409369
xchg dword [ebp - 4], ecx
push ebx
push esi
mov ebx, ecx
mov esi, eax
xor eax, eax
push ebp
push 0x4095cf
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00405bcc
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x40e690]
call fcn.00403684
mov ecx, eax
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004038e4
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [0x40e690]
call fcn.00405bcc
mov edx, dword [ebp - 0x14]
pop eax
call fcn.004037d0
je 0x4093e2
mov ecx, 0x193
mov dl, 1
mov eax, dword [0x406d38]
call fcn.00409300
mov ebx, eax
jmp 0x4095b4
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x40e690]
call fcn.00403684
mov ecx, eax
inc ecx
add ecx, 7
inc ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004038e4
mov eax, dword [ebp - 0x18]
push eax
push dword [0x40e690]
push 0x4095e8
push 0x4095f4
push 0x4095e8
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00403744
mov edx, dword [ebp - 0x1c]
pop eax
call fcn.004037d0
jne 0x40944d
mov ecx, 0x193
mov dl, 1
mov eax, dword [0x406d38]
call fcn.00409300
mov ebx, eax
jmp 0x4095b4
mov eax, esi
call fcn.00403884
push eax
call sub.kernel32.dll_GetFileAttributesA
test al, 0x10
jne 0x409466
test al, 2
jne 0x409466
test al, 4
je 0x40947e
mov ecx, 0x193
mov dl, 1
mov eax, dword [0x406d38]
call fcn.00409300
mov ebx, eax
jmp 0x4095b4
mov dx, word [0x4095fc]
mov eax, esi
call fcn.00405194
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4094ad
mov ecx, 0x194
mov dl, 1
mov eax, dword [0x406d38]
call fcn.00409300
mov ebx, eax
jmp 0x4095b4
lea edx, [ebx + 8]
mov eax, dword [ebp - 8]
call fcn.00405100
test al, al
jne 0x4094d4
mov ecx, 0x194
mov dl, 1
mov eax, dword [0x406d38]
call fcn.00409300
mov ebx, eax
jmp 0x4095b4
lea edx, [ebp - 0x24]
mov eax, esi
call fcn.00405b0c
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov edx, 2
call fcn.00405040
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0xc]
call fcn.00405bcc
cmp dword [ebp - 0xc], 0
je 0x409537
lea ecx, [ebp - 4]
lea edx, [ebp - 0xc]
mov eax, dword [0x40e68c]
mov esi, dword [eax]
call dword [esi + 0x20]
test al, al
jne 0x40951d
lea eax, [ebp - 0xc]
call fcn.00403500
jmp 0x409537
lea eax, [ebp - 0xc]
mov edx, dword [0x40e68c]
mov edx, dword [edx + 0x2c]
mov ecx, dword [ebp - 4]
mov edx, dword [edx + ecx*4]
mov edx, dword [edx + 4]
call fcn.00403598
cmp dword [ebp - 0xc], 0
jne 0x40954a
lea eax, [ebp - 0xc]
mov edx, 0x409608
call fcn.00403598
mov dl, 1
mov eax, dword [0x407320]
call fcn.00402b2c
mov esi, eax
mov dword [ebx + 0x6c], esi
lea eax, [esi + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00403554
mov eax, dword [ebx + 0x6c]
mov edx, dword [ebx + 0xc]
mov dword [eax + 0x40], edx
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0x10]
call fcn.00407520
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x6c]
add eax, 0x30
call fcn.00403554
call fcn.004047d0
lea edx, [ebp - 0x2c]
call fcn.00407520
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x64]
add eax, 0xc
call fcn.00403554
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x406c6c]
call fcn.0040933c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4095d6
lea eax, [ebp - 0x2c]
mov edx, 9
call fcn.00403524
ret