Function at 0x1004a24f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0x18], 0xa6318529
xor edi, edi
mov dword [ebp - 0x14], 0x39beb064
inc edi
mov dword [ebp - 8], edi
mov ebx, edx
mov dword [ebp - 0x20], 0xfffffffe
mov esi, ecx
mov dword [ebp - 0x20], 0x3e80
cmp dword [ebp - 0x20], 0x4130
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esi
jle 0x1004a31f
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor edi, edi
xor esi, esi
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [ebp - 0xc], 0x4e4e
mov dword [ebp - 0x10], ebx
mov esi, ebx
mov ebx, 0x72f2
mov ecx, esi
mov eax, edi
sar eax, cl
lea ecx, [ebp - 0x60]
cdq
push edx
push eax
call fcn.1000a20e
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1004a2d4
mov eax, dword [eax]
push eax
call fcn.10050d73
pop ecx
push 0
push 1
lea ecx, [ebp - 0x60]
call fcn.10016de1
dec esi
dec ebx
jne 0x1004a2b9
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
add ebx, esi
dec dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
jne 0x1004a2b2
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x1e40
jl 0x1004a2a6
inc edi
cmp edi, 0x1fcf
jl 0x1004a2a1
call dword [sym.imp.USER32.dll_DestroyCaret]
mov ebx, dword [ebp - 0x24]
xor edi, edi
mov esi, dword [ebp - 0x28]
inc edi
push 0xfffffffffffffff7
pop eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x20], 0x3d72
jge 0x1004a342
push 0x10008bfc
call fcn.10050d73
pop ecx
push 2
mov dword [ebp - 0xc], 0
pop ecx
jmp 0x1004a35c
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x30], 0xe1265ab3
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ecx
jl 0x1004a34e
mov dword [ebp - 0xc], 0
jmp 0x1004a378
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x38], 0xffffffff
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ecx
jl 0x1004a36a
dec dword [ebp - 8]
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x18], eax
jg 0x1004a3cf
mov eax, dword [ebp - 0x30]
neg eax
sbb eax, eax
xor edx, edx
neg eax
imul ecx, eax, 0xdfd
mov eax, dword [ebp - 0x18]
cmp ecx, eax
setge dl
cmp edx, dword [ebp - 0x14]
jge 0x1004a3b0
cmp dword [ebp - 0x14], 0
jne 0x1004a3b0
xor eax, eax
jmp 0x1004a3b2
mov eax, edi
mov ecx, dword [ebp - 8]
xor edx, edx
add ecx, eax
mov eax, dword [ebp - 8]
cmp ecx, eax
setge dl
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 8]
sub edx, eax
jne 0x1004a3cf
xor ecx, ecx
jmp 0x1004a3d1
mov ecx, edi
mov eax, dword [ebp - 8]
xor eax, eax
test ecx, ecx
setle al
sub eax, dword [ebp - 8]
neg eax
sbb eax, eax
inc eax
cmp eax, 0xb379
jge 0x1004a4cf
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], 0x82e70d5d
mov dword [ebp - 8], 0x12
jmp 0x1004a4b4
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0x8a4122e7
cmp dword [ebp - 0x14], 0
jne 0x1004a417
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp eax, ecx
mov eax, dword [ebp - 0x30]
setge dl
sub edx, eax
mov eax, dword [ebp - 0x14]
add eax, edx
cmp eax, dword [ebp - 0x14]
jne 0x1004a440
cmp dword [ebp - 0xc], 0
je 0x1004a440
mov eax, edi
jmp 0x1004a442
xor eax, eax
mov dword [ebp - 0x14], eax
xor edx, edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
setl dl
sub edx, dword [ebp - 0xc]
sub edx, 0x4060
jne 0x1004a466
cmp dword [ebp - 0xc], edx
jne 0x1004a466
xor eax, eax
jmp 0x1004a468
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], 0xb2cfb115
mov dword [ebp - 0x10], 0
jmp 0x1004a4ab
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 0
je 0x1004a4a2
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xfffffff5
jle 0x1004a490
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x18
jne 0x1004a404
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
jmp 0x1004a54c
mov dword [ebp - 0x20], 0xfffffff6
mov dword [ebp - 0x28], 0x2f47d66
mov dword [ebp - 8], 0
jmp 0x1004a547
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0x30], 0xfffffff9
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x38]
test eax, eax
mov eax, 0xfc39fa23
sete cl
cmp eax, ecx
sbb edx, edx
neg edx
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
mov eax, dword [ebp + eax*4 - 0x38]
cmp eax, edx
mov eax, dword [ebp - 0x40]
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x20]
setge dl
xor ecx, ecx
cmp edx, eax
sete cl
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x30], 0
jne 0x1004a54c
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jle 0x1004a4e6
push ebx
push esi
call fcn.10030e6a
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret