Function at 0x419e70
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473910
mov eax, dword fs:[0]
push eax
sub esp, 0x48
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 edx, dword [edi + 0xc]
test edx, edx
je 0x419ec7
mov ecx, dword [edi + 4]
push edx
push dword [edi + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [edi + 0x3c]
shr eax, 4
test al, 1
je 0x419ec0
mov eax, dword [edi + 0xc]
add dword [edi + 0x20], eax
mov dword [edi + 0xc], 0
mov eax, dword [edi + 0x3c]
and eax, 0x90
cmp al, 0x90
jne 0x419edd
mov ecx, edi
call fcn.0041a290
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x3c]
and eax, 0x90
cmp al, 0x90
sete bl
cmp dword [edi + 0x20], 0
mov byte [ebp - 0x45], bl
je 0x419f22
inc word [edi + 0x24]
mov eax, 0xffff
test bl, bl
mov dword [edi + 0x20], 0
mov ecx, 0x3e7
cmovne eax, ecx
movzx eax, ax
cmp word [edi + 0x24], ax
jb 0x419f22
push 0xd1
mov ecx, edi
call fcn.004196e0
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
test bl, bl
je 0x419f53
lea eax, [edi + 0x44]
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x419f8a
push 0xffffffffffffffff
push 0
push eax
call fcn.00402ab0
jmp 0x419f8a
push 0
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.00418fb0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp ecx, eax
je 0x419f75
push 0xffffffffffffffff
push 0
push eax
call fcn.00402ab0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], 8
jb 0x419f8a
push dword [ebp - 0x44]
call fcn.0043d771
add esp, 4
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test al, al
jne 0x419feb
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [edi + 0x3c]
and eax, 0x70
cmp al, 0x70
jne 0x419fe3
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov esi, dword [edi + 0x80]
mov ecx, esi
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x50], edx
call fcn.0041ae40
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
test eax, eax
jne 0x419fe3
xor edx, edx
mov ecx, 0xe0
call fcn.00411d20
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x40], 0
je 0x41a17f
mov esi, 1
lea ebx, [ebx]
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x50], 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 esi
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.0041a1e0
mov eax, dword [edi + 0x40]
lea ecx, [ebp - 0x2c]
add eax, 4
cmp ecx, eax
je 0x41a051
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 - 0x44]
call fcn.0041e4a0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x41a071
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [ebp - 0x30], 8
mov ebx, eax
jb 0x41a08b
push dword [ebp - 0x44]
call fcn.0043d771
add esp, 4
cmp ebx, 0xffffffff
je 0x41a0b0
test bl, 0x10
mov eax, 0
sete al
lea eax, [eax*2 - 1]
test eax, eax
je 0x41a0b0
mov esi, 2
jmp 0x41a000
mov bl, byte [ebp - 0x45]
test bl, bl
je 0x41a13d
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 3
movzx eax, word [edi + 0x24]
inc eax
push eax
lea eax, [ebp - 0x44]
push str.pkback__.3d
push eax
call fcn.004141f0
add esp, 0xc
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x44]
cmp dword [ebp - 0x18], 8
cmovae ecx, dword [ebp - 0x2c]
call fcn.00418110
test al, al
jne 0x41a128
cmp dword [ebp - 0x30], 8
mov esi, 3
jb 0x41a000
push dword [ebp - 0x44]
call fcn.0043d771
add esp, 4
jmp 0x41a000
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], 8
jb 0x41a13d
push dword [ebp - 0x44]
call fcn.0043d771
add esp, 4
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push 0
cmovae edx, dword [ebp - 0x2c]
mov eax, dword [ecx]
push 0x1022
push edx
mov eax, dword [eax]
call eax
test al, al
jne 0x41a167
mov esi, 4
jmp 0x41a000
test bl, bl
je 0x41a177
mov ecx, edi
call fcn.0041a290
mov dword [edi + 0x10], eax
jmp 0x41a1af
mov eax, dword [edi + 8]
mov dword [edi + 0x10], eax
jmp 0x41a1af
test bl, bl
je 0x41a18f
push 0xd7
mov ecx, edi
call fcn.004196e0
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x2c]
mov eax, dword [edi + 8]
cmp dword [ebp - 0x18], 8
push 1
cmovae edx, dword [ebp - 0x2c]
mov dword [edi + 0x10], eax
mov eax, dword [ecx]
push 0x1022
push edx
call dword [eax]
cmp dword [ebp - 0x18], 8
jb 0x41a1c0
push dword [ebp - 0x2c]
call fcn.0043d771
add esp, 4
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