Function at 0x4e928c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x4e9295
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 0x29], cl
mov dword [ebp - 4], edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
call fcn.0040685c
mov eax, dword [ebp + 0x28]
call fcn.0040685c
mov eax, dword [ebp + 0x24]
call fcn.0040685c
mov eax, dword [ebp + 0x18]
call fcn.0040685c
mov eax, dword [ebp + 0x14]
call fcn.0040685c
mov eax, dword [ebp + 0xc]
call fcn.0040685c
xor eax, eax
push ebp
push 0x4e99c3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 0x20], 0
je 0x4e92ff
lea eax, [ebp - 8]
mov edx, 0x4e99e0
call fcn.004068c8
jmp 0x4e9309
lea eax, [ebp - 8]
xor edx, edx
call fcn.004068c8
cmp byte [ebp + 0x1c], 0
je 0x4e931e
lea eax, [ebp - 0xc]
mov edx, 0x4e99fc
call fcn.004068c8
jmp 0x4e9328
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004068c8
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x3ec]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x4e934c
lea eax, [ebp - 0x10]
mov edx, 0x4e9a18
call fcn.004068c8
jmp 0x4e9356
lea eax, [ebp - 0x10]
xor edx, edx
call fcn.004068c8
cmp dword [ebp + 0x14], 0
je 0x4e9376
push 0x4e9a38
push dword [ebp + 0x14]
push 0x4e9a54
lea eax, [ebp + 0x14]
mov edx, 3
call fcn.00406e3c
cmp dword [ebp + 0xc], 0
jne 0x4e93b3
lea eax, [ebp + 0xc]
mov edx, 0x4e9a64
call fcn.004068c8
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea edx, [ebp - 0x44]
xor ecx, ecx
mov eax, 0x4e9a90
call fcn.00412e3c
mov edx, dword [ebp - 0x3c]
lea eax, [ebp + 0xc]
call fcn.004068c8
jmp 0x4e93f5
mov eax, dword [ebp + 0xc]
call fcn.00411eb8
test al, al
je 0x4e93cd
mov eax, dword [ebp + 0xc]
call fcn.00406900
push eax
call sub.kernel32.dll_DeleteFileW
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea edx, [ebp - 0x44]
xor ecx, ecx
mov eax, 0x4e9a90
call fcn.00412e3c
mov edx, dword [ebp - 0x48]
lea eax, [ebp + 0xc]
call fcn.004068c8
mov dl, 1
mov eax, dword [0x427864]
call fcn.004331e0
mov dword [ebp - 0x30], eax
xor edx, edx
push ebp
push 0x4e995f
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [ebp + 0x10], 0
jne 0x4e94ac
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x468]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x4e9453
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x394]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x4e9453
mov edx, 0x4e9ab8
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x4e9ad8
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x4e9af8
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.004125f8
push dword [ebp - 0x50]
push 0x4e9b1c
push dword [ebp + 0x18]
push dword [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
lea eax, [ebp - 0x4c]
mov edx, 0xa
call fcn.00406e3c
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4e9b60
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4e962c
xor edx, edx
push ebp
push 0x4e95cc
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x6bc]
mov dl, 1
mov eax, dword [0x4de244]
call fcn.004de324
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x4e9503
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x14]
mov dl, 2
mov eax, dword [ebp - 0x34]
call fcn.004de6d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e950a
mov eax, dword [ebp - 0x34]
call fcn.00404da0
ret
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp + 8]
call fcn.0041126c
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x44]
cmp byte [ebp - 0x29], 0
je 0x4e9660
mov eax, dword [ebp - 0x28]
call fcn.004eb564
test al, al
jne 0x4e96e8
cmp byte [ebp + 0x2c], 0
jne 0x4e9673
lea eax, [ebp - 0x18]
mov edx, dword [ebp + 0x28]
call fcn.004068c8
jmp 0x4e96a4
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp - 0x28]
call fcn.004ea250
cmp al, 2
jne 0x4e9694
lea eax, [ebp - 0x18]
mov ecx, 0x4e9b8c
mov edx, dword [ebp + 0x28]
call fcn.00406d58
jmp 0x4e96a4
lea eax, [ebp - 0x18]
mov ecx, 0x4e9ba0
mov edx, dword [ebp + 0x28]
call fcn.00406d58
push 0x4e9bb4
movzx eax, byte [ebp + 0x2c]
mov edx, dword [0x4fa1c4]
push dword [edx + eax*4]
push 0x4e9bdc
push dword [ebp - 0x18]
push 0x4e9bf8
push dword [ebp + 0x24]
push 0x4e9a54
lea eax, [ebp - 0x64]
mov edx, 7
call fcn.00406e3c
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4e993e
cmp byte [ebp + 0x2c], 1
jne 0x4e97e6
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp - 0x28]
call fcn.004ea250
cmp al, 2
jne 0x4e97a2
push 0x4e9bb4
movzx ebx, byte [ebp + 0x2c]
mov eax, dword [0x4fa1c4]
push dword [eax + ebx*4]
push 0x4e9bdc
push dword [ebp + 0x28]
push 0x4e9c14
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.004e9c78
mov edx, dword [ebp - 0x70]
movzx ecx, byte [ebp + 0x10]
mov eax, dword [ebp - 0x28]
call fcn.004ea740
push dword [ebp - 0x6c]
push 0x4e9a54
lea eax, [ebp - 0x68]
mov edx, 7
call fcn.00406e3c
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x4e9bb4
mov eax, dword [0x4fa1c4]
push dword [eax + ebx*4]
push 0x4e9bdc
push dword [ebp + 0x28]
push 0x4e9c34
push dword [ebp + 0x24]
push 0x4e9a54
lea eax, [ebp - 0x74]
mov edx, 7
call fcn.00406e3c
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4e993e
push 0x4e9bb4
movzx eax, byte [ebp + 0x2c]
mov edx, dword [0x4fa1c4]
push dword [edx + eax*4]
push 0x4e9bdc
push dword [ebp + 0x28]
push 0x4e9c14
push dword [ebp + 0x24]
push 0x4e9a54
lea eax, [ebp - 0x78]
mov edx, 7
call fcn.00406e3c
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4e993e
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [ebp + 0x28]
mov eax, 0x4e9c54
call fcn.004072dc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp + 0x28]
call fcn.00406fc4
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x4e9824
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4e9824
lea eax, [ebp + 0x28]
mov edx, dword [ebp + 0x28]
call fcn.004061e8
mov ebx, eax
test ebx, ebx
je 0x4e982f
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x20]
push eax
mov edx, dword [ebp + 0x28]
mov eax, 0x4e9c54
call fcn.004072dc
mov edx, eax
inc edx
mov ecx, ebx
mov eax, dword [ebp + 0x28]
call fcn.00406fc4
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x7c]
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.004e9c78
mov edx, dword [ebp - 0x7c]
movzx ecx, byte [ebp + 0x10]
mov eax, dword [ebp - 0x28]
call fcn.004ea740
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4e988a
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4e988a
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x24]
call fcn.004061e8
mov ebx, eax
test ebx, ebx
je 0x4e9895
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x24]
push eax
mov edx, dword [ebp - 0x24]
mov eax, 0x4e9c54
call fcn.004072dc
mov edx, eax
inc edx
mov ecx, ebx
mov eax, dword [ebp - 0x24]
call fcn.00406fc4
lea eax, [ebp + 0x28]
push eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0x11
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0x11
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0x11
lea edx, [ebp - 0x94]
mov ecx, 2
mov eax, 0x4e9c64
call fcn.00412e3c
push 0x4e9bb4
movzx eax, byte [ebp + 0x2c]
mov edx, dword [0x4fa1c4]
push dword [edx + eax*4]
push 0x4e9bdc
push dword [ebp + 0x28]
push 0x4e9bf8
push dword [ebp + 0x24]
push 0x4e9a54
lea eax, [ebp - 0x98]
mov edx, 7
call fcn.00406e3c
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9966
mov eax, dword [ebp - 0x30]
call fcn.00404da0
ret