Function at 0x4872c4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x487696
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [0x633c90]
cmp byte [eax], 0
jne 0x487338
mov eax, dword [0x633e58]
mov edx, 0x4876b0
call fcn.0040541c
mov eax, dword [0x633e58]
mov eax, dword [eax]
call fcn.00405858
call fcn.00423080
test al, al
jne 0x487338
mov eax, dword [0x633c90]
mov byte [eax], 1
mov edx, dword [0x633f20]
mov edx, dword [edx]
mov eax, dword [0x633e58]
mov ecx, 0x4876c4
call fcn.004056e0
call fcn.004860f8
mov eax, dword [0x633e58]
mov eax, dword [eax]
call fcn.00405858
call fcn.00423080
test al, al
je 0x487673
xor edx, edx
push ebp
push 0x487669
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, dword [0x633e58]
mov ecx, dword [ecx]
lea eax, [ebp - 0x10]
mov edx, 0x4876dc
call fcn.004056e0
mov eax, dword [ebp - 0x10]
mov edx, dword [0x633a94]
call fcn.00486e6c
xor ebx, ebx
mov esi, 0x20
mov edi, 0x6334b0
lea eax, [ebp - 0x14]
mov edx, dword [edi]
call fcn.004055c0
mov eax, dword [ebp - 0x14]
call fcn.00463cb0
test eax, eax
jne 0x4873a8
mov bl, 1
jmp 0x4873ae
add edi, 4
dec esi
jne 0x48738e
test bl, bl
je 0x4873bf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x487673
lea eax, [ebp - 4]
call fcn.00487260
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00487a00
mov eax, 0x4876e8
call fcn.00486ff8
mov edx, dword [0x633e1c]
mov dword [edx], eax
mov eax, 0x4876fc
call fcn.00486ff8
mov edx, dword [0x633e74]
mov dword [edx], eax
mov eax, 0x487710
call fcn.00486ff8
mov edx, dword [0x633bb0]
mov dword [edx], eax
mov eax, 0x487724
call fcn.00486ff8
mov edx, dword [0x633ca0]
mov dword [edx], eax
mov eax, 0x487738
call fcn.00486ff8
mov edx, dword [0x634048]
mov dword [edx], eax
mov eax, 0x48774c
call fcn.00486ff8
mov edx, dword [0x6340bc]
mov dword [edx], eax
mov eax, 0x487760
call fcn.00486ff8
mov edx, dword [0x633e00]
mov dword [edx], eax
mov eax, 0x487774
call fcn.00486ff8
mov edx, dword [0x633e4c]
mov dword [edx], eax
mov eax, 0x487788
call fcn.00486ff8
mov edx, dword [0x633b94]
mov dword [edx], eax
mov eax, 0x48779c
call fcn.00486ff8
mov edx, dword [0x633dfc]
mov dword [edx], eax
mov eax, 0x4877b8
call fcn.00486ff8
mov edx, dword [0x633e40]
mov dword [edx], eax
mov eax, 0x4877d4
call fcn.00486ff8
mov edx, dword [0x633b88]
mov dword [edx], eax
mov eax, 0x4877f0
call fcn.00486ff8
mov edx, dword [0x6340d4]
mov dword [edx], eax
mov eax, 0x487800
call fcn.00486ff8
mov edx, dword [0x634130]
mov dword [edx], eax
mov eax, 0x487814
call fcn.00486ff8
mov edx, dword [0x633ed0]
mov dword [edx], eax
mov eax, 0x487828
call fcn.00486ff8
mov edx, dword [0x633f30]
mov dword [edx], eax
mov eax, 0x48783c
call fcn.00486ff8
mov edx, dword [0x634150]
mov dword [edx], eax
mov eax, 0x487854
call fcn.00486ff8
mov edx, dword [0x63397c]
mov dword [edx], eax
mov eax, 0x48786c
call fcn.00486ff8
mov edx, dword [0x633ad4]
mov dword [edx], eax
mov eax, 0x487884
call fcn.00486ff8
mov edx, dword [0x633b38]
mov dword [edx], eax
mov eax, 0x48789c
call fcn.00486ff8
mov edx, dword [0x633f14]
mov dword [edx], eax
mov eax, 0x4878b4
call fcn.00486ff8
mov edx, dword [0x633f58]
mov dword [edx], eax
mov eax, 0x4878d0
call fcn.00486ff8
mov edx, dword [0x633c6c]
mov dword [edx], eax
mov eax, 0x4878e8
call fcn.00486ff8
mov edx, dword [0x633cc8]
mov dword [edx], eax
mov eax, 0x487904
call fcn.00486ff8
mov edx, dword [0x633cc4]
mov dword [edx], eax
mov eax, 0x48791c
call fcn.00486ff8
mov edx, dword [0x633d24]
mov dword [edx], eax
mov eax, 0x487938
call fcn.00486ff8
mov edx, dword [0x6339f8]
mov dword [edx], eax
mov eax, 0x487950
call fcn.00486ff8
mov edx, dword [0x633a4c]
mov dword [edx], eax
mov eax, 0x48796c
call fcn.00486ff8
mov edx, dword [0x634038]
mov dword [edx], eax
mov eax, 0x487984
call fcn.00486ff8
mov edx, dword [0x6340a0]
mov dword [edx], eax
mov eax, 0x4879a0
call fcn.00486ff8
mov edx, dword [0x633b64]
mov dword [edx], eax
mov eax, 0x4879b8
call fcn.00486ff8
mov edx, dword [0x633be4]
mov dword [edx], eax
mov eax, 0x4879d4
call fcn.00486ff8
mov edx, dword [0x633ab0]
mov dword [edx], eax
mov eax, 0x4879ec
call fcn.00486ff8
mov edx, dword [0x633b00]
mov dword [edx], eax
mov byte [ebp - 9], 1
mov eax, dword [0x633e58]
mov eax, dword [eax]
mov edx, 0x4876b0
call fcn.004057f0
je 0x48765f
mov eax, dword [0x633e58]
mov eax, dword [eax]
call fcn.00405858
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x487673
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48769d
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004053ec
lea eax, [ebp - 4]
call fcn.004053c8
ret