Function at 0x47d7a8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df715
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
call fcn.00477d0b
call fcn.0046491e
call fcn.00477dbf
lea ecx, [ebp - 0x4c]
call fcn.004aa6ba
mov dword [ebp - 4], 0
push 0
push str.ud.
push 0x50d030
lea eax, [ebp - 0x50]
push eax
call fcn.004c03b5
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x84]
call fcn.00401800
push eax
lea ecx, [ebp - 0x4c]
call fcn.004aa77d
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004c016c
cmp dword [ebp - 0x30], 0
je 0x47d87f
lea ecx, [ebp - 0x4c]
call fcn.004aa99d
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x4c]
call fcn.004aaa6c
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x8c]
call fcn.00401800
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004c016c
jmp 0x47d82c
mov ecx, dword [0x507880]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x58], 0
je 0x47d8a8
push 1
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x58]
call dword [edx]
mov dword [ebp - 0x90], eax
jmp 0x47d8b2
mov dword [ebp - 0x90], 0
mov eax, dword [0x507878]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x60], 0
je 0x47d8d8
push 1
mov ecx, dword [ebp - 0x60]
call fcn.0047f5c0
mov dword [ebp - 0x94], eax
jmp 0x47d8e2
mov dword [ebp - 0x94], 0
mov dword [0x507878], 0
mov edx, dword [0x507874]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x47d913
push 1
mov ecx, dword [ebp - 0x68]
call fcn.0047f5c0
mov dword [ebp - 0x98], eax
jmp 0x47d91d
mov dword [ebp - 0x98], 0
mov ecx, dword [0x50787c]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x70], edx
cmp dword [ebp - 0x70], 0
je 0x47d944
push 1
mov ecx, dword [ebp - 0x70]
call fcn.0047f5c0
mov dword [ebp - 0x9c], eax
jmp 0x47d94e
mov dword [ebp - 0x9c], 0
mov eax, dword [0x507868]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x78], ecx
cmp dword [ebp - 0x78], 0
je 0x47d976
push 1
mov edx, dword [ebp - 0x78]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x78]
call dword [eax]
mov dword [ebp - 0xa0], eax
jmp 0x47d980
mov dword [ebp - 0xa0], 0
call fcn.00429063
call fcn.0042e45a
push 0
call fcn.00422a07
add esp, 4
push 0x50ceb8
push str.Exit
call fcn.004313a0
add esp, 8
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x24]
mov dword [edx], eax
mov ecx, dword [ebp - 0x20]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1c]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x18]
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [0x507c40]
mov dword [edx], eax
mov ecx, dword [0x507c44]
mov dword [edx + 4], ecx
mov eax, dword [0x507c48]
mov dword [edx + 8], eax
mov ecx, dword [0x507c4c]
mov dword [edx + 0xc], ecx
call fcn.0047f2d2
add esp, 0x20
fadd qword [0x507c28]
fstp qword [ebp - 0x14]
mov edx, dword [0x507c20]
mov dword [ebp - 0x2c], edx
mov eax, dword [0x507c24]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x507bac]
push edx
call fcn.004323f4
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004aa6f7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret