Function at 0x41ddc0
Capabilities:
Bypass mark of the web
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x41f928
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x424038]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x24]
mov dword [esp + 0x1c], 0
mov esi, dword [edi]
cmp eax, esi
je 0x41de5f
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41de09
mov ecx, dword [0x42403c]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x41de10
mov eax, dword [esi - 0xc]
test eax, eax
jge 0x41de46
mov ebp, dword [esi - 8]
lea ecx, [esp + 0x10]
push ebp
call fcn.00414720
test eax, eax
je 0x41de5f
mov edi, dword [esp + 0x10]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebp
mov edx, dword [esp + 0x10]
mov byte [edx + ebp], 0
jmp 0x41de5f
lea ecx, [esp + 0x10]
call fcn.004105b0
mov edi, dword [edi]
mov dword [esp + 0x10], edi
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, str.:Zone.Identifier
test eax, eax
je 0x41de73
push str.:Zone.Identifier
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.:Zone.Identifier
push eax
lea ecx, [esp + 0x18]
call fcn.004102b0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp ecx, 1
jg 0x41de98
mov ecx, dword [eax - 4]
test ecx, ecx
jge 0x41ded5
mov ebp, dword [eax - 8]
test ebp, ebp
jle 0x41dea5
jne 0x41df82
mov eax, dword [0x424038]
lea ecx, [ebp + 1]
lea esi, [ebx + 0xc]
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [esp + 0x10], eax
push ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov dword [eax - 8], ebp
call fcn.004101e0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
lea esi, [ecx - 0xc]
cmp eax, 1
jle 0x41df1e
lea ecx, [esp + 0x10]
call fcn.004105b0
mov edx, dword [esi + 4]
lea ecx, [esp + 0x10]
push edx
call fcn.00410180
test eax, eax
je 0x41df1e
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x10]
inc ecx
add esi, 0xc
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [edx - 8], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x10], 0xffffffff
pop ebx
mov byte [eax + ecx], 0
mov eax, dword [esp]
mov ecx, dword [0x42403c]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41df73
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41df73
mov eax, dword [esp]
add eax, 0xfffffff4
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [ebp + 0xd]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x41dfab
mov dword [eax], 1
mov byte [eax + ebp + 0xc], 0
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
add eax, 0xc
jmp 0x41deaa
xor eax, eax
jmp 0x41ded5