Function at 0x4026f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x1108], eax
je 0x40272e
mov dword [esi + 0x10e4], 0x3f3
mov dword [esi + 0x10e8], 0
mov dword [esi + 0x10ec], 0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 0x10f0], 0
je 0x402725
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [esi + 0x1104], eax
xorps xmm0, xmm0
mov dword [esi + 0x10f4], 0
mov eax, dword [esi + 0xc]
mov dword [esi + 8], 0
push ebx
lea ebx, [esi + 0x10cc]
mov word [eax], cx
mov eax, dword [esi + 0x14]
push edi
push dword [ebp + 0xc]
lea edi, [esi + 0x58]
mov word [eax], cx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ecx
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], ecx
movq qword [ebx], xmm0
mov dword [ebx + 8], ecx
mov dword [esi + 0x4c], ecx
mov ecx, edi
call fcn.004017b0
push edi
call fcn.00404590
push str.MEMORY_
push dword [edi]
call fcn.00410bea
add esp, 0xc
mov dword [ebp - 0x20], 0
neg eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
sbb eax, eax
inc eax
push 0x12c
mov dword [esi + 0x10f8], eax
call fcn.00401a60
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
push 0x12c
mov word [eax], cx
lea ecx, [ebp - 0x18]
call fcn.00401a60
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.004044d0
mov ecx, dword [edi]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402810
sub ecx, edx
sar ecx, 1
cmp ecx, dword [edi + 4]
jae 0x402a1a
cmp ecx, 3
jb 0x4029e4
lea ecx, [ebp - 0x20]
call fcn.00403920
cmp eax, 2
jb 0x4029e4
lea ecx, [ebp - 0x18]
call fcn.00403920
cmp eax, 2
jb 0x4029e4
mov eax, dword [esi + 0x60]
lea edi, [esi + 0x60]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov word [eax], cx
lea ecx, [ebp - 0x10]
push 0x12c
call fcn.004019e0
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push 0x12c
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov byte [eax], 0
call fcn.004019e0
push dword [ebp + 0x10]
mov eax, dword [ebp - 8]
lea ecx, [ebp - 8]
push 0
push 0x402b30
push 0
push dword [ebp - 0x20]
mov byte [eax], 0
call fcn.00402690
mov ebx, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
push eax
push ebx
call fcn.00402690
push eax
push dword [esi + 0x10f0]
mov eax, dword [esi + 0x1114]
call eax
add esp, 0x1c
test eax, eax
je 0x40299b
mov eax, dword [edi]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4028e0
sub eax, edx
sar eax, 1
cmp eax, dword [edi + 4]
jae 0x402a1a
test eax, eax
je 0x40299b
push edi
lea ecx, [ebp - 0x18]
call fcn.004017b0
push dword [ebp - 8]
call fcn.00407dc0
push dword [ebp - 0x10]
call fcn.00407dc0
mov eax, dword [edi]
xor ecx, ecx
add esp, 8
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov word [eax], cx
lea ecx, [ebp - 0x10]
push 0x12c
call fcn.004019e0
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push 0x12c
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov byte [eax], 0
call fcn.004019e0
push dword [ebp + 0x10]
mov eax, dword [ebp - 8]
lea ecx, [ebp - 8]
push 0
push 0x402b30
push 0
push dword [ebp - 0x20]
mov byte [eax], 0
call fcn.00402690
mov ebx, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
push eax
push ebx
call fcn.00402690
push eax
push dword [esi + 0x10f0]
mov eax, dword [esi + 0x1114]
call eax
add esp, 0x1c
test eax, eax
jne 0x4028d6
push dword [ebp - 8]
call fcn.00407dc0
push dword [ebp - 0x10]
call fcn.00407dc0
add esp, 8
mov ecx, esi
push dword [esi + 8]
call fcn.004031c0
cmp dword [esi + 0x10f4], 0
je 0x4029d0
cmp dword [esi + 8], 0
je 0x4029d0
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x10cc]
call fcn.004038c0
mov esi, eax
neg esi
sbb esi, esi
inc esi
jmp 0x4029fe
mov dword [ebx + 0x18], 0x3ea
xor esi, esi
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.00407dc0
push dword [ebp - 0x20]
call fcn.00407dc0
add esp, 8
mov eax, esi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0x421ea8
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], str.The_string_has_no_terminating_null_character_
push eax
call fcn.0040928c
int3