Function at 0x100f3920
Capabilities:
Delete file
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x400], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x404], eax
mov eax, dword [edi]
mov dword [ebp - 0x414], ebx
cmp dword [eax - 0xc], 0
je 0x100f3cc9
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x100f399d
lea ecx, [ebp - 0x3fc]
call fcn.100f2d80
lea eax, [ebp - 0x3fc]
mov ecx, ebx
push eax
push dword [esi]
call fcn.100f40e0
test eax, eax
je 0x100f399d
push dword [edi]
lea eax, [ebp - 0x3fc]
mov ecx, ebx
push eax
call fcn.100f47f0
test eax, eax
jne 0x100f39de
mov esi, dword [ebp - 0x404]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x100f39f6
lea ecx, [ebp - 0x3fc]
call fcn.100f2d80
lea eax, [ebp - 0x3fc]
mov ecx, ebx
push eax
push dword [esi]
call fcn.100f4450
test eax, eax
je 0x100f39f6
push dword [edi]
lea eax, [ebp - 0x3fc]
mov ecx, ebx
push eax
call fcn.100f47f0
test eax, eax
je 0x100f39f6
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x400]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x100f3cc9
push 0
push 0
push 3
push 0
push 7
push SysReAllocString
push eax
mov dword [ebp - 0x404], 0
call fcn.1006c160
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100f3cc9
push 0
push ebx
call fcn.100f2f10
mov esi, eax
mov dword [ebp - 0x408], eax
and esi, 0x80000003
jns 0x100f3a4f
dec esi
or esi, 0xfffffffc
inc esi
neg esi
cdq
push 0x1025c02a
sbb esi, esi
and edx, 3
add eax, edx
neg esi
sar eax, 2
xor ecx, ecx
add esi, eax
mov edx, 4
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101c85a0
add esp, 8
mov dword [ebp - 0x400], eax
test eax, eax
jne 0x100f3a95
push ebx
call fcn.1006c110
jmp 0x100f3cc9
lea ecx, [esi*4]
push ecx
push 0x20
push eax
mov dword [ebp - 0x410], ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x40c], 0
lea eax, [ebp - 0x40c]
push 0
push eax
push dword [ebp - 0x408]
push dword [ebp - 0x400]
push ebx
call fcn.100f2f60
test eax, eax
je 0x100f3cb5
mov eax, dword [ebp - 0x400]
test esi, esi
jle 0x100f3afe
jmp 0x100f3af0
xor dword [eax], 0x4f484951
lea eax, [eax + 4]
sub esi, 1
jne 0x100f3af0
push ebx
call fcn.1006c110
push dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call ebx
push 0
push 0
push 2
push 0
push 7
push 0x40000000
push dword [edi]
call fcn.1006c160
mov esi, eax
cmp esi, 0xffffffff
je 0x100f3b64
push 0
lea eax, [ebp - 0x408]
mov dword [ebp - 0x408], 0
push eax
push dword [ebp - 0x410]
push dword [ebp - 0x400]
push esi
call fcn.1006c1c0
test eax, eax
je 0x100f3b5e
mov dword [ebp - 0x404], 1
push esi
call fcn.1006c110
push dword [ebp - 0x400]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
add esp, 4
cmp dword [ebp - 0x404], 0
je 0x100f3cc9
lea ecx, [ebp - 0x3fc]
call fcn.100f2d80
push str.option
lea ecx, [ebp - 0x404]
call fcn.10002490
lea eax, [ebp - 0x404]
push eax
push edi
lea ecx, [ebp - 0x420]
call fcn.1014dce0
mov edx, dword [ebp - 0x404]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100f3bcb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push str.homePageProtect
lea ecx, [ebp - 0x420]
call fcn.1014dd90
movzx eax, al
mov dword [ebp - 0x3f8], eax
mov dword [ebp - 0x3f4], 0
test eax, eax
je 0x100f3c7b
push 0x10202940
push str.homepage
lea eax, [ebp - 0x400]
push eax
lea ecx, [ebp - 0x420]
call fcn.1014ddd0
mov eax, dword [ebp - 0x400]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x100f3c70
mov dword [ebp - 0x3f0], ecx
cmp ecx, 0x1f4
jb 0x100f3c3a
mov ecx, 0x1f3
mov dword [ebp - 0x3f0], ecx
cmp dword [eax - 4], 1
jle 0x100f3c5a
push dword [eax - 0xc]
lea ecx, [ebp - 0x400]
call fcn.10002c20
mov ecx, dword [ebp - 0x3f0]
mov eax, dword [ebp - 0x400]
push ecx
push eax
lea eax, [ebp - 0x3ec]
push 0x1f4
push eax
call fcn.101ef1c0
add esp, 0x10
lea ecx, [ebp - 0x400]
call fcn.10007e10
push dword [edi]
call ebx
push dword [edi]
mov ecx, dword [ebp - 0x414]
lea eax, [ebp - 0x3fc]
push eax
call fcn.100f47f0
lea ecx, [ebp - 0x420]
mov esi, eax
call fcn.1014dd10
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 0x10
push ebx
call fcn.1006c110
push dword [ebp - 0x400]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 0x10