Function at 0x42aed0
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44ce88
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45d2b0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x42af21
push str._INSTALL_
push eax
call fcn.004380d2
add esp, 8
test eax, eax
je 0x42af21
sub eax, dword [ebp]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42af95
mov eax, dword [ebp]
cmp dword [eax - 0xc], 0
jl 0x42af46
push str._DATADIR_
push eax
call fcn.004380d2
add esp, 8
test eax, eax
je 0x42af46
sub eax, dword [ebp]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42af95
mov eax, dword [ebp]
cmp dword [eax - 0xc], 0
jl 0x42af6b
push str._SYSDIR_
push eax
call fcn.004380d2
add esp, 8
test eax, eax
je 0x42af6b
sub eax, dword [ebp]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42af95
mov eax, dword [ebp]
cmp dword [eax - 0xc], 0
jge 0x42af79
or edi, 0xffffffff
jmp 0x42af95
push str.SYSDIR64
push eax
call fcn.004380d2
add esp, 8
test eax, eax
jne 0x42af90
or edi, 0xffffffff
jmp 0x42af95
sub eax, dword [ebp]
mov edi, eax
mov eax, dword [0x45fdc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fdc0
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], 0
mov eax, dword [0x45fdc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fdc0
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
mov byte [esp + 0x24], 1
cmp edi, 0xffffffff
jne 0x42b04f
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x42aff8
mov ecx, edi
lea eax, [esp + 0x2c]
call fcn.004043a0
mov esi, dword [esp + 0x2c]
cmp dword [esi - 8], edi
jge 0x42b007
push 0x80070057
call fcn.00404c40
mov dword [esi - 0xc], edi
mov byte [esi + 0x104], 0
mov ebp, dword [ebp]
call fcn.00435880
mov edi, eax
call fcn.004358d0
push esi
lea edx, [edi + 0xc]
mov ecx, ebp
call fcn.004333f0
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004389ba
add esp, 8
test eax, eax
jl 0x42b045
cmp eax, dword [esi - 8]
jle 0x42b10c
push 0x80070057
call fcn.00404c40
mov eax, dword [ebp]
mov eax, dword [eax - 0xc]
sub eax, edi
lea ecx, [esp + 0x18]
mov edx, ebp
call fcn.00403f40
lea ebx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.00404000
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b095
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x42b0ba
mov ecx, edi
lea eax, [esp + 0x2c]
call fcn.004043a0
mov esi, dword [esp + 0x2c]
cmp dword [esi - 8], edi
jge 0x42b0c9
push 0x80070057
call fcn.00404c40
mov dword [esi - 0xc], edi
mov byte [esi + 0x104], 0
call fcn.00435880
mov edi, eax
call fcn.004358d0
mov ebx, dword [esp + 0x14]
push esi
lea edx, [edi + 0xc]
mov ecx, ebx
call fcn.004333f0
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004389ba
add esp, 8
test eax, eax
jl 0x42affd
cmp eax, dword [esi - 8]
jg 0x42affd
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or edi, 0xffffffff
add esi, 0xfffffff0
mov byte [esp + 0x24], 0
mov edx, edi
lea ecx, [esi + 0xc]
lock xadd dword [ecx], edx
dec edx
cmp eax, edi
je 0x42b165
test edx, edx
jg 0x42b141
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea eax, [ebx - 0x10]
mov dword [esp + 0x24], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42b15e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x42b192
test edx, edx
jg 0x42b173
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea eax, [ebx - 0x10]
mov dword [esp + 0x24], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42b190
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4