Function at 0x4225c7
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x558eea
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5b3db0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0042b589
push eax
lea ecx, [esp + 0x14]
call fcn.0040217f
and dword [esp + 0x48], 0
call fcn.0042b589
push eax
lea ecx, [esp + 0x1c]
call fcn.0040217f
lea esi, [esp + 0x1c]
mov byte [esp + 0x48], 1
call fcn.00409dc7
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 2
call fcn.00401ee1
mov byte [esp + 0x48], 1
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004021a7
lea ebx, [edi + 4]
lea ecx, [edi + 0x60]
push ebx
call fcn.00401ee1
mov eax, dword [edi + 0x34]
lea esi, [esp + 0x14]
mov dword [edi + 0xa0], eax
call fcn.00409e44
mov byte [esp + 0x48], 3
push dword [esp + 0x14]
mov ebx, dword [ebx]
push ebx
push str.CurrentDS
push str.Select_DS
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, edi
call fcn.00422371
cmp eax, 5
jne 0x4226ce
mov ecx, edi
call fcn.0042659d
mov esi, eax
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x1c]
dec eax
je 0x4227b3
dec eax
je 0x42274f
dec eax
jne 0x4227f8
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push ebx
call fcn.00401e83
add eax, 0x10
mov dword [esi], eax
pop ecx
mov esi, edi
call fcn.00422509
test eax, eax
jne 0x4227dd
mov esi, dword [esp + 0x10]
push ecx
mov dword [esp + 0x20], esp
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
push esi
call fcn.00401e83
pop ecx
mov ecx, dword [esp + 0x20]
add eax, 0x10
mov dword [ecx], eax
mov ecx, edi
call fcn.00423c08
test eax, eax
jne 0x4227f8
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, ebx
jmp 0x42279f
mov esi, dword [edi + 0x38]
test esi, esi
je 0x422767
push esi
call fcn.00426a84
push esi
call fcn.0042b517
and dword [edi + 0x38], 0
pop ecx
mov esi, dword [esp + 0x10]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebx, esp
push esi
call fcn.00401e83
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [ebx], eax
call fcn.00423c08
test eax, eax
jne 0x4227f8
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, esi
call fcn.004021a7
xor eax, eax
inc eax
jmp 0x4226bb
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push ebx
call fcn.00401e83
add eax, 0x10
mov dword [esi], eax
pop ecx
mov esi, edi
call fcn.00422509
test eax, eax
je 0x4227f8
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, ebx
call fcn.004021a7
xor esi, esi
inc esi
jmp 0x4226ad
lea ecx, [esp + 0x20]
call fcn.0042d64f
xor esi, esi
push esi
mov byte [esp + 0x4c], 4
push dword [esp + 0x14]
lea ecx, [esp + 0x28]
call fcn.0042d6f6
cmp eax, 1
jne 0x422825
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x20]
call fcn.0042d1bb
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 3
call fcn.0042d681
jmp 0x422695