Function at 0x427720
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x483fd8
push eax
mov dword fs:[0], esp
sub esp, 0x540
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00441cf0
test eax, eax
je 0x4277d8
push 0
lea eax, [esp + 0x250]
push str.CINIFile::IsLenovoSytleINIFileExist_n
push eax
call fcn.00465850
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x4c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x4c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x24c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00441d20
lea eax, [esp + 0x4c]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov eax, dword [0x4a6844]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x558], ecx
mov dword [esp + 0x1c], eax
push 0x49f224
lea ecx, [esp + 0x18]
mov byte [esp + 0x55c], 1
call fcn.00475f16
mov esi, eax
lea ecx, [ebp + 0x128c]
mov bl, 2
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x55c], bl
call fcn.00475f16
push esi
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0x564], 3
call fcn.0047608b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x55c], 4
call fcn.00475f95
lea ecx, [esp + 0x24]
mov byte [esp + 0x558], 3
call fcn.00475ea8
lea ecx, [esp + 0x28]
mov byte [esp + 0x558], bl
call fcn.00475ea8
lea ecx, [esp + 0x14]
mov byte [esp + 0x558], 1
call fcn.00475ea8
push 0xa
lea ecx, [esp + 0x30]
call fcn.00475669
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
mov byte [esp + 0x55c], 5
call fcn.00401570
mov eax, dword [esp + 0x30]
mov bl, 6
test eax, eax
mov byte [esp + 0x558], bl
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], eax
je 0x427958
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.004014e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x55c], 7
call fcn.00475f95
lea ecx, [esp + 0x14]
mov byte [esp + 0x558], bl
call fcn.00475ea8
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00423d50
test eax, eax
je 0x42794c
push str.DEVICE
lea ecx, [esp + 0x20]
push 0x49f6f0
push ecx
call fcn.00475206
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x44c]
push edx
push str.DEVICEID
push eax
push ecx
mov ecx, ebp
call fcn.0043de30
test eax, eax
je 0x427945
mov dword [esp + 0x18], 1
mov edx, dword [esp + 0x10]
push edx
call esi
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4278bf
call fcn.00441cf0
test eax, eax
je 0x4279fb
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x34c]
push eax
push str.CINIFile::IsLenovoSytleINIFileExist_:_bRetVal___d_n
push ecx
call fcn.00465850
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x34c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x14c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441c80
mov ecx, eax
call fcn.00441d30
lea ecx, [esp + 0x2c]
mov byte [esp + 0x558], 1
call fcn.004756dd
lea ecx, [esp + 0x1c]
mov byte [esp + 0x558], 0
call fcn.00475ea8
lea ecx, [esp + 0x10]
mov dword [esp + 0x558], 0xffffffff
call fcn.00475ea8
mov ecx, dword [esp + 0x550]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54c
ret