Function at 0x10001eb0
Capabilities:
Check for time delay via gettickcount
Delete file
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1011e407
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
mov ebx, dword [esp + 0xc8]
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0x14], edi
mov dword [ebx], ebp
call esi
mov ecx, dword [0x1015d3fc]
cmp ecx, ebp
je 0x10001f03
cmp ecx, eax
ja 0x10001f03
sub eax, ecx
cmp eax, 0xea60
jbe 0x100022e5
lea eax, [edi + 0x24]
push 1
push eax
lea ecx, [esp + 0x40]
call fcn.1003b350
mov dword [esp + 0xcc], ebp
call esi
mov ecx, eax
mov eax, dword [0x1015d3fc]
cmp eax, ebp
mov dword [esp + 0x28], ecx
je 0x10001f3c
cmp eax, ecx
ja 0x10001f3c
sub ecx, eax
cmp ecx, 0xea60
jbe 0x100022d1
mov dword [edi + 0x20], ebp
mov ecx, dword [0x101267d4]
mov dword [esp + 0x10], ecx
mov eax, dword [edi + 0x48]
mov esi, 1
cmp eax, esi
mov byte [esp + 0xcc], 1
jb 0x10002263
cmp eax, 4
ja 0x10002263
cmp eax, 2
je 0x10001f76
cmp eax, 4
je 0x10001f76
xor esi, esi
cmp eax, 3
je 0x10001f88
cmp eax, 4
mov dword [esp + 0x24], 1
jne 0x10001f8c
mov dword [esp + 0x24], ebp
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call fcn.10002310
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebp
push 0x80
push 1
push ebp
push ebp
push 0xc0000000
push eax
call ebx
mov ebp, eax
cmp ebp, 0xffffffff
je 0x1000218e
xor eax, eax
mov ecx, 0x1f
neg esi
lea edi, [esp + 0x48]
mov byte [esp + 0x44], 0x12
mov byte [esp + 0x45], 0x34
mov byte [esp + 0x46], 0xab
mov byte [esp + 0x47], 0xcd
sbb esi, esi
rep stosd dword es:[edi], eax
mov eax, dword [0x1016f218]
mov ecx, dword [esp + 0x28]
and esi, 0x78
xor edi, edi
add esi, 8
cmp eax, edi
mov dword [esp + 0x48], ecx
je 0x1000204b
lea edx, [esp + 0x44]
push esi
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.10074160
add esp, 0xc
mov ecx, dword [eax]
mov edx, dword [esp + 0x10]
push ecx
push esi
push edx
push str.CSDDecryptMgr::VerifyDecrypt___s__Write__lu____s_
push str.SDTransform
push 0xffffffffffffffff
push 0x1016e984
mov byte [esp + 0xe8], 2
call fcn.100602c0
add esp, 0x1c
lea ecx, [esp + 0x18]
mov byte [esp + 0xcc], 1
call fcn.1002d0b0
lea eax, [esp + 0x2c]
push edi
push eax
lea ecx, [esp + 0x4c]
push esi
push ecx
push ebp
mov dword [esp + 0x40], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100021c7
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x10]
push edi
push 0x80
push 3
push edi
push 7
push closesocket
push edx
call ebx
mov ebp, eax
cmp ebp, 0xffffffff
je 0x100021fb
xor eax, eax
lea ecx, [esp + 0x30]
push edi
mov dword [esp + 0x21], eax
push ecx
lea edx, [esp + 0x24]
push 8
mov word [esp + 0x2d], ax
push edx
push ebp
mov dword [esp + 0x44], edi
mov byte [esp + 0x30], 0
mov byte [esp + 0x37], al
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000222f
mov ecx, 2
lea edi, [esp + 0x1c]
lea esi, [esp + 0x44]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
mov ecx, dword [esp + 0x14]
sete al
test eax, eax
mov dword [ecx + 0x20], eax
jne 0x1000216b
mov eax, dword [0x1016f218]
test eax, eax
je 0x1000216b
lea edx, [esp + 0x1c]
push 8
lea eax, [esp + 0x38]
push edx
push eax
call fcn.10074160
mov esi, eax
lea ecx, [esp + 0x50]
push 8
lea edx, [esp + 0x28]
push ecx
push edx
mov byte [esp + 0xe4], 3
call fcn.10074160
add esp, 0x18
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
push str.CSDDecryptMgr::VerifyDecrypt_x6_write__s__read__s_
push str.SDTransform
push 0xffffffffffffffff
push 0x1016e984
mov byte [esp + 0xe4], 4
call fcn.100602c0
add esp, 0x18
lea ecx, [esp + 0x18]
mov byte [esp + 0xcc], 3
call fcn.1002d0b0
lea ecx, [esp + 0x34]
mov byte [esp + 0xcc], 1
call fcn.1002d0b0
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1000228b
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x100022b2
mov eax, dword [0x1016f218]
test eax, eax
je 0x100021b5
mov eax, dword [esp + 0x10]
push eax
push str.CSDDecryptMgr::VerifyDecrypt_x1_Create_fail___s_
push str.SDTransform
push 0xffffffffffffffff
push 0x1016e984
call fcn.100602c0
add esp, 0x14
mov ecx, dword [esp + 0xd4]
mov dword [ecx], 0
jmp 0x100022b6
cmp dword [0x1016f218], edi
je 0x100021ed
mov edx, dword [esp + 0x10]
push edx
push str.CSDDecryptMgr::VerifyDecrypt_x2_write_fail___s_
push str.SDTransform
push 0xffffffffffffffff
push 0x1016e984
call fcn.100602c0
add esp, 0x14
mov eax, dword [esp + 0xd4]
mov dword [eax], edi
jmp 0x1000216b
cmp dword [0x1016f218], edi
je 0x10002221
mov ecx, dword [esp + 0x10]
push ecx
push str.CSDDecryptMgr::VerifyDecrypt_x3_Open_fail___s_
push str.SDTransform
push 0xffffffffffffffff
push 0x1016e984
call fcn.100602c0
add esp, 0x14
mov edx, dword [esp + 0xd4]
mov dword [edx], edi
jmp 0x10002172
cmp dword [0x1016f218], edi
je 0x10002255
mov eax, dword [esp + 0x10]
push eax
push str.CSDDecryptMgr::VerifyDecrypt_x4_read_fail___s_
push str.SDTransform
push 0xffffffffffffffff
push 0x1016e984
call fcn.100602c0
add esp, 0x14
mov ecx, dword [esp + 0xd4]
mov dword [ecx], edi
jmp 0x1000216b
cmp dword [0x1016f218], ebp
je 0x10002284
push str.CSDDecryptMgr::VerifyDecrypt_Disable
push str.SDTransform
push 0xffffffffffffffff
push 0x1016e984
call fcn.100602c0
add esp, 0x10
mov dword [ebx], ebp
mov dword [edi + 0x20], esi
jmp 0x100022b6
mov eax, dword [0x1016f218]
test eax, eax
je 0x100022b2
mov eax, dword [esp + 0x10]
push eax
push str.CSDDecryptMgr::VerifyDecrypt_x7_NOT_del___s_
push str.SDTransform
push 0xffffffffffffffff
push 0x1016e984
call fcn.100602c0
add esp, 0x14
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov byte [esp + 0xcc], 0
mov dword [0x1015d3fc], ecx
lea ecx, [esp + 0x10]
call fcn.1002d0b0
lea ecx, [esp + 0x38]
mov dword [esp + 0xcc], 0xffffffff
call fcn.1003b3b0
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc0
ret 4