Function at 0x10082410
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bc8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x614
mov eax, dword [0x10248f44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx]
cmp byte [eax + 0x54], 0
jne 0x10082722
push str.LOG_DIR
call fcn.1019dbe6
mov edx, eax
add esp, 4
test edx, edx
je 0x10082722
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10082465
sub ecx, esi
je 0x10082722
mov dword [ebp - 0x26c], 0
mov ecx, edx
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0xf
mov byte [ebp - 0x26c], al
mov dword [ebp - 4], 0xffffffff
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100824a4
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x26c]
call fcn.10047990
lea edx, [ebp - 0x26c]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2cc]
call fcn.10047580
push eax
lea ecx, [ebp - 0x26c]
call fcn.10047850
mov edx, dword [ebp - 0x2b8]
cmp edx, 0x10
jb 0x10082518
mov ecx, dword [ebp - 0x2cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008250e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10082e88
push edx
push ecx
call fcn.1018a765
add esp, 8
mov eax, dword [ebp - 0x25c]
mov byte [ebp - 0x601], 0
lea edx, [eax - 1]
cmp eax, edx
jbe 0x10082e8d
cmp dword [ebp - 0x258], 0x10
lea ecx, [ebp - 0x26c]
mov esi, dword [ebp - 0x26c]
cmovae ecx, esi
setae byte [ebp - 0x602]
mov al, byte [ecx + edx]
cmp al, 0x2f
je 0x10082558
cmp al, 0x5c
jne 0x1008255f
mov byte [ebp - 0x601], 1
cmp byte [ebp - 0x602], 0
lea edx, [ebp - 0x26c]
lea ecx, [ebp - 0x23c]
cmovne edx, esi
call fcn.1008a440
cmp byte [ebp - 0x601], 0
mov byte [ebp - 4], 2
jne 0x100825e0
mov esi, dword [ebp - 0x228]
mov eax, esi
mov edx, dword [ebp - 0x22c]
sub eax, edx
cmp eax, 1
jb 0x100825c6
cmp esi, 8
lea eax, [ebp - 0x23c]
lea ecx, [edx + 1]
mov esi, 0x5c
cmovae eax, dword [ebp - 0x23c]
mov dword [ebp - 0x22c], ecx
mov word [eax + edx*2], si
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x100825e0
push 1
push 0x10230984
push dword [ebp - 0x610]
lea ecx, [ebp - 0x23c]
push 1
call fcn.10073bc0
push 0x10230fe8
lea edx, [ebp - 0x23c]
lea ecx, [ebp - 0x284]
call fcn.100736e0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x600]
cmp dword [ebp - 0x270], 8
lea eax, [ebp - 0x284]
push ecx
cmovae eax, dword [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x608], eax
cmp eax, 0xffffffff
jne 0x1008273d
mov edx, dword [ebp - 0x270]
cmp edx, 8
jb 0x1008266e
mov ecx, dword [ebp - 0x284]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10082664
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10082e92
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edx, dword [ebp - 0x228]
xor eax, eax
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
cmp edx, 8
jb 0x100826cb
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100826c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10082e92
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edx, dword [ebp - 0x258]
xor eax, eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
cmp edx, 0x10
jb 0x10082722
mov ecx, dword [ebp - 0x26c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10082718
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10082e92
push edx
push ecx
call fcn.1018a765
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1018a722
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x2b4], 0
push 1
xor eax, eax
mov dword [ebp - 0x2a4], 0
push 0x10231014
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 0x2a0], 7
mov word [ebp - 0x2b4], ax
mov byte [ebp - 4], 3
call fcn.10073560
mov esi, dword [ebp - 0x608]
mov byte [ebp - 4], 5
nop dword [eax]
nop dword [eax + eax]
test byte [ebp - 0x600], 0x10
jne 0x10082d37
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1018f2e0
lea eax, [ebp - 0x5d4]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.1019deda
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov dword [ebp - 0x29c], 0
xor eax, eax
mov dword [ebp - 0x28c], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x288], 7
mov word [ebp - 0x29c], ax
lea edx, [ecx + 2]
mov byte [ebp - 4], 5
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10082810
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x29c]
call fcn.10073560
mov byte [ebp - 4], 7
cmp dword [ebp - 0x28c], 0
jne 0x1008288c
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x288]
cmp edx, 8
jb 0x10082d37
mov ecx, dword [ebp - 0x29c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008287d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10082e88
push edx
push ecx
call fcn.1018a765
add esp, 8
jmp 0x10082d37
sub esp, 0x18
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x2b4]
xorps xmm0, xmm0
mov ecx, esp
movq qword [ebp - 0x224], xmm0
push eax
call fcn.100734c0
lea edx, [ebp - 0x29c]
lea ecx, [ebp - 0x224]
call fcn.100820c0
add esp, 0x18
mov byte [ebp - 4], 8
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x220]
mov ecx, edi
mov esi, dword [ebp - 0x224]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jae 0x10082906
mov byte [ebp - 4], 7
test esi, esi
je 0x10082ced
push ecx
mov edx, edi
mov ecx, esi
jmp 0x10082c7a
push esi
lea ecx, [ebp - 0x254]
call fcn.100734c0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x254]
mov edx, dword [ebp - 0x240]
cmp edx, 8
mov edi, dword [ebp - 0x254]
setae cl
jb 0x1008293f
mov ecx, dword [ebp - 0x244]
mov eax, edi
mov esi, edi
lea ecx, [edi + ecx*2]
jmp 0x10082965
lea esi, [ebp - 0x254]
test cl, cl
je 0x10082956
mov ecx, dword [ebp - 0x244]
mov esi, edi
lea ecx, [edi + ecx*2]
jmp 0x10082965
mov ecx, dword [ebp - 0x244]
lea ecx, [esi + ecx*2]
lea esi, [ebp - 0x254]
mov dword [ebp - 0x60c], ecx
cmp esi, ecx
je 0x100829a7
sub eax, esi
mov dword [ebp - 0x610], eax
mov edi, eax
nop dword [eax]
movzx eax, word [esi]
push eax
call fcn.1019fd42
mov word [edi + esi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x60c]
jne 0x10082980
mov edi, dword [ebp - 0x254]
mov edx, dword [ebp - 0x240]
cmp edx, 8
lea ecx, [ebp - 0x254]
mov edx, dword [ebp - 0x244]
cmovae ecx, edi
push 6
push ecx
call fcn.10083880
add esp, 8
test eax, eax
jne 0x10082c06
mov ecx, dword [ebp - 0x220]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x224]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x10082e83
cmp dword [esi + 0x2c], 8
lea edx, [esi + 0x18]
jb 0x100829ff
mov edx, dword [edx]
lea ecx, [ebp - 0x2cc]
call fcn.1008a590
push 0xa8
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x3b0]
xorps xmm0, xmm0
mov dword [ebp - 0x2e8], 0
push 0
push eax
movups xmmword [ebp - 0x308], xmm0
movups xmmword [ebp - 0x2f8], xmm0
call fcn.1018f2e0
add esp, 4
lea eax, [ebp - 0x2cc]
lea ecx, [ebp - 0x3b0]
push eax
call fcn.10082f30
lea eax, [ebp - 0x308]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x620], eax
mov eax, str._Y_m_d
mov dword [ebp - 0x61c], str._Y_m_d
inc eax
cmp byte [eax], 0
jne 0x10082a70
lea edx, [ebp - 0x620]
mov dword [ebp - 0x618], eax
lea ecx, [ebp - 0x3b0]
call fcn.100833e0
lea eax, [ebp - 0x308]
push eax
call fcn.1019f61f
push 0
mov esi, eax
mov edi, edx
call fcn.1019fbe0
add esp, 8
cmp edi, edx
jg 0x10082b4c
jl 0x10082ab9
cmp esi, eax
jae 0x10082b4c
sub eax, esi
sbb edx, edi
mov dword [ebp - 0x610], edx
js 0x10082b4c
jg 0x10082ad6
cmp eax, 0x278d00
jbe 0x10082b4c
lea eax, [ebp - 0x5d4]
push eax
lea edx, [ebp - 0x23c]
lea ecx, [ebp - 0x2e4]
call fcn.100736e0
add esp, 4
lea eax, [ebp - 0x2e4]
cmp dword [ebp - 0x2d0], 8
cmovae eax, dword [ebp - 0x2e4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x2d0]
cmp edx, 8
jb 0x10082b4c
mov ecx, dword [ebp - 0x2e4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10082b42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10082e88
push edx
push ecx
call fcn.1018a765
add esp, 8
mov eax, dword [ebp - 0x3b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x3b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x3b4], eax
lea ecx, [ebp - 0x3a0]
call fcn.1004ccf0
mov eax, dword [ebp - 0x3b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x3b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x3b4], eax
lea eax, [ebp - 0x350]
mov byte [ebp - 4], 0xc
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1018c5d2
mov byte [ebp - 4], 9
add esp, 4
mov edx, dword [ebp - 0x2b8]
cmp edx, 0x10
jb 0x10082c00
mov ecx, dword [ebp - 0x2cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10082bf6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10082e88
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edi, dword [ebp - 0x254]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x240]
cmp eax, 8
jb 0x10082c44
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x10082c3a
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10082e88
push ecx
push edi
call fcn.1018a765
add esp, 8
xor eax, eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
test ecx, ecx
je 0x10082ced
mov edx, dword [ebp - 0x220]
push ecx
call fcn.100838f0
mov esi, dword [ebp - 0x224]
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x21c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x10082cc5
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10082e88
push ecx
push esi
call fcn.1018a765
add esp, 8
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x288]
cmp edx, 8
jb 0x10082d31
mov ecx, dword [ebp - 0x29c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10082d27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10082e88
push edx
push ecx
call fcn.1018a765
add esp, 8
mov esi, dword [ebp - 0x608]
lea eax, [ebp - 0x600]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10082790
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x2a0]
cmp edx, 8
jb 0x10082d94
mov ecx, dword [ebp - 0x2b4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10082d8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10082e92
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edx, dword [ebp - 0x270]
cmp edx, 8
jb 0x10082dd4
mov ecx, dword [ebp - 0x284]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10082dca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10082e92
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edx, dword [ebp - 0x228]
xor eax, eax
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
cmp edx, 8
jb 0x10082e2d
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10082e23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10082e92
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edx, dword [ebp - 0x258]
xor eax, eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
cmp edx, 0x10
jb 0x10082722
mov ecx, dword [ebp - 0x26c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10082718
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10082e92
jmp 0x10082718
call fcn.1006d5e0
call fcn.1019291f
call fcn.10047ad0
call fcn.1019291f
int3