Function at 0x4a684c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x4a6854
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4a6d32
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x4a6d50
call fcn.00404fc4
lea eax, [ebp - 4]
call fcn.004a682c
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004a6060
call fcn.004033ec
lea eax, [ebp - 0x14]
mov ecx, 0x4a6db0
mov edx, dword [ebp - 4]
call fcn.00405388
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00405e2c
lea eax, [ebp - 0x10]
push eax
mov eax, 0x186a0
call fcn.00403414
lea edx, [ebp - 0x18]
call fcn.0040b9c4
mov edx, dword [ebp - 0x18]
pop eax
call fcn.00406024
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.00405e54
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
call fcn.00405e2c
mov edx, dword [ebp - 0x20]
mov cl, 1
mov eax, ebx
call fcn.004a6280
mov edx, dword [ebp - 0x1c]
mov eax, 0x4b88ac
call fcn.00405e2c
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x4a6dc0
mov edx, 0x4a6dd8
mov eax, ebx
call fcn.004a6644
cmp dword [ebp - 0x24], 0
jne 0x4a69e7
lea eax, [ebp - 4]
mov edx, 0x4a6dec
call fcn.00404fc4
lea eax, [ebp - 4]
call fcn.004a682c
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004a6060
lea eax, [ebp - 0x2c]
mov ecx, 0x4a6db0
mov edx, dword [ebp - 4]
call fcn.00405388
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
call fcn.00405e2c
lea eax, [ebp - 0x28]
push eax
mov eax, 0x186a0
call fcn.00403414
lea edx, [ebp - 0x30]
call fcn.0040b9c4
mov edx, dword [ebp - 0x30]
pop eax
call fcn.00406024
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.00405e54
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 4]
call fcn.00405e2c
mov edx, dword [ebp - 0x38]
mov cl, 1
mov eax, ebx
call fcn.004a6280
mov edx, dword [ebp - 0x34]
mov eax, 0x4b88ac
call fcn.00405e2c
push 0
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x4a6dc0
mov edx, 0x4a6dd8
mov eax, ebx
call fcn.004a6644
cmp dword [ebp - 0x3c], 0
jne 0x4a69e7
mov edx, 0x4a6e4c
mov eax, ebx
call fcn.004a9058
push 0
call sub.kernel32.dll_ExitProcess_1
movzx eax, byte [0x4a6e60]
push eax
lea eax, [ebp - 0x40]
push eax
push 0
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x4a6e70
mov edx, 0x4a6e88
mov eax, ebx
call fcn.004a6644
mov eax, dword [ebp - 0x44]
mov ecx, 0x4a6ea0
mov edx, 0x4a6eb0
call fcn.00412288
mov edx, dword [ebp - 0x40]
mov eax, dword [ebx + 0x3bc]
call fcn.004506a4
push 0
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x4a6ec0
mov edx, 0x4a6ed8
mov eax, ebx
call fcn.004a6644
mov edx, dword [ebp - 0x48]
mov eax, 0x4b8894
call fcn.00405c40
push 0x4a6ef0
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x4a6dc0
mov edx, 0x4a6dd8
mov eax, dword [0x4b8868]
call fcn.004a6644
mov eax, dword [ebp - 0x4c]
call fcn.0040bc20
cmp eax, 6
jl 0x4a6a7d
mov eax, 6
mov esi, eax
test esi, esi
jle 0x4a6af6
mov edi, 1
push 0
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x54]
mov eax, edi
call fcn.0040b9c4
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 0x4a6f00
call fcn.004060e4
mov ecx, dword [ebp - 0x50]
mov edx, 0x4a6f14
mov eax, ebx
call fcn.004a6644
lea eax, [ebp - 0x5c]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x4a6f28
call fcn.004066d4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004063bc
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov ecx, 0
call fcn.00405e54
mov edx, dword [ebp - 0x58]
mov eax, ebx
call fcn.004a7354
inc edi
dec esi
jne 0x4a6a88
push 0x4a6ef0
lea eax, [ebp - 0x60]
push eax
mov ecx, 0x4a6f38
mov edx, 0x4a6f54
mov eax, ebx
call fcn.004a6644
mov eax, dword [ebp - 0x60]
call fcn.0040bc20
mov byte [0x4b8890], al
push 0x4a6f68
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x4a6f88
mov edx, 0x4a6f9c
mov eax, ebx
call fcn.004a6644
mov edx, dword [ebp - 0x64]
mov eax, 0x4b88b0
call fcn.00405c40
lea eax, [ebp - 0x68]
mov ecx, dword [0x4b88b0]
mov edx, dword [0x4b8898]
call fcn.004060e4
mov eax, dword [ebp - 0x68]
push eax
mov ecx, 0x4a6fb4
mov edx, 0x4a6fc8
mov eax, ebx
call fcn.004a61d0
lea eax, [ebp - 0x6c]
mov ecx, 0x4a6fdc
mov edx, dword [0x4b8898]
call fcn.004060e4
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, 0x4a7028
mov edx, 0x4a6fc8
mov eax, ebx
call fcn.004a61d0
lea eax, [ebp - 0x70]
mov ecx, 0x4a7040
mov edx, dword [0x4b8898]
call fcn.004060e4
mov eax, dword [ebp - 0x70]
push eax
mov ecx, 0x4a708c
mov edx, 0x4a6fc8
mov eax, ebx
call fcn.004a61d0
lea eax, [ebp - 0x74]
mov ecx, 0x4a70a4
mov edx, dword [0x4b8898]
call fcn.004060e4
mov eax, dword [ebp - 0x74]
call fcn.004a5fb4
lea eax, [ebp - 0x78]
mov ecx, 0x4a70ec
mov edx, dword [0x4b8898]
call fcn.004060e4
mov eax, dword [ebp - 0x78]
call fcn.004a5fb4
push 0
lea eax, [ebp - 0x7c]
push eax
mov ecx, 0x4a7140
mov edx, 0x4a7154
mov eax, ebx
call fcn.004a6644
mov eax, dword [ebp - 0x7c]
mov edx, dword [0x4b2170]
mov edx, dword [edx]
call fcn.004063b4
je 0x4a6caa
push 0
lea eax, [ebp - 0x80]
push eax
mov ecx, 0x4a7140
mov edx, 0x4a7154
mov eax, ebx
call fcn.004a6644
mov edx, dword [ebp - 0x80]
mov ecx, 0x4a716c
mov eax, ebx
call fcn.004a7170
mov ebx, eax
jmp 0x4a6c9f
lea ecx, [ebp - 0x88]
xor edx, edx
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
mov edx, dword [0x4b8898]
call fcn.004060e4
mov esi, dword [ebp - 0x84]
mov dword [ebp - 0x8c], esi
mov eax, dword [ebp - 0x8c]
call fcn.00405ccc
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
xor edx, edx
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jg 0x4a6c4a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6d3c
lea eax, [ebp - 0x88]
mov edx, 0xc
call fcn.00405c38
lea eax, [ebp - 0x58]
call fcn.00404f14
lea eax, [ebp - 0x54]
mov edx, 8
call fcn.00405c38
lea eax, [ebp - 0x34]
call fcn.00404f14
lea eax, [ebp - 0x30]
call fcn.00405c30
lea eax, [ebp - 0x2c]
call fcn.00404f14
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00405c38
lea eax, [ebp - 0x1c]
call fcn.00404f14
lea eax, [ebp - 0x18]
call fcn.00405c30
lea eax, [ebp - 0x14]
call fcn.00404f14
lea eax, [ebp - 0x10]
call fcn.00405c30
lea eax, [ebp - 8]
call fcn.00405c30
lea eax, [ebp - 4]
call fcn.00404f14
ret