Function at 0x679584
Capabilities:
Delete file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x67958c
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x679821
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00678a30
lea eax, [ebp - 0xc]
call fcn.00678ca8
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov edx, 0x67983c
call fcn.00406f8c
mov eax, dword [ebp - 0x1c]
call fcn.00406c34
push eax
call sub.kernel32.dll_OutputDebugStringW
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov edx, 0x679860
call fcn.00406f8c
mov eax, dword [ebp - 0x20]
call fcn.00406c34
push eax
call sub.kernel32.dll_OutputDebugStringW
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00403634
mov eax, dword [ebp - 0x28]
mov ecx, 0x67988c
mov edx, 3
call fcn.005169cc
mov eax, dword [ebp - 0x24]
mov ecx, 2
xor edx, edx
call fcn.0040720c
mov eax, dword [ebp - 8]
mov edx, 0x6798a8
call fcn.00407204
jne 0x67964a
mov eax, dword [ebp - 0xc]
mov edx, 0x6798a8
call fcn.00407204
jne 0x67964a
mov dword [ebp - 0x18], 1
jmp 0x6796b2
lea eax, [ebp - 0x2c]
push eax
mov ecx, 2
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0040720c
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00407204
jne 0x679673
mov dword [ebp - 0x18], 2
jmp 0x6796b2
mov eax, dword [ebp - 8]
mov edx, 0x6798a8
call fcn.00407204
jne 0x6796ab
lea eax, [ebp - 0x30]
push eax
mov ecx, 2
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0040720c
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x10]
call fcn.00407204
jne 0x6796ab
mov dword [ebp - 0x18], 2
jmp 0x6796b2
mov dword [ebp - 0x18], 3
lea eax, [ebp - 0x38]
push eax
mov ecx, 2
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0040720c
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x6798bc
call fcn.00406f8c
mov eax, dword [ebp - 0x34]
call fcn.00406c34
push eax
call sub.kernel32.dll_OutputDebugStringW
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x18]
call fcn.004712b0
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, 0x6798e4
call fcn.00406f8c
mov eax, dword [ebp - 0x3c]
call fcn.00406c34
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [0x6938a4]
mov eax, dword [eax]
mov edx, dword [eax + 0x44]
lea eax, [ebp - 4]
mov ecx, 0x679908
call fcn.00406f8c
xor eax, eax
push ebp
push 0x679755
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00471a2c
test al, al
je 0x67974b
mov eax, dword [ebp - 4]
call fcn.00406c34
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x67975f
push 0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x51714c]
call fcn.00517fc4
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x6797f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov ecx, 0x679930
mov edx, 0x679948
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 8]
mov edx, 0x6798a8
call fcn.00407204
jne 0x6797be
mov eax, dword [ebp - 0xc]
push eax
mov ecx, 0x679960
mov edx, 0x679948
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 4]
jmp 0x6797d4
mov eax, dword [ebp - 8]
push eax
mov ecx, 0x679960
mov edx, 0x679948
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6797f9
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x58]
mov eax, dword [ebp - 0x14]
call fcn.00404490
ret