Function at 0x4b759c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1a
push 0
push 0
dec ecx
jne 0x4b75a5
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405ba0
mov eax, dword [ebp - 8]
call fcn.00405ba0
xor eax, eax
push ebp
push 0x4b7914
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [edi + 0x14], 0
lea eax, [ebp - 0xa9]
push eax
call fcn.0040b3c8
lea edx, [ebp - 0xb0]
lea eax, [ebp - 0xa9]
call fcn.0040b3e8
mov eax, dword [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb4]
call fcn.004b7530
mov edx, dword [ebp - 0xb4]
lea eax, [ebp - 0x10]
pop ecx
call fcn.00405f8c
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x4b7930
mov eax, dword [ebp - 4]
call fcn.004b6028
cmp al, 2
je 0x4b78e9
cmp al, 1
jne 0x4b7651
mov ecx, 0x4b7958
mov dl, 1
mov eax, dword [0x409e90]
call fcn.00411808
call fcn.004047ec
push 0x40
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x421bac]
call fcn.00427494
mov esi, eax
lea edx, [ebp - 0x99]
mov ecx, 0x10
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor ecx, ecx
xor edx, edx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x3c]
mov ecx, dword [ebp - 0x8d]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor ecx, ecx
mov edx, dword [ebp - 0x28]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x89]
mov ecx, 0x4d
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
jmp 0x4b78c6
xor ecx, ecx
mov edx, dword [ebp - 0x48]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x14]
movzx eax, byte [ebp - 0x49]
sub al, 1
jb 0x4b76df
je 0x4b77e5
dec al
je 0x4b7847
dec al
je 0x4b7759
jmp 0x4b78a8
mov dl, 1
mov eax, dword [0x421cc8]
call fcn.00403dc8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x44]
xor edx, edx
push edx
push eax
mov edx, esi
mov eax, dword [ebp - 0x14]
call fcn.0042727c
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov dl, 1
mov eax, dword [0x432660]
call fcn.004396c4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
lea eax, [ebp - 0xb8]
lea edx, [ebp - 0x89]
mov ecx, 0x40
call fcn.00405da0
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edi + 4]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
call fcn.00403df8
jmp 0x4b78a8
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x44]
call fcn.00405e74
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4b778a
mov eax, dword [ebp - 0x24]
sub eax, 0xa
cmp word [eax], 2
je 0x4b778a
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00405194
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xc]
call fcn.004064d8
mov edx, eax
mov ecx, dword [ebp - 0x44]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0xc0]
lea edx, [ebp - 0x89]
mov ecx, 0x40
call fcn.00405da0
push dword [ebp - 0xc0]
push 0x4b7998
push dword [ebp - 0xc]
lea eax, [ebp - 0xbc]
mov edx, 3
call fcn.0040605c
mov edx, dword [ebp - 0xbc]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4b78a8
lea edx, [ebp - 0x1c]
mov ecx, dword [ebp - 0x44]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0xc8]
lea edx, [ebp - 0x89]
mov ecx, 0x40
call fcn.00405da0
push dword [ebp - 0xc8]
push 0x4b7998
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 0x1c]
call fcn.0040c1dc
push dword [ebp - 0xcc]
lea eax, [ebp - 0xc4]
mov edx, 3
call fcn.0040605c
mov edx, dword [ebp - 0xc4]
mov eax, dword [edi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4b78a8
lea edx, [ebp - 0x1d]
mov ecx, dword [ebp - 0x44]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0xd4]
lea edx, [ebp - 0x89]
mov ecx, 0x40
call fcn.00405da0
push dword [ebp - 0xd4]
push 0x4b7998
lea edx, [ebp - 0xd8]
movzx eax, byte [ebp - 0x1d]
call fcn.0040c1dc
push dword [ebp - 0xd8]
lea eax, [ebp - 0xd0]
mov edx, 3
call fcn.0040605c
mov edx, dword [ebp - 0xd0]
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor ecx, ecx
mov edx, dword [ebp - 0x40]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x89]
mov ecx, 0x4d
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x40], 0
jne 0x4b76b4
mov eax, esi
call fcn.00403df8
mov eax, dword [ebp - 0x10]
call fcn.00405c44
push eax
call sub.kernel32.dll_DeleteFileW
mov byte [edi + 0x14], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b791b
lea eax, [ebp - 0xd8]
mov edx, 0xb
call fcn.00405bb0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405bb0
ret