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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6195e5
mov eax, dword fs:[0]
push eax
sub esp, 0x5fc
mov eax, dword [0x6b1a94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4fc], ecx
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x4d0], esi
xor eax, eax
mov dword [ebp - 0x500], edx
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], esi
mov word [ebp - 0x248], ax
cmp word [edx], ax
jne 0x47bf57
xor ecx, ecx
jmp 0x47bf75
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47bf60
sub ecx, esi
mov esi, dword [ebp - 0x4d0]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.00405710
push 6
push str._.log
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0
call fcn.004592b0
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x4c8]
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x4f8], ebx
cmp ebx, 0xffffffff
je 0x47c4a7
or edi, 0xffffffff
mov dword [ebp - 0x21c], 7
or ebx, 0xffffffff
mov dword [ebp - 0x4d4], edi
xor eax, eax
mov dword [ebp - 0x4d8], ebx
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
xor ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x4cc], ebx
nop dword [eax]
test byte [ebp - 0x4c8], 0x10
jne 0x47c3b5
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005e27b0
add esp, 0xc
lea eax, [ebp - 0x218]
push str.DllRepairLog.txt
push 0x104
push eax
call fcn.005e52e7
add esp, 0xc
lea eax, [ebp - 0x218]
push str.__04d__02d__02d__02d__02d__02d.log
push 0x104
push eax
call fcn.005efce8
add esp, 0xc
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x4ec]
push eax
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x4e0]
push eax
lea eax, [ebp - 0x4dc]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x49c]
push eax
call fcn.0045a560
add esp, 0x20
cmp eax, 6
jne 0x47c3b5
mov dword [ebp - 0x5b8], 0x681a4c
mov dword [ebp - 0x5a8], 0x6817e8
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push 0
lea eax, [ebp - 0x5a0]
mov byte [ebp - 4], 2
or esi, 1
lea ecx, [ebp - 0x5b8]
push eax
mov dword [ebp - 0x4d0], esi
call fcn.00476f80
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x5b8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x5b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x5bc], eax
lea eax, [ebp - 0x5a0]
mov ecx, eax
mov dword [ebp - 0x504], eax
call fcn.004771a0
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x568], 0
mov dword [ebp - 0x564], 0
push 0
lea eax, [ebp - 0x5c8]
mov byte [ebp - 4], 5
push 4
push eax
call fcn.005c7270
add esp, 0xc
lea ecx, [ebp - 0x5a8]
mov edx, eax
call fcn.00463ec0
mov edi, eax
lea eax, [ebp - 0x5d8]
push 0
push 2
push eax
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov byte [ecx + edi + 0x40], 0x30
call fcn.005c7270
add esp, 0xc
mov ecx, edi
mov esi, eax
push dword [ebp - 0x4dc]
call fcn.004620a0
mov edx, esi
mov ecx, eax
call fcn.00463ec0
mov edi, eax
lea eax, [ebp - 0x5e8]
push 0
push 2
push eax
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov byte [ecx + edi + 0x40], 0x30
call fcn.005c7270
add esp, 0xc
mov ecx, edi
mov esi, eax
push dword [ebp - 0x4e0]
call fcn.004620a0
mov edx, esi
mov ecx, eax
call fcn.00463ec0
mov edi, eax
lea eax, [ebp - 0x5f8]
push 0
push 2
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov byte [ecx + edi + 0x40], 0x30
push eax
call fcn.005c7270
add esp, 0xc
mov ecx, edi
mov esi, eax
push dword [ebp - 0x4e4]
call fcn.004620a0
mov edx, esi
mov ecx, eax
call fcn.00463ec0
mov edi, eax
lea eax, [ebp - 0x608]
push 0
push 2
push eax
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov byte [ecx + edi + 0x40], 0x30
call fcn.005c7270
add esp, 0xc
mov ecx, edi
mov esi, eax
push dword [ebp - 0x4e8]
call fcn.004620a0
mov edx, esi
mov ecx, eax
call fcn.00463ec0
mov edi, eax
lea eax, [ebp - 0x258]
push 0
push 2
push eax
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov byte [ecx + edi + 0x40], 0x30
call fcn.005c7270
add esp, 0xc
mov ecx, edi
mov esi, eax
push dword [ebp - 0x4ec]
call fcn.004620a0
mov edx, esi
mov ecx, eax
call fcn.00463ec0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov byte [ecx + eax + 0x40], 0x30
mov ecx, eax
push dword [ebp - 0x4f0]
call fcn.004620a0
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x5b8]
call fcn.00475db0
mov esi, eax
mov byte [ebp - 4], 6
cmp dword [esi + 0x14], 0x10
jb 0x47c2ba
mov esi, dword [esi]
call fcn.005e6a70
push 0xa
mov dword [eax], 0
lea eax, [ebp - 0x4f4]
push eax
push esi
call fcn.005f5c32
add esp, 0xc
mov edi, eax
mov ebx, edx
cmp esi, dword [ebp - 0x4f4]
je 0x47c3e1
call fcn.005e6a70
cmp dword [eax], 0x22
je 0x47c3d7
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x264]
cmp eax, 0x10
jb 0x47c317
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.00403ac0
mov eax, edi
or eax, ebx
je 0x47c383
cmp ebx, dword [ebp - 0x4d8]
ja 0x47c374
jb 0x47c32f
cmp edi, dword [ebp - 0x4d4]
jae 0x47c374
cmp word [ebp - 0x49c], 0
jne 0x47c33d
xor eax, eax
jmp 0x47c355
lea eax, [ebp - 0x49c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47c346
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x49c]
push eax
lea ecx, [ebp - 0x230]
call fcn.00405710
mov dword [ebp - 0x4d4], edi
mov dword [ebp - 0x4d8], ebx
mov ebx, dword [ebp - 0x4cc]
inc ebx
mov dword [ebp - 0x4cc], ebx
jmp 0x47c389
mov ebx, dword [ebp - 0x4cc]
lea ecx, [ebp - 0x550]
call fcn.00475dd0
lea eax, [ebp - 0x550]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.005c73e3
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4c8]
push eax
push dword [ebp - 0x4f8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x47c3eb
mov esi, dword [ebp - 0x4d0]
jmp 0x47c010
push str.stoull_argument_out_of_range
call fcn.005c6055
push str.invalid_stoull_argument
call fcn.005c6015
mov eax, dword [ebp - 0x4fc]
cmp ebx, dword [eax + 8]
jl 0x47c46c
push dword [ebp - 0x500]
lea ecx, [ebp - 0x260]
call fcn.00405020
push 1
push 0x6819f0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 8
call fcn.004592b0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x260]
call fcn.004593e0
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x47c46c
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00407550
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x47c48a
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407550
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x47c4c5
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00407550
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c8db3
mov esp, ebp
pop ebp
ret 8