Function at 0x10001b10
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x49c
mov eax, dword [0x10015018]
xor eax, esp
mov dword [esp + 0x498], eax
push ebx
push esi
push edi
lea esi, [esp + 0xa0]
call section..text
mov edi, dword [0x100193f4]
cmp edi, dword [0x100193f8]
je 0x10001d3f
mov ebx, dword [sym.imp.MSVCR100.dll_fopen_s]
push 0x100128c8
lea eax, [esp + 0x18]
push edi
push eax
call ebx
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x10001d54
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
lea ecx, [esp + 0xa0]
push ecx
lea esi, [esp + 0x10]
mov eax, edi
call fcn.10001140
test al, al
je 0x10001bc1
mov edx, dword [edi + 0x104]
cmp edx, dword [esp + 0xc]
jne 0x10001c93
add edi, 0x108
cmp edi, dword [0x100193f8]
jne 0x10001b51
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x498]
xor ecx, esp
call fcn.1000ce99
mov esp, ebp
pop ebp
ret
cmp dword [0x1001e9fc], 0
jne 0x10001d3f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.MSVCR100.dll_rand]
mov dword [0x1001e9fc], eax
mov word [esp + 0xc], 0x5c1
call esi
and eax, 0x800000ff
jns 0x10001bf6
dec eax
or eax, 0xffffff00
inc eax
cmp dword [0x10015284], 0xffffffff
mov byte [esp + 0xe], al
mov bl, 3
mov word [esp + 0xf], 0x3d2
je 0x10001c15
cmp byte [0x100192b8], 0
jne 0x10001c33
lea eax, [esp + 0xc]
call fcn.10002d40
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x498]
xor ecx, esp
call fcn.1000ce99
mov esp, ebp
pop ebp
ret
mov word [esp + 0x18], 0x85c1
call esi
and eax, 0x800000ff
jns 0x10001c4a
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], 0xd2
mov byte [esp + 0x1c], bl
test edi, edi
jne 0x10001c78
push 0x40
lea eax, [esp + 0x21]
push edi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x40
push edi
lea ecx, [esp + 0x65]
push ecx
jmp 0x10001d29
mov esi, edi
mov ecx, 0x10
lea edi, [esp + 0x1d]
push 0x40
rep movsd dword es:[edi], dword [esi]
push 0
lea ecx, [esp + 0x65]
push ecx
jmp 0x10001d29
cmp dword [0x1001e9fc], 0
jne 0x10001d3f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.MSVCR100.dll_rand]
mov dword [0x1001e9fc], eax
mov word [esp + 0xc], 0x5c1
call esi
and eax, 0x800000ff
jns 0x10001cc8
dec eax
or eax, 0xffffff00
inc eax
cmp dword [0x10015284], 0xffffffff
mov byte [esp + 0xe], al
mov bl, 3
mov word [esp + 0xf], 0x3d2
je 0x10001c15
cmp byte [0x100192b8], 0
je 0x10001c15
mov word [esp + 0x18], 0x85c1
call esi
and eax, 0x800000ff
jns 0x10001d06
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], 0xd2
mov byte [esp + 0x1c], bl
mov esi, edi
mov ecx, 0x10
lea edi, [esp + 0x1d]
rep movsd dword es:[edi], dword [esi]
push 0x40
push 0
lea edx, [esp + 0x65]
push edx
call sub.MSVCR100.dll_memset
movzx ecx, byte [esp + 0x25]
add esp, 0xc
lea edx, [esp + 0x18]
call fcn.10001730
mov ecx, dword [esp + 0x4a4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000ce99
mov esp, ebp
pop ebp
ret
cmp dword [0x1001e9fc], 0
jne 0x10001d3f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.MSVCR100.dll_rand]
mov dword [0x1001e9fc], eax
call esi
cmp dword [0x10015284], 0xffffffff
je 0x10001d86
cmp byte [0x100192b8], 0
jne 0x10001ea8
mov ecx, 0x10
call fcn.10006570
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
mov dword [esp + 0xc], eax
mov eax, dword [0x1001e254]
test eax, eax
je 0x10001dc9
xor esi, esi
push esi
push esi
push 0x10
push eax
call edi
mov eax, dword [0x1001e984]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x1001e254], esi
call ebx
jmp 0x10001dcb
xor esi, esi
mov eax, dword [0x1001e37c]
cmp eax, esi
je 0x10001df0
push esi
push esi
push 0x10
push eax
call edi
mov edx, dword [0x1001e984]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x1001e37c], esi
call ebx
mov eax, dword [0x1001e4a4]
cmp eax, esi
je 0x10001e16
push esi
push esi
push 0x10
push eax
call edi
mov ecx, dword [0x1001e984]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x1001e4a4], esi
call ebx
mov eax, dword [esp + 0xc]
push 0xff
push 0x6a
mov esi, 0x1001e4a0
call fcn.1000b1c0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x1000baa0
push 0
push 0
mov dword [0x1001e4a8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x1001e4a8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x1001e4a8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1001e4a4]
test eax, eax
je 0x10001ea3
push 0
push 0
push 0x10
push eax
call edi
mov edx, dword [0x1001e984]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x1001e4a4], 0
call ebx
call fcn.1000b720
mov word [esp + 0x18], 0x85c1
call esi
and eax, 0x800000ff
jns 0x10001ebf
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x1a], al
mov word [esp + 0x1b], 0x3d2
test edi, edi
jne 0x10001d13
push 0x40
lea ecx, [esp + 0x21]
push edi
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
jmp 0x10001d20