Function at 0x42d3d0
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x453548
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4652b0]
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 0x42d421
push str._INSTALL_
push eax
call fcn.0043e3d5
add esp, 8
test eax, eax
je 0x42d421
sub eax, dword [ebp]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42d495
mov eax, dword [ebp]
cmp dword [eax - 0xc], 0
jl 0x42d446
push str._DATADIR_
push eax
call fcn.0043e3d5
add esp, 8
test eax, eax
je 0x42d446
sub eax, dword [ebp]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42d495
mov eax, dword [ebp]
cmp dword [eax - 0xc], 0
jl 0x42d46b
push str._SYSDIR_
push eax
call fcn.0043e3d5
add esp, 8
test eax, eax
je 0x42d46b
sub eax, dword [ebp]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42d495
mov eax, dword [ebp]
cmp dword [eax - 0xc], 0
jge 0x42d479
or edi, 0xffffffff
jmp 0x42d495
push str.SYSDIR64
push eax
call fcn.0043e3d5
add esp, 8
test eax, eax
jne 0x42d490
or edi, 0xffffffff
jmp 0x42d495
sub eax, dword [ebp]
mov edi, eax
mov eax, dword [0x467e80]
mov edx, dword [eax + 0xc]
mov ecx, 0x467e80
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], 0
mov eax, dword [0x467e80]
mov edx, dword [eax + 0xc]
mov ecx, 0x467e80
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
mov byte [esp + 0x24], 1
cmp edi, 0xffffffff
jne 0x42d54f
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x42d4f8
mov ecx, edi
lea eax, [esp + 0x2c]
call fcn.00404d80
mov esi, dword [esp + 0x2c]
cmp dword [esi - 8], edi
jge 0x42d507
push 0x80070057
call fcn.004059f0
mov dword [esi - 0xc], edi
mov byte [esi + 0x104], 0
mov ebp, dword [ebp]
call fcn.00438f20
mov edi, eax
call fcn.00438f70
push esi
lea edx, [edi + 0xc]
mov ecx, ebp
call fcn.004368d0
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x42d545
cmp eax, dword [esi - 8]
jle 0x42d60c
push 0x80070057
call fcn.004059f0
mov eax, dword [ebp]
mov eax, dword [eax - 0xc]
sub eax, edi
lea ecx, [esp + 0x18]
mov edx, ebp
call fcn.00404210
lea ebx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.004044d0
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 0x42d595
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 0x42d5ba
mov ecx, edi
lea eax, [esp + 0x2c]
call fcn.00404d80
mov esi, dword [esp + 0x2c]
cmp dword [esi - 8], edi
jge 0x42d5c9
push 0x80070057
call fcn.004059f0
mov dword [esi - 0xc], edi
mov byte [esi + 0x104], 0
call fcn.00438f20
mov edi, eax
call fcn.00438f70
mov ebx, dword [esp + 0x14]
push esi
lea edx, [edi + 0xc]
mov ecx, ebx
call fcn.004368d0
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x42d4fd
cmp eax, dword [esi - 8]
jg 0x42d4fd
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 0x42d665
test edx, edx
jg 0x42d641
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 0x42d65e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x42d692
test edx, edx
jg 0x42d673
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 0x42d690
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