Function at 0x4e2234
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4e223c
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 0x4e2609
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov dl, 1
mov eax, dword [0x4ed9f8]
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.0046d878
test al, al
je 0x4e25a3
mov eax, edi
cdq
push edx
push eax
mov eax, esi
call fcn.004195e0
lea edx, [ebp - 0x20]
mov eax, esi
call fcn.004ee188
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, 9
call fcn.004a94c4
mov edx, dword [ebp - 0x24]
pop eax
call fcn.00404958
jne 0x4e25a3
mov dl, 1
mov eax, dword [0x4ed9f8]
call fcn.00403720
jmp 0x4e2576
mov edx, dword [0x4e2208]
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.004ee188
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 4]
call fcn.00404e18
lea edx, [ebp - 0x2c]
mov eax, esi
call fcn.004ee188
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.004195c0
mov eax, dword [ebx]
cmp eax, 1
je 0x4e2347
cmp eax, 0xa
je 0x4e2347
cmp eax, 0xf
jne 0x4e24f0
mov eax, dword [0x531f9c]
xor edx, edx
call fcn.00404f50
je 0x4e2365
mov eax, dword [0x531f9c]
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.004195c0
mov edi, eax
mov eax, dword [ebx]
cmp eax, 0xa
je 0x4e2389
cmp eax, 0xf
jne 0x4e23b3
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.004ee3b4
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 4]
call fcn.00404cb4
mov eax, esi
call fcn.004195c0
sub eax, edi
sub dword [ebp - 8], eax
mov eax, esi
call fcn.004195c0
mov edi, eax
lea edx, [ebp - 0x18]
lea eax, [ebx + 4]
call fcn.004e21bc
mov dl, 1
mov eax, dword [0x422304]
call fcn.0042a338
mov dword [ebx + 0xc], eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004e2160
mov dl, 1
mov eax, dword [0x414dc0]
call fcn.00403720
mov dword [ebp - 0x14], eax
cmp dword [ebx], 0xf
jge 0x4e2431
lea eax, [ebp - 0x34]
mov edx, dword [0x531f80]
call fcn.00404e18
push dword [ebp - 0x34]
push dword [ebx + 4]
push 0x4e2620
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.0046d7c0
jmp 0x4e24de
lea eax, [ebp - 0x38]
mov edx, dword [0x531f80]
call fcn.00404e18
push dword [ebp - 0x38]
push dword [ebx + 4]
push 0x4e2620
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.0046d7c0
lea eax, [ebp - 0x3c]
mov edx, dword [0x531f7c]
call fcn.00404e18
push dword [ebp - 0x3c]
push dword [ebx + 4]
push 0x4e2630
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.004097b4
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 [0x53a428]
call fcn.00404e18
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
pop edx
call fcn.004d234c
mov eax, dword [ebp - 0x14]
call fcn.00403750
mov eax, dword [ebx + 0xc]
call fcn.00403750
jmp 0x4e255a
cmp eax, 5
jne 0x4e2542
mov byte [0x531f74], 1
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov eax, esi
call fcn.004195c0
mov edi, eax
mov dl, 1
mov eax, dword [0x47684c]
call fcn.00476b00
mov dword [ebx + 0xc], eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004e2160
mov eax, dword [ebx + 0xc]
call fcn.004e2018
mov eax, dword [ebx + 0xc]
call fcn.00403750
jmp 0x4e255a
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov eax, esi
call fcn.004195c0
mov edi, eax
mov eax, dword [ebp - 8]
add eax, edi
cdq
push edx
push eax
mov eax, esi
call fcn.004195e0
mov edx, dword [0x4e2208]
mov eax, ebx
call fcn.00405710
mov eax, esi
call fcn.004195c0
push edx
push eax
mov eax, esi
call fcn.004195f4
cmp edx, dword [esp + 4]
jne 0x4e2599
cmp eax, dword [esp]
pop edx
pop eax
ja 0x4e22d7
jmp 0x4e25a1
pop edx
pop eax
jg 0x4e22d7
mov bl, 1
mov eax, esi
call fcn.00403750
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2610
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