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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x1001a018]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
call fcn.100069e0
push str.____________________________________________________________________________________________________
push 0
mov ecx, 0x10120080
call fcn.10006b00
add esp, 8
call fcn.1000c2a0
mov ebx, 0x101202c0
call fcn.1000a020
test al, al
jne 0x10005a4b
push 0x1001da60
call fcn.1000f100
add esp, 4
push eax
push 0
mov ecx, 0x10120080
call fcn.10006b00
add esp, 8
call fcn.1000eb50
call fcn.1000cf90
test al, al
jne 0x10005a5b
push 0x1001db60
jmp 0x10005a2e
call fcn.1000d100
test al, al
jne 0x10005a6b
push 0x1001dc60
jmp 0x10005a2e
call fcn.1000f360
test al, al
jne 0x10005a7b
push 0x1001dd60
jmp 0x10005a2e
call fcn.1000c560
test al, al
jne 0x10005a8b
push 0x1001de60
jmp 0x10005a2e
call fcn.10008580
test al, al
jne 0x10005a9b
push 0x1001df60
jmp 0x10005a2e
call fcn.1000c9c0
test al, al
jne 0x10005aab
push 0x1001e260
jmp 0x10005a2e
call fcn.1000cae0
test al, al
jne 0x10005abe
push 0x1001e360
jmp 0x10005a2e
call fcn.100014b0
test al, al
jne 0x10005afb
mov ecx, 4
push 0x1388
call fcn.10007260
push eax
push 2
mov ebx, 0x10125428
call fcn.1000ef90
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.10012204
mov esp, ebp
pop ebp
ret
push 0x10120306
mov ecx, 5
call fcn.10007260
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
mov ebx, 0x101251d8
call fcn.1000ef90
movzx edx, word [0x10120304]
add esp, 0xc
push edx
mov ecx, 0x101202e4
call fcn.10001530
test al, al
jne 0x10005b4c
mov ecx, 6
jmp 0x10005acc
call fcn.100043c0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push 1
mov ebx, 0x1f4
mov edi, eax
call fcn.1000ebb0
add esp, 4
test al, al
jne 0x10005cdc
call esi
sub eax, edi
cmp eax, 0xea60
ja 0x10005d2e
call fcn.10001730
test al, al
jne 0x10005bb3
call fcn.100014b0
test al, al
je 0x10005bb3
movzx eax, word [0x10120304]
push eax
mov ecx, 0x101202e4
call fcn.10001530
test al, al
je 0x10005bb3
call fcn.100043c0
jmp 0x10005cc5
cmp dword [0x10125fb8], 0
je 0x10005cc5
cmp dword [0x10125fbc], 0
je 0x10005cc5
cmp dword [0x10125fc0], 0
je 0x10005cc5
cmp dword [0x10125fc4], 0
je 0x10005cc5
cmp dword [0x10125fc8], 0
je 0x10005cc5
cmp dword [0x10125fcc], 0
je 0x10005cc5
mov ecx, dword [0x10120048]
sub ecx, dword [0x10120044]
mov eax, 0x7d8c42b3
imul ecx
mov ecx, dword [0x10120038]
sub ecx, dword [0x10120034]
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x3e0f83e1
imul ecx
mov ecx, dword [0x10120068]
sub ecx, dword [0x10120064]
sar edx, 6
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov dword [esp + 0xc], eax
mov eax, 0x7e07e07f
imul ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [0x10120058]
sub ecx, dword [0x10120054]
sar edx, 5
add eax, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, eax
mov eax, 0x7e07e07f
imul ecx
mov ecx, dword [0x10120028]
sub ecx, dword [0x10120024]
sar edx, 5
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov ebx, eax
mov eax, 0x38e38e39
imul ecx
mov eax, dword [0x10125fe0]
add eax, dword [0x10125fdc]
sar edx, 4
add eax, dword [0x10125fd8]
mov ecx, edx
add eax, dword [0x10125fd4]
shr ecx, 0x1f
add eax, dword [0x10125fd0]
add ebx, edx
add ecx, ebx
cmp ecx, eax
je 0x10005cdc
push 1
mov ebx, 0x1f4
call fcn.1000ebb0
add esp, 4
test al, al
je 0x10005b72
mov ecx, dword [0x10125fe0]
mov edx, dword [0x10125fdc]
mov eax, dword [0x10125fd8]
push ecx
mov ecx, dword [0x10125fd4]
push edx
mov edx, dword [0x10125fd0]
push eax
push ecx
push edx
push 0x1001e060
call fcn.1000f100
add esp, 4
push eax
push 0
mov ecx, 0x10120080
call fcn.10006b00
add esp, 0x1c
call fcn.1000d100
test al, al
jne 0x10005d38
mov ecx, 0x14
jmp 0x10005acc
mov ecx, 7
jmp 0x10005acc
cmp dword [0x10126008], 0
je 0x10005d5d
call fcn.10001d30
test al, al
jne 0x10005d53
call fcn.10001de0
test al, al
je 0x10005d5d
mov ecx, 0x20
jmp 0x10005acc
mov ecx, 0x101202c0
call fcn.1000a360
call fcn.10005210
mov edi, 0x101202c0
call fcn.1000a120
call fcn.1000a2d0
call fcn.1000a210
push 0
push 0
push 0
push 0x10005940
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
call fcn.1000f400
mov esi, 0x101251d8
call fcn.1000e8c0
call fcn.10006d40
mov byte [0x1012b0c4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1012b0c8], eax
call fcn.10002040
cmp dword [0x10125fe4], 0
je 0x10005df8
call fcn.10005ec0
call fcn.10006200
test eax, eax
je 0x10005df8
push 0x7d0
mov ecx, 0x1f
call fcn.10007260
push eax
push 2
mov ebx, 0x10125428
call fcn.1000ef90
add esp, 0xc
push 0x1001e160
call fcn.1000f100
add esp, 4
push eax
push 0
mov ecx, 0x10120080
call fcn.10006b00
mov ecx, dword [esp + 0x11c]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10012204
mov esp, ebp
pop ebp
ret