Function at 0x4b0c3c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x4b0c45
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.00405194
mov eax, dword [ebp - 8]
call fcn.00405194
xor eax, eax
push ebp
push 0x4b0f8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [edi + 0x14], 0
lea eax, [ebp - 0xa2]
push eax
call fcn.00408f88
lea edx, [ebp - 0xa8]
lea eax, [ebp - 0xa2]
call fcn.00408fa8
mov eax, dword [ebp - 0xa8]
push eax
lea eax, [ebp - 0xac]
call fcn.004b0bd4
mov edx, dword [ebp - 0xac]
lea eax, [ebp - 0x10]
pop ecx
call fcn.0040502c
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x4b0fa4
mov eax, dword [ebp - 4]
call fcn.004af740
cmp al, 2
je 0x4b0f63
cmp al, 1
jne 0x4b0cf1
mov ecx, 0x4b0fbc
mov dl, 1
mov eax, dword [0x40823c]
call fcn.0040dc54
call fcn.00404688
push 0x40
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x41ab48]
call fcn.0041fd4c
mov esi, eax
lea edx, [ebp - 0x92]
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 - 0x35]
mov ecx, dword [ebp - 0x86]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor ecx, ecx
mov edx, dword [ebp - 0x21]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x82]
mov ecx, 0x4d
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
jmp 0x4b0f40
xor ecx, ecx
mov edx, dword [ebp - 0x41]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x14]
movzx eax, byte [ebp - 0x42]
sub al, 1
jb 0x4b0d7f
je 0x4b0e5f
dec al
je 0x4b0ec1
dec al
je 0x4b0df9
jmp 0x4b0f22
mov dl, 1
mov eax, dword [0x41ac4c]
call fcn.00403de4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3d]
xor edx, edx
push edx
push eax
mov edx, esi
mov eax, dword [ebp - 0x14]
call fcn.0041fb34
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 [0x428c04]
call fcn.0042ee7c
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x54]
lea eax, [ebp - 0xb0]
lea edx, [ebp - 0x82]
mov ecx, 0x40
call fcn.00404f84
mov edx, dword [ebp - 0xb0]
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.00403e14
jmp 0x4b0f22
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x3d]
call fcn.00405434
lea eax, [ebp - 0xc]
call fcn.00405204
mov edx, eax
mov ecx, dword [ebp - 0x3d]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0xb8]
lea edx, [ebp - 0x82]
mov ecx, 0x40
call fcn.00404f84
push dword [ebp - 0xb8]
push 0x4b0fe0
push dword [ebp - 0xc]
lea eax, [ebp - 0xb4]
mov edx, 3
call fcn.004050a8
mov edx, dword [ebp - 0xb4]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4b0f22
lea edx, [ebp - 0x1c]
mov ecx, dword [ebp - 0x3d]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0xc0]
lea edx, [ebp - 0x82]
mov ecx, 0x40
call fcn.00404f84
push dword [ebp - 0xc0]
push 0x4b0fe0
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 0x1c]
call fcn.004097fc
push dword [ebp - 0xc4]
lea eax, [ebp - 0xbc]
mov edx, 3
call fcn.004050a8
mov edx, dword [ebp - 0xbc]
mov eax, dword [edi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4b0f22
lea edx, [ebp - 0x1d]
mov ecx, dword [ebp - 0x3d]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0xcc]
lea edx, [ebp - 0x82]
mov ecx, 0x40
call fcn.00404f84
push dword [ebp - 0xcc]
push 0x4b0fe0
lea edx, [ebp - 0xd0]
movzx eax, byte [ebp - 0x1d]
call fcn.004097fc
push dword [ebp - 0xd0]
lea eax, [ebp - 0xc8]
mov edx, 3
call fcn.004050a8
mov edx, dword [ebp - 0xc8]
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor ecx, ecx
mov edx, dword [ebp - 0x39]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x82]
mov ecx, 0x4d
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x39], 0
jne 0x4b0d54
mov eax, esi
call fcn.00403e14
mov eax, dword [ebp - 0x10]
call fcn.004051a4
push eax
call sub.kernel32.dll_DeleteFileA
mov byte [edi + 0x14], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0f95
lea eax, [ebp - 0xd0]
mov edx, 0xb
call fcn.00404d38
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404d38
ret