Function at 0x1016eb40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b0246
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x10415990]
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 - 0x26c], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push 0x24
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x264], ebx
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x1016edd9
mov dword [edi], edi
mov dword [ebp - 0x268], edi
mov dword [edi + 4], edi
push esi
mov esi, dword [ebp - 0x25c]
push esi
lea ecx, [ebp - 0x114]
push 0x1029014c
push ecx
mov dword [ebp - 4], ebx
call sub.MSVCR100.dll_sprintf
lea edx, [ebp - 0x258]
push edx
lea eax, [ebp - 0x114]
push eax
call sub.MSVCR100.dll__findfirst64i32
add esp, 0x18
mov dword [ebp - 0x25c], eax
cmp eax, 0xffffffff
jne 0x1016ec20
lea ecx, [ebp - 0x268]
call fcn.1016b6c0
mov ecx, dword [ebp - 0x268]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
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.1015eea7
mov esp, ebp
pop ebp
ret 0xc
mov ecx, 0x101da234
lea eax, [ebp - 0x234]
jmp 0x1016ec30
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1016ec50
cmp dl, bl
je 0x1016ec4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1016ec50
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x1016ec30
xor eax, eax
jmp 0x1016ec55
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x1016ed58
mov ecx, 0x10290148
lea eax, [ebp - 0x234]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1016ec88
cmp dl, bl
je 0x1016ec84
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1016ec88
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x1016ec68
xor eax, eax
jmp 0x1016ec8d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x1016ed58
lea edx, [ebp - 0x234]
push edx
push esi
lea eax, [ebp - 0x114]
push 0x10290140
push eax
call sub.MSVCR100.dll_sprintf
add esp, 0x10
push 0x2f
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp - 0x26c]
call fcn.10166a00
lea eax, [ebp - 0x114]
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1016ece4
sub eax, ecx
push eax
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x130]
call fcn.10048340
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x130]
push eax
push ecx
push edi
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.1016b720
mov edx, 0x9249248
sub edx, dword [ebp - 0x264]
cmp edx, 1
jb 0x1016edcf
inc dword [ebp - 0x264]
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
cmp dword [ebp - 0x11c], 0x10
mov byte [ebp - 4], bl
jb 0x1016ed58
mov eax, dword [ebp - 0x130]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
push ecx
push edx
call sub.MSVCR100.dll__findnext64i32
add esp, 8
cmp eax, 0xffffffff
jne 0x1016ec20
mov eax, dword [ebp - 0x25c]
push eax
call sub.MSVCR100.dll__findclose
mov ecx, dword [ebp - 0x264]
add esp, 4
cmp ecx, dword [ebp + 0x10]
jbe 0x1016edb8
lea ecx, [ebp - 0x268]
call fcn.1016e8c0
mov edx, dword [ebp - 0x268]
mov eax, dword [edx]
add eax, 8
cmp dword [eax + 0x14], 0x10
jb 0x1016edaf
mov eax, dword [eax]
push eax
call sub.MSVCR100.dll_remove
add esp, 4
lea ecx, [ebp - 0x268]
call fcn.1016b6c0
mov eax, dword [ebp - 0x268]
push eax
jmp 0x1016ebf6
push str.list_T__too_long
call fcn.1015fcec
lea ecx, [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x270], ebx
call sub.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__
push 0x103805c0
lea edx, [ebp - 0x27c]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3