Function at 0x4113e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48937b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push ebx
push esi
push edi
xor esi, esi
push 0x2c
mov dword [ebp - 0x1c], esi
call fcn.0041af51
add esp, 4
cmp eax, esi
je 0x4117c8
mov dword [ebp - 0x20], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 8], eax
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x28], 1
mov ecx, dword [ebp - 0x20]
mov byte [ecx + 0x29], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 4], esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
cmp ecx, eax
je 0x4116e4
mov dword [ebp - 0x48], 0x5c
jmp 0x41145b
mov ecx, dword [ebp - 0x14]
xor esi, esi
push esi
xor edx, edx
push ecx
mov edi, 7
or eax, 0xffffffff
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], esi
mov word [ebp - 0x40], dx
call fcn.00405230
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x6c]
push esi
push eax
lea ebx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004126a0
add esp, 8
xor ecx, ecx
mov byte [ebp - 4], 2
push ecx
mov word [ebp - 0x88], cx
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], 0
call fcn.00405230
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 3
call fcn.004126a0
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xa4]
mov edi, 8
cmp dword [ebp - 0x90], edi
jae 0x4114ee
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x411646
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp eax, 1
jb 0x411646
mov ebx, dword [ebp - 0x40]
cmp dword [ebp - 0x2c], edi
jae 0x411520
lea ebx, [ebp - 0x40]
lea esp, [esp]
mov eax, ebx
test ecx, ecx
je 0x411646
lea ebx, [ebx]
cmp word [eax], 0x5c
je 0x411541
add eax, 2
dec ecx
jne 0x411530
jmp 0x411646
test eax, eax
je 0x411646
mov esi, 1
lea edx, [ebp - 0x48]
mov ecx, eax
mov di, word [ecx]
cmp di, word [edx]
jne 0x4115d7
add ecx, 2
add edx, 2
dec esi
jne 0x411553
mov ecx, dword [ebp - 0x40]
mov edi, 8
cmp dword [ebp - 0x2c], edi
jae 0x411574
lea ecx, [ebp - 0x40]
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x411646
push eax
xor ecx, ecx
lea esi, [ebp - 0xcc]
lea edx, [ebp - 0x40]
call fcn.00411ae0
mov eax, esi
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.004121a0
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x20]
je 0x4115ff
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], edi
jb 0x4115b5
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0xbc]
mov edi, ecx
lea ecx, [ebp - 0xcc]
call fcn.00408940
mov edi, 8
test eax, eax
js 0x4115ff
lea eax, [ebp - 0x10]
jmp 0x411608
sbb edx, edx
and edx, 0xfffffffe
inc edx
je 0x411564
mov ecx, eax
sub ecx, ebx
sar ecx, 1
or edx, 0xffffffff
sub edx, ecx
mov ecx, dword [ebp - 0x10]
add ecx, edx
mov dword [ebp - 0x10], ecx
lea ebx, [eax + 2]
mov edi, 8
jmp 0x411520
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x50], ecx
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 0x20]
cmp dword [eax], edx
jne 0x41162f
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x24]
call fcn.00412b80
push eax
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.00412740
cmp dword [ebp - 0xb8], edi
jb 0x411646
mov eax, dword [ebp - 0xcc]
push eax
call fcn.0041ab81
add esp, 4
cmp dword [ebp - 0x90], edi
jb 0x41165d
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.0041ab81
add esp, 4
xor esi, esi
xor edx, edx
mov ebx, 7
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], esi
mov word [ebp - 0xa4], dx
cmp dword [ebp - 0x74], edi
jb 0x41168d
mov eax, dword [ebp - 0x88]
push eax
call fcn.0041ab81
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], esi
mov word [ebp - 0x88], cx
cmp dword [ebp - 0x58], edi
jb 0x4116ad
mov edx, dword [ebp - 0x6c]
push edx
call fcn.0041ab81
add esp, 4
xor eax, eax
mov byte [ebp - 4], al
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], esi
mov word [ebp - 0x6c], ax
cmp dword [ebp - 0x2c], edi
jb 0x4116cd
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0041ab81
add esp, 4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
add eax, 0x1c
mov dword [ebp - 0x14], eax
cmp eax, dword [edx + 4]
jne 0x411456
jmp 0x4116ec
mov edi, 8
lea ebx, [edi - 1]
mov ecx, dword [ebp - 0x20]
mov esi, dword [ecx]
cmp esi, ecx
je 0x411797
lea esp, [esp]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x6c]
lea ebx, [esi + 0xc]
push ecx
call fcn.004126a0
add esp, 8
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x58], edi
jae 0x411722
lea eax, [ebp - 0x6c]
push eax
call fcn.0040d460
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x58], edi
jb 0x411740
mov edx, dword [ebp - 0x6c]
push edx
call fcn.0041ab81
add esp, 4
cmp byte [esi + 0x29], 0
jne 0x411787
mov eax, dword [esi + 8]
cmp byte [eax + 0x29], 0
jne 0x41176c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x29], 0
jne 0x411787
lea esp, [esp]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x29], 0
je 0x411760
jmp 0x411787
mov eax, dword [esi + 4]
cmp byte [eax + 0x29], 0
jne 0x411785
cmp esi, dword [eax + 8]
jne 0x411785
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x29], 0
je 0x411775
mov esi, eax
mov ecx, dword [ebp - 0x20]
cmp esi, ecx
jne 0x411700
mov ebx, 7
mov dword [ebp - 4], ebx
mov eax, dword [ecx]
push ecx
push eax
lea edi, [ebp - 0x4c]
lea esi, [ebp - 0x24]
call fcn.004120e0
mov eax, dword [ebp - 0x20]
push eax
call fcn.0041ab81
mov ecx, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x44], esi
call fcn.00419e95
push 0x4a9d68
lea edx, [ebp - 0xb0]
push edx
mov dword [ebp - 0xb0], vtable.std::bad_alloc.0
call fcn.0041c7c1
int3