Function at 0x4e2f1c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4e2f24
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a1c
xor eax, eax
push ebp
push 0x4e32f1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov dl, 1
mov eax, dword [0x4eebd4]
call fcn.00403740
mov esi, eax
push 0xa
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.00404e38
mov eax, dword [ebp - 0x1c]
push eax
push esi
call fcn.0046d898
test al, al
je 0x4e328b
mov eax, edi
cdq
push edx
push eax
mov eax, esi
call fcn.00419600
lea edx, [ebp - 0x20]
mov eax, esi
call fcn.004ef424
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, 9
call fcn.004a94e4
mov edx, dword [ebp - 0x24]
pop eax
call fcn.00404978
jne 0x4e328b
mov dl, 1
mov eax, dword [0x4eebd4]
call fcn.00403740
jmp 0x4e325e
mov edx, dword [0x4e2ef0]
mov eax, 0x10
call fcn.0040571c
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.004ef424
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 4]
call fcn.00404e38
lea edx, [ebp - 0x2c]
mov eax, esi
call fcn.004ef424
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 8]
call fcn.004045d0
xor eax, eax
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, esi
call fcn.004195e0
mov eax, dword [ebx]
cmp eax, 1
je 0x4e302f
cmp eax, 0xa
je 0x4e302f
cmp eax, 0xf
jne 0x4e31d8
mov eax, dword [0x532fa4]
xor edx, edx
call fcn.00404f70
je 0x4e304d
mov eax, dword [0x532fa4]
call fcn.00404e48
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.004195e0
mov edi, eax
mov eax, dword [ebx]
cmp eax, 0xa
je 0x4e3071
cmp eax, 0xf
jne 0x4e309b
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.004ef650
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 4]
call fcn.00404cd4
mov eax, esi
call fcn.004195e0
sub eax, edi
sub dword [ebp - 8], eax
mov eax, esi
call fcn.004195e0
mov edi, eax
lea edx, [ebp - 0x18]
lea eax, [ebx + 4]
call fcn.004e2ea4
mov dl, 1
mov eax, dword [0x422324]
call fcn.0042a358
mov dword [ebx + 0xc], eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004e2e48
mov dl, 1
mov eax, dword [0x414de0]
call fcn.00403740
mov dword [ebp - 0x14], eax
cmp dword [ebx], 0xf
jge 0x4e3119
lea eax, [ebp - 0x34]
mov edx, dword [0x532f88]
call fcn.00404e38
push dword [ebp - 0x34]
push dword [ebx + 4]
push 0x4e3308
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404f28
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.0046d7e0
jmp 0x4e31c6
lea eax, [ebp - 0x38]
mov edx, dword [0x532f88]
call fcn.00404e38
push dword [ebp - 0x38]
push dword [ebx + 4]
push 0x4e3308
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404f28
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.0046d7e0
lea eax, [ebp - 0x3c]
mov edx, dword [0x532f84]
call fcn.00404e38
push dword [ebp - 0x3c]
push dword [ebx + 4]
push 0x4e3318
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404f28
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0xc]
call fcn.004047fc
mov eax, dword [ebp - 0x40]
mov edx, 0x20
call fcn.004097d4
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.00404e38
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
mov edx, dword [0x53b440]
call fcn.00404e38
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
pop edx
call fcn.004d2ab0
mov eax, dword [ebp - 0x14]
call fcn.00403770
mov eax, dword [ebx + 0xc]
call fcn.00403770
jmp 0x4e3242
cmp eax, 5
jne 0x4e322a
mov byte [0x532f7c], 1
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov eax, esi
call fcn.004195e0
mov edi, eax
mov dl, 1
mov eax, dword [0x47686c]
call fcn.00476b20
mov dword [ebx + 0xc], eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004e2e48
mov eax, dword [ebx + 0xc]
call fcn.004e2d00
mov eax, dword [ebx + 0xc]
call fcn.00403770
jmp 0x4e3242
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov eax, esi
call fcn.004195e0
mov edi, eax
mov eax, dword [ebp - 8]
add eax, edi
cdq
push edx
push eax
mov eax, esi
call fcn.00419600
mov edx, dword [0x4e2ef0]
mov eax, ebx
call fcn.00405730
mov eax, esi
call fcn.004195e0
push edx
push eax
mov eax, esi
call fcn.00419614
cmp edx, dword [esp + 4]
jne 0x4e3281
cmp eax, dword [esp]
pop edx
pop eax
ja 0x4e2fbf
jmp 0x4e3289
pop edx
pop eax
jg 0x4e2fbf
mov bl, 1
mov eax, esi
call fcn.00403770
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e32f8
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404cb0
lea eax, [ebp - 0x40]
call fcn.0040457c
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.00404cb0
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.004045a0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404cb0
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404cb0
lea eax, [ebp - 4]
call fcn.0040457c
ret