Function at 0x441d40
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e91fe
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x7cf070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [edi + 0x90], 1
call fcn.004b08d6
mov ecx, eax
test ecx, ecx
jne 0x441d8e
push 0x80004005
call fcn.00402890
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov eax, dword [0x7e8b74]
cmp dword [eax - 0xc], 0
je 0x441e0d
mov ecx, str.HVZ_____hlx__57CFLUds_0HKZcgku_9DIV
call fcn.0045f920
push eax
lea eax, [ebp - 0x20]
push 0x7e8b74
push eax
call fcn.00404720
add esp, 0xc
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 1
push eax
call fcn.004047f0
add esp, 0xc
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x14]
mov ebx, 3
push eax
mov dword [ebp - 0x18], ebx
call fcn.00405050
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0xd], 1
test eax, eax
jne 0x441e11
mov byte [ebp - 0xd], 0
or ecx, 0xffffffff
mov dword [ebp - 4], 1
test bl, 2
je 0x441e43
mov edx, dword [ebp - 0x1c]
and ebx, 0xfffffffd
mov dword [ebp - 0x18], ebx
add edx, 0xfffffff0
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x441e43
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov dword [ebp - 4], 0
test bl, 1
je 0x441e6c
mov edx, dword [ebp - 0x20]
and ebx, 0xfffffffe
add edx, 0xfffffff0
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x441e6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x442032
mov eax, dword [edi + 0x30]
sub eax, 0
je 0x44201b
sub eax, 1
je 0x441f6a
sub eax, 1
jne 0x442025
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 2
lea ecx, [eax + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00405050
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.004067c0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x441f51
mov ecx, dword [edi + 0x20]
cmp dword [ecx - 0xc], 0
jl 0x441f10
push eax
push ecx
call fcn.005ed2a5
add esp, 8
test eax, eax
je 0x441f10
sub eax, dword [edi + 0x20]
sar eax, 1
cmp eax, 0xffffffff
je 0x441f10
lea eax, [ebp - 0x18]
mov dword [edi + 0x90], 2
lea ecx, [edi + 0xa0]
push eax
call fcn.00405050
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
jmp 0x442004
test esi, esi
je 0x441f5b
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x441f5b
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x441f2f
test al, 0x10
jne 0x441f5b
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
jmp 0x442004
mov dword [edi + 0x90], 2
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
jmp 0x442004
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 2
lea ecx, [eax + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00405050
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.004067c0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x441ff3
mov ecx, dword [edi + 0x20]
cmp dword [ecx - 0xc], 0
jl 0x441fba
push eax
push ecx
call fcn.005ed2a5
add esp, 8
test eax, eax
je 0x441fba
sub eax, dword [edi + 0x20]
sar eax, 1
cmp eax, 0xffffffff
jne 0x441fd5
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00443040
test eax, eax
jne 0x441fd5
mov ecx, esi
call fcn.0044d460
mov eax, dword [ebp - 0x18]
jmp 0x441ffd
lea eax, [ebp - 0x18]
mov dword [edi + 0x90], 2
lea ecx, [edi + 0xa0]
push eax
call fcn.00405050
mov eax, dword [ebp - 0x18]
jmp 0x441ffd
mov dword [edi + 0x90], 2
mov byte [ebp - 4], 0
lea edx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442025
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x442025
mov dword [edi + 0x90], 2
cmp dword [edi + 0x90], 2
je 0x44253f
mov eax, dword [edi + 0x8c]
cmp dword [eax - 0xc], 0
je 0x44209f
mov ecx, str.CRVeeeeeqy4ABHWhv_23__EHQ_mmzz_9__JN_
call fcn.0045f920
push eax
lea eax, [edi + 0x8c]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00404720
add esp, 0xc
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x20]
or ebx, 4
push eax
mov dword [ebp - 0x18], ebx
call fcn.004047f0
add esp, 0xc
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x14]
or ebx, 8
push eax
mov dword [ebp - 0x18], ebx
call fcn.00405050
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0xd], 1
test eax, eax
jne 0x4420a3
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 5
test bl, 8
je 0x4420d0
mov edx, dword [ebp - 0x20]
and ebx, 0xfffffff7
mov dword [ebp - 0x18], ebx
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4420d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
test bl, 4
je 0x4420fa
mov edx, dword [ebp - 0x1c]
and ebx, 0xfffffffb
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4420fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x44229d
mov eax, dword [edi + 0x30]
sub eax, 0
je 0x44221f
sub eax, 1
je 0x44217a
sub eax, 1
jne 0x442229
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 2
lea ecx, [eax + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00405050
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.004067c0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x4421f7
mov ecx, dword [edi + 0x20]
cmp dword [ecx - 0xc], 0
jl 0x442201
push eax
push ecx
call fcn.005ed2a5
add esp, 8
test eax, eax
je 0x4421f2
sub eax, dword [edi + 0x20]
sar eax, 1
cmp eax, 0xffffffff
jmp 0x4421d7
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 2
lea ecx, [eax + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00405050
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.004067c0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x4421f7
mov ecx, dword [edi + 0x20]
cmp dword [ecx - 0xc], 0
jl 0x4421ca
push eax
push ecx
call fcn.005ed2a5
add esp, 8
test eax, eax
je 0x4421ca
sub eax, dword [edi + 0x20]
sar eax, 1
cmp eax, 0xffffffff
jne 0x4421d9
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00443040
test eax, eax
je 0x4421f2
lea eax, [ebp - 0x18]
mov dword [edi + 0x90], 2
lea ecx, [edi + 0xa0]
push eax
call fcn.00405050
mov eax, dword [ebp - 0x18]
jmp 0x442201
mov dword [edi + 0x90], 2
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442229
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x442229
mov dword [edi + 0x90], 2
cmp dword [edi + 0x90], 2
jne 0x44229d
mov eax, dword [0x7e8b74]
cmp dword [eax - 0xc], 0
je 0x44253f
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44253f
mov ecx, str.IVVajv__1117AOZ_aktv_135_BEQZkry_
call fcn.0045f920
push eax
lea eax, [ebp - 0x20]
push 0x7e8b74
push eax
call fcn.00404720
add esp, 0xc
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp + 8]
push eax
call fcn.004047f0
add esp, 0xc
push 0
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
call fcn.0044dde0
mov byte [ebp - 4], 9
or ebx, 0xffffffff
jmp 0x442504
mov eax, dword [0x7e8b78]
cmp dword [eax - 0xc], 0
je 0x442307
mov ecx, str.IINRRRRRX_it_16_GGQ_jx5CQRUVeru___:F
call fcn.0045f920
push eax
lea eax, [ebp - 0x1c]
push 0x7e8b78
push eax
call fcn.00404720
add esp, 0xc
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x20]
or ebx, 0x10
push eax
mov dword [ebp - 0x18], ebx
call fcn.004047f0
add esp, 0xc
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x14]
or ebx, 0x20
push eax
mov dword [ebp - 0x18], ebx
call fcn.00405050
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0xd], 1
test eax, eax
jne 0x44230b
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xb
test bl, 0x20
je 0x442338
mov edx, dword [ebp - 0x20]
and ebx, 0xffffffdf
mov dword [ebp - 0x18], ebx
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442338
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
test bl, 0x10
je 0x442363
mov edx, dword [ebp - 0x1c]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442366
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x442366
or ebx, 0xffffffff
cmp byte [ebp - 0xd], 0
je 0x442546
mov eax, dword [edi + 0x30]
sub eax, 0
je 0x44248a
sub eax, 1
je 0x4423e6
sub eax, 1
jne 0x442494
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 2
lea ecx, [eax + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00405050
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.004067c0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x442463
mov ecx, dword [edi + 0x20]
cmp dword [ecx - 0xc], 0
jl 0x44246d
push eax
push ecx
call fcn.005ed2a5
add esp, 8
test eax, eax
je 0x44245e
sub eax, dword [edi + 0x20]
sar eax, 1
cmp eax, 0xffffffff
jmp 0x442443
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 2
lea ecx, [eax + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00405050
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.004067c0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x442463
mov ecx, dword [edi + 0x20]
cmp dword [ecx - 0xc], 0
jl 0x442436
push eax
push ecx
call fcn.005ed2a5
add esp, 8
test eax, eax
je 0x442436
sub eax, dword [edi + 0x20]
sar eax, 1
cmp eax, 0xffffffff
jne 0x442445
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00443040
test eax, eax
je 0x44245e
lea eax, [ebp - 0x18]
mov dword [edi + 0x90], 2
lea ecx, [edi + 0xa0]
push eax
call fcn.00405050
mov eax, dword [ebp - 0x18]
jmp 0x44246d
mov dword [edi + 0x90], 2
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442494
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x442494
mov dword [edi + 0x90], 2
cmp dword [edi + 0x90], 2
jne 0x442546
mov eax, dword [0x7e8b74]
cmp dword [eax - 0xc], 0
je 0x44253f
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44253f
mov ecx, str.JPU_et__5BKPVX_ajpq__8EHJLYgo_4B
call fcn.0045f920
push eax
lea eax, [ebp - 0x20]
push 0x7e8b74
push eax
call fcn.00404720
add esp, 0xc
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 0xf
push ecx
push eax
lea eax, [ebp + 8]
push eax
call fcn.004047f0
add esp, 0xc
push 0
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x14]
call fcn.0044dde0
mov byte [ebp - 4], 0xf
mov edx, dword [ebp + 8]
mov eax, ebx
add edx, 0xfffffff0
add esp, 4
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442521
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44253f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
call fcn.00441c80
xor ebx, ebx
cmp dword [edi + 0x90], 1
mov dword [ebp - 4], 0xffffffff
sete bl
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x442571
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4