Function at 0x4decb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ecb22
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
push edi
mov eax, dword [0x7ce4e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [ebp - 0x14], eax
mov edi, dword [0x7f9d6c]
mov ecx, edi
push 0x781e74
mov dword [ebp - 0x10], eax
call fcn.004dd4b0
test al, al
jne 0x4ded0e
push str.vmodule
mov ecx, edi
call fcn.004dd4b0
test al, al
je 0x4dee7c
cmp dword [0x801df0], 0
je 0x4ded18
int3
mov eax, dword [0x801dc8]
push 0x10
mov dword [0x801df0], eax
call fcn.005be217
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [ebp - 0x18], str.vmodule
mov ecx, str.vmodule
xor edx, edx
nop word [eax + eax]
lea ecx, [ecx + 1]
inc edx
cmp byte [ecx], 0
jne 0x4ded50
mov dword [ebp - 0x14], edx
mov eax, 0x781e74
mov dword [ebp - 0x28], 0x781e74
xor ecx, ecx
nop word [eax + eax]
lea eax, [eax + 1]
inc ecx
cmp byte [eax], 0
jne 0x4ded70
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], ecx
push eax
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.004dd520
mov esi, eax
mov byte [ebp - 4], 1
mov ecx, edi
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004dd520
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
or ecx, 2
push ecx
push esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x20]
push eax
call fcn.004e6f50
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
mov dword [0x801dc8], eax
mov eax, dword [ebp - 0x10]
and eax, 0xfffffffd
mov dword [ebp - 0x10], eax
cmp ecx, 0x10
jb 0x4dee16
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4dee09
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4def3b
push ecx
push edx
call fcn.005be247
mov eax, dword [ebp - 0x10]
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x4dee79
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x4dee67
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4dee5d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4def3b
push ecx
push edx
call fcn.005be247
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi]
mov dword [0x7d7b6c], eax
test al, 1
jne 0x4dee9a
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x801de4]
test eax, eax
je 0x4deeb4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x801de4], 0
mov ecx, dword [0x801de0]
test ecx, ecx
jne 0x4deee9
push 0x18
call fcn.005be217
mov ecx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [0x801de0], ecx
xor eax, eax
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov edi, dword [esi + 4]
mov edx, edi
lea eax, [edx + 2]
mov dword [ebp - 0x20], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4deef4
sub edx, dword [ebp - 0x20]
sar edx, 1
push edx
push edi
call fcn.004a1c20
cmp dword [esi + 0xc], 0
jne 0x4def25
mov eax, dword [0x801de0]
cmp dword [eax + 0x14], 8
jb 0x4def1e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004deb50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.005c44be
int3