Function at 0x40d4f0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x452dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebp
push esi
push edi
mov eax, dword [0x469524]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
call fcn.0042121c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d530
push 0x80004005
call fcn.0040ad10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x44], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x32]
movzx eax, word [esp + 0x30]
movzx ecx, word [esp + 0x2e]
push edx
movzx edx, word [esp + 0x2e]
push eax
movzx eax, word [esp + 0x30]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push str._04d_02d_02d_02d
push ecx
call fcn.0040a6f0
mov esi, dword [esp + 0x34]
push str.201208181155
push esi
call fcn.0043b4e8
add esp, 0x24
test eax, eax
jl 0x40d789
push str.201208181159
push esi
call fcn.0043b4e8
add esp, 8
test eax, eax
jg 0x40d789
call fcn.0042121c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d5ca
push 0x80004005
call fcn.0040ad10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x40], 1
call fcn.0042121c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d5f9
push 0x80004005
call fcn.0040ad10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x40], 2
call fcn.0042121c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d628
push 0x80004005
call fcn.0040ad10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x24], edi
push 0
push ecx
mov byte [esp + 0x48], 3
mov ecx, esp
mov dword [esp + 0x28], esp
push str.SXUZvsPsYyc
call fcn.0040a430
lea esi, [esp + 0x28]
call fcn.0040ca60
mov byte [esp + 0x40], 4
mov ecx, dword [eax]
push ecx
push str._APPDATA_
lea edx, [esp + 0x24]
push str._s_s
push edx
call fcn.0040a6f0
mov byte [esp + 0x50], 3
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d69d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.SXUZvsEr1Fe0
call fcn.0040a430
lea esi, [esp + 0x28]
call fcn.0040ca60
mov byte [esp + 0x40], 5
mov ecx, dword [eax]
mov ebp, dword [esp + 0x1c]
push ecx
push ebp
lea edx, [esp + 0x1c]
push 0x45a9c8
push edx
call fcn.0040a6f0
mov byte [esp + 0x50], 3
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d6fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x40d71f
push 0
lea ecx, [esp + 0x18]
call fcn.0040a5c0
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [edi - 0x10]
mov byte [esp + 0x40], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d747
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x40], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d768
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x40], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d789
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d7b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x34
ret