Function at 0x49e448
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x49e450
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49e6ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x390]
call fcn.00404928
call fcn.00409e44
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.00404660
mov eax, dword [ebp - 0x10]
mov edx, 0x49e6e0
call fcn.00404874
je 0x49e53d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x390]
call fcn.00404928
call fcn.00409e44
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00404660
mov eax, dword [ebp - 0x14]
mov edx, 0x49e6f0
call fcn.00404874
je 0x49e53d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x390]
call fcn.004092d8
test al, al
jne 0x49e53d
push 0x10
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0045dfa4
mov eax, dword [ebp - 0x18]
call fcn.00404928
push eax
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, 0x49c4c0
call fcn.004062b4
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x390]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
lea edx, [ebp - 0x28]
xor ecx, ecx
pop eax
call fcn.0040a414
mov eax, dword [ebp - 0x1c]
call fcn.00404928
push eax
mov eax, dword [ebp - 4]
call fcn.00466770
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x49e665
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x394]
call fcn.004092d8
test al, al
jne 0x49e5b1
push 0x10
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.0045dfa4
mov eax, dword [ebp - 0x2c]
call fcn.00404928
push eax
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x34]
mov eax, 0x49c4c0
call fcn.004062b4
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x394]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
lea edx, [ebp - 0x28]
xor ecx, ecx
pop eax
call fcn.0040a414
mov eax, dword [ebp - 0x30]
call fcn.00404928
push eax
mov eax, dword [ebp - 4]
call fcn.00466770
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x49e665
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x398]
call fcn.00486888
test al, al
je 0x49e625
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x398]
call fcn.00404928
push eax
call sub.kernel32.dll_GetFileAttributesA
test eax, eax
jns 0x49e5e0
call fcn.004035d0
mov dword [ebp - 0xc], eax
test byte [ebp - 0xc], 1
je 0x49e661
push 0x10
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0045dfa4
mov eax, dword [ebp - 0x38]
call fcn.00404928
push eax
lea edx, [ebp - 0x3c]
mov eax, 0x49c4d0
call fcn.004062b4
mov eax, dword [ebp - 0x3c]
call fcn.00404928
push eax
mov eax, dword [ebp - 4]
call fcn.00466770
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x49e665
push 0x10
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.0045dfa4
mov eax, dword [ebp - 0x40]
call fcn.00404928
push eax
lea edx, [ebp - 0x44]
mov eax, 0x49c4c8
call fcn.004062b4
mov eax, dword [ebp - 0x44]
call fcn.00404928
push eax
mov eax, dword [ebp - 4]
call fcn.00466770
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x49e665
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e6d1
lea eax, [ebp - 0x44]
call fcn.00404468
lea eax, [ebp - 0x40]
call fcn.00404468
lea eax, [ebp - 0x3c]
call fcn.00404468
lea eax, [ebp - 0x38]
call fcn.00404468
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0040448c
lea eax, [ebp - 0x2c]
call fcn.00404468
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040448c
lea eax, [ebp - 0x18]
call fcn.00404468
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040448c
ret