Function at 0x4199b0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473868
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x48f840]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x60], edi
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x44]
mov esi, dword [ebp + 8]
push edx
mov dword [ebp - 0x64], esi
mov eax, dword [ecx]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], 0
call dword [eax + 0x24]
push 1
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00418fb0
mov byte [ebp - 4], 1
cmp dword [edi + 0x40], 0
je 0x419adb
mov esi, dword [ebp - 0x60]
mov edi, 1
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x68], ecx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
call fcn.00402ab0
push edi
push 0xffffffffffffffff
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0041a1e0
mov eax, dword [esi + 0x40]
lea ecx, [ebp - 0x2c]
add eax, 4
cmp ecx, eax
je 0x419a76
push 0xffffffffffffffff
push 0
push eax
call fcn.00402ab0
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
push 1
cmovae edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
call fcn.0041e4a0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x419a96
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [ebp - 0x48], 8
mov ebx, eax
jb 0x419ab0
push dword [ebp - 0x5c]
call fcn.0043d771
add esp, 4
cmp ebx, 0xffffffff
je 0x419ad5
test bl, 0x10
mov eax, 0
sete al
lea eax, [eax*2 - 1]
test eax, eax
je 0x419ad5
mov edi, 2
jmp 0x419a26
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x60]
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0041bad0
test eax, eax
jne 0x419b16
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov word [esi], ax
mov byte [ebp - 4], 3
jmp 0x419b7a
cmp dword [edi + 0x40], 0
jne 0x419b44
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
call fcn.00417fe0
test eax, eax
je 0x419b44
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
push ecx
call fcn.004181e0
add esp, 4
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
cmovae edx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 8
cmovae ecx, dword [ebp - 0x44]
push ecx
call fcn.00418270
add esp, 4
mov dword [esi + 0x14], 7
xor eax, eax
mov dword [esi + 0x10], 0
mov word [esi], ax
mov byte [ebp - 4], 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00402ab0
cmp dword [ebp - 0x18], 8
jb 0x419b9a
push dword [ebp - 0x2c]
call fcn.0043d771
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x30], 8
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x1c], eax
jb 0x419bbb
push dword [ebp - 0x44]
call fcn.0043d771
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043d762
mov esp, ebp
pop ebp
ret 4