Function at 0x4052d0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x41cafc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x18]
push str._Y__m__d
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.00414c00
mov ecx, eax
call fcn.00414c42
lea edx, [esp + 0x3c]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x3c]
push 0x104
push edx
rep stosd dword es:[edi], eax
push eax
mov dword [esp + 0x154], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x3c]
push 0x5c
push eax
call fcn.00409b90
mov byte [eax + 1], 0
or ecx, 0xffffffff
mov edi, str.CapLog_
xor eax, eax
add esp, 8
lea edx, [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, dword [esp + 0x154]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x3c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.__________.
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x3c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.0041549a
lea eax, [esp + 0x20]
lea edx, [esp + 0x3c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x154], 1
call fcn.00415daa
call fcn.00405540
mov eax, dword [esp + 0x30]
add esp, 8
xor esi, esi
test eax, eax
jle 0x4054f4
mov edi, dword [esp + 0x150]
lea eax, [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.004052a0
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push ebp
mov byte [esp + 0x154], 2
call fcn.00415daa
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x158], 3
call fcn.00415ab1
mov byte [esp + 0x154], 2
call fcn.00405990
add esp, 0xc
test eax, eax
je 0x4054e3
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00415ab1
lea ecx, [esp + 0x18]
push ecx
call fcn.004058e0
mov edx, dword [esp + 0x20]
mov eax, dword [eax]
push edx
push eax
call fcn.0040945e
add esp, 0x10
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call fcn.00415d3c
test bl, bl
je 0x4054e3
push 0
push 0x42466c
push ebp
push str.CapLoghistory.ini
call fcn.00406ef0
mov eax, dword [esp + 0x20]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 1
call fcn.00415d3c
mov eax, dword [esp + 0x28]
inc esi
cmp esi, eax
jl 0x405414
jmp 0x4054f4
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 1
call fcn.00415d3c
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x28]
call fcn.0041552d
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 0
call fcn.004154cd
lea ecx, [esp + 0x18]
mov dword [esp + 0x148], 0xffffffff
call fcn.00415d3c
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x13c
ret