Function at 0x52ac74
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x32
push 0
push 0
dec ecx
jne 0x52ac7d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405254
xor eax, eax
push ebp
push 0x52b0ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00409fe4
test al, al
je 0x52b0bf
mov eax, dword [0x539418]
mov eax, dword [eax]
call fcn.0046cf94
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404e4c
xor edx, edx
push ebp
push 0x52b090
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0040a1b8
mov eax, dword [ebp - 8]
call fcn.0040a1a4
test eax, eax
je 0x52ad08
cmp eax, 0x80
je 0x52ad08
cmp eax, 0x800
je 0x52ad08
cmp eax, 0x4000
jne 0x52ad1e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xbc0]
cmp byte [eax + 0x210], 0
jne 0x52add4
mov eax, dword [ebp - 8]
call fcn.0040a2d4
test al, al
jne 0x52b086
lea edx, [ebp - 0x15c]
mov eax, dword [ebp - 8]
call fcn.00409544
mov eax, dword [ebp - 0x15c]
push eax
lea edx, [ebp - 0x160]
mov eax, 0x52b100
call fcn.00409544
mov eax, dword [ebp - 0x160]
pop edx
call fcn.004053a8
test eax, eax
je 0x52adbd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xbd0]
cmp byte [eax + 0x210], 0
je 0x52adbd
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc7d], 2
jne 0x52adbd
push 4
push 0
mov eax, dword [ebp - 8]
call fcn.00405264
push eax
call sub.kernel32.dll_MoveFileExA
test eax, eax
jne 0x52adae
mov eax, dword [ebp - 4]
inc dword [eax + 0xc40]
mov eax, dword [ebp - 4]
dec dword [eax + 0xc3c]
jmp 0x52b086
mov eax, dword [ebp - 4]
mov byte [eax + 0xc55], 1
jmp 0x52b086
mov eax, dword [ebp - 4]
inc dword [eax + 0xc40]
mov eax, dword [ebp - 4]
dec dword [eax + 0xc3c]
jmp 0x52b086
push 0x40
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41c6c8]
call fcn.00421980
call fcn.00403fc4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x158]
call fcn.00402ffc
mov edx, 1
lea eax, [ebp - 0x158]
call fcn.00403764
call fcn.00402930
lea eax, [ebp - 0x158]
xor edx, edx
call fcn.0052ab68
lea eax, [ebp - 0x158]
mov dl, 0xff
call fcn.0052ab68
lea eax, [ebp - 0x158]
mov dl, 0xaa
call fcn.0052ab68
lea eax, [ebp - 0x158]
call fcn.004031a0
call fcn.00402930
lea edx, [ebp - 0x164]
mov eax, dword [ebp - 0xc]
call fcn.0040a424
lea eax, [ebp - 0x164]
mov edx, 0x52b114
call fcn.00405074
mov eax, dword [ebp - 0x164]
call fcn.00409fe4
test al, al
jne 0x52aec2
lea edx, [ebp - 0x168]
mov eax, dword [ebp - 0xc]
call fcn.0040a424
lea eax, [ebp - 0x168]
mov edx, 0x52b114
call fcn.00405074
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0xc]
call fcn.0040a2ec
test al, al
je 0x52aec2
lea edx, [ebp - 0x16c]
mov eax, dword [ebp - 0xc]
call fcn.0040a424
mov edx, dword [ebp - 0x16c]
lea eax, [ebp - 0xc]
mov ecx, 0x52b114
call fcn.004050b8
lea edx, [ebp - 0x170]
mov eax, dword [ebp - 0xc]
call fcn.0040a424
lea eax, [ebp - 0x170]
mov edx, 0x52b128
call fcn.00405074
mov eax, dword [ebp - 0x170]
call fcn.00409fe4
test al, al
jne 0x52af40
lea edx, [ebp - 0x174]
mov eax, dword [ebp - 0xc]
call fcn.0040a424
lea eax, [ebp - 0x174]
mov edx, 0x52b128
call fcn.00405074
mov edx, dword [ebp - 0x174]
mov eax, dword [ebp - 0xc]
call fcn.0040a2ec
test al, al
je 0x52af40
lea edx, [ebp - 0x178]
mov eax, dword [ebp - 0xc]
call fcn.0040a424
mov edx, dword [ebp - 0x178]
lea eax, [ebp - 0xc]
mov ecx, 0x52b128
call fcn.004050b8
lea edx, [ebp - 0x17c]
mov eax, dword [ebp - 0xc]
call fcn.0040a424
lea eax, [ebp - 0x17c]
mov edx, 0x52b140
call fcn.00405074
mov eax, dword [ebp - 0x17c]
call fcn.00409fe4
test al, al
jne 0x52afbe
lea edx, [ebp - 0x180]
mov eax, dword [ebp - 0xc]
call fcn.0040a424
lea eax, [ebp - 0x180]
mov edx, 0x52b140
call fcn.00405074
mov edx, dword [ebp - 0x180]
mov eax, dword [ebp - 0xc]
call fcn.0040a2ec
test al, al
je 0x52afbe
lea edx, [ebp - 0x184]
mov eax, dword [ebp - 0xc]
call fcn.0040a424
mov edx, dword [ebp - 0x184]
lea eax, [ebp - 0xc]
mov ecx, 0x52b140
call fcn.004050b8
lea edx, [ebp - 0x188]
mov eax, dword [ebp - 0xc]
call fcn.0040a424
lea eax, [ebp - 0x188]
mov edx, 0x52b16c
call fcn.00405074
mov eax, dword [ebp - 0x188]
call fcn.00409fe4
test al, al
jne 0x52b03c
lea edx, [ebp - 0x18c]
mov eax, dword [ebp - 0xc]
call fcn.0040a424
lea eax, [ebp - 0x18c]
mov edx, 0x52b16c
call fcn.00405074
mov edx, dword [ebp - 0x18c]
mov eax, dword [ebp - 0xc]
call fcn.0040a2ec
test al, al
je 0x52b03c
lea edx, [ebp - 0x190]
mov eax, dword [ebp - 0xc]
call fcn.0040a424
mov edx, dword [ebp - 0x190]
lea eax, [ebp - 0xc]
mov ecx, 0x52b16c
call fcn.004050b8
mov eax, dword [ebp - 0xc]
call fcn.0040a2d4
test al, al
jne 0x52b086
cmp bl, 1
jne 0x52b086
lea edx, [ebp - 0x194]
mov eax, dword [ebp - 0xc]
call fcn.0040a560
mov eax, dword [ebp - 0x194]
call fcn.00405264
push eax
call sub.gdi32.dll_RemoveFontResourceA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x52b086
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52b0bf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b0f1
lea eax, [ebp - 0x194]
mov edx, 0xf
call fcn.00404dd8
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404dd8
ret