Function at 0x4e051c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4e0524
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049fc
xor eax, eax
push ebp
push 0x4e08f1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov dl, 1
mov eax, dword [0x4e8fb4]
call fcn.00403720
mov esi, eax
push 0xa
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.00404e18
mov eax, dword [ebp - 0x1c]
push eax
push esi
call fcn.0046c5e4
test al, al
je 0x4e088b
mov eax, edi
cdq
push edx
push eax
mov eax, esi
call fcn.004195b4
lea edx, [ebp - 0x20]
mov eax, esi
call fcn.004e9744
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, 9
call fcn.004a8230
mov edx, dword [ebp - 0x24]
pop eax
call fcn.00404958
jne 0x4e088b
mov dl, 1
mov eax, dword [0x4e8fb4]
call fcn.00403720
jmp 0x4e085e
mov edx, dword [0x4e04f0]
mov eax, 0x10
call fcn.004056fc
mov ebx, eax
mov edx, ebx
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebp - 0x28]
mov eax, esi
call fcn.004e9744
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 4]
call fcn.00404e18
lea edx, [ebp - 0x2c]
mov eax, esi
call fcn.004e9744
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 8]
call fcn.004045b0
xor eax, eax
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, esi
call fcn.00419594
mov eax, dword [ebx]
cmp eax, 1
je 0x4e062f
cmp eax, 0xa
je 0x4e062f
cmp eax, 0xf
jne 0x4e07d8
mov eax, dword [0x52ff88]
xor edx, edx
call fcn.00404f50
je 0x4e064d
mov eax, dword [0x52ff88]
call fcn.00404e28
push eax
call sub.kernel32.dll_DeleteFileW
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov eax, esi
call fcn.00419594
mov edi, eax
mov eax, dword [ebx]
cmp eax, 0xa
je 0x4e0671
cmp eax, 0xf
jne 0x4e069b
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.004e9970
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 4]
call fcn.00404cb4
mov eax, esi
call fcn.00419594
sub eax, edi
sub dword [ebp - 8], eax
mov eax, esi
call fcn.00419594
mov edi, eax
lea edx, [ebp - 0x18]
lea eax, [ebx + 4]
call fcn.004e04a4
mov dl, 1
mov eax, dword [0x4222d8]
call fcn.0042a2d4
mov dword [ebx + 0xc], eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004e0448
mov dl, 1
mov eax, dword [0x414d94]
call fcn.00403720
mov dword [ebp - 0x14], eax
cmp dword [ebx], 0xf
jge 0x4e0719
lea eax, [ebp - 0x34]
mov edx, dword [0x52ff6c]
call fcn.00404e18
push dword [ebp - 0x34]
push dword [ebx + 4]
push 0x4e0908
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404f08
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.0046c52c
jmp 0x4e07c6
lea eax, [ebp - 0x38]
mov edx, dword [0x52ff6c]
call fcn.00404e18
push dword [ebp - 0x38]
push dword [ebx + 4]
push 0x4e0908
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404f08
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.0046c52c
lea eax, [ebp - 0x3c]
mov edx, dword [0x52ff68]
call fcn.00404e18
push dword [ebp - 0x3c]
push dword [ebx + 4]
push 0x4e0918
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404f08
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0xc]
call fcn.004047dc
mov eax, dword [ebp - 0x40]
mov edx, 0x20
call fcn.004097ac
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x44]
mov edx, dword [ebx + 8]
call fcn.00404e18
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
mov edx, dword [0x538408]
call fcn.00404e18
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
pop edx
call fcn.004d1340
mov eax, dword [ebp - 0x14]
call fcn.00403750
mov eax, dword [ebx + 0xc]
call fcn.00403750
jmp 0x4e0842
cmp eax, 5
jne 0x4e082a
mov byte [0x52ff60], 1
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov eax, esi
call fcn.00419594
mov edi, eax
mov dl, 1
mov eax, dword [0x474298]
call fcn.0047454c
mov dword [ebx + 0xc], eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004e0448
mov eax, dword [ebx + 0xc]
call fcn.004e0300
mov eax, dword [ebx + 0xc]
call fcn.00403750
jmp 0x4e0842
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov eax, esi
call fcn.00419594
mov edi, eax
mov eax, dword [ebp - 8]
add eax, edi
cdq
push edx
push eax
mov eax, esi
call fcn.004195b4
mov edx, dword [0x4e04f0]
mov eax, ebx
call fcn.00405710
mov eax, esi
call fcn.00419594
push edx
push eax
mov eax, esi
call fcn.004195c8
cmp edx, dword [esp + 4]
jne 0x4e0881
cmp eax, dword [esp]
pop edx
pop eax
ja 0x4e05bf
jmp 0x4e0889
pop edx
pop eax
jg 0x4e05bf
mov bl, 1
mov eax, esi
call fcn.00403750
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e08f8
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404c90
lea eax, [ebp - 0x40]
call fcn.0040455c
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.00404c90
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00404580
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404c90
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404c90
lea eax, [ebp - 4]
call fcn.0040455c
ret