Function at 0x1005f7a0
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10117018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10117e8e], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov esi, ecx
mov edi, 0x3e8
jne 0x1005f83d
cmp dword [0x10122380], 2
jne 0x1005f83d
movq xmm0, qword [0x10122384]
lea ecx, [ebp - 0x18]
mov ax, word [0x1012238c]
mov edx, 0xe
mov dword [ebp - 0x18], 0x3f30ec1
movq qword [ebp - 0x14], xmm0
mov word [ebp - 0xc], ax
call fcn.100603e0
mov dword [0x101223d4], 1
mov dword [0x10122380], 3
call ebx
mov dword [0x101223d0], eax
call ebx
cmp byte [0x10117e8e], 1
mov dword [0x101223cc], eax
mov eax, 0x7530
cmove eax, edi
mov dword [0x101223c4], 0x7530
mov dword [0x101223c8], eax
call fcn.10006880
mov ecx, 0x10117ec0
call fcn.10007ad0
push esi
call fcn.1000d150
add esp, 4
cmp byte [0x10117e8e], 0
je 0x1005f9c6
cmp dword [0x10122380], 2
jne 0x1005f9c6
movzx ebx, byte [esi + 7]
xor edi, edi
test ebx, ebx
je 0x1005f8c3
add esi, 0xa
nop dword [eax]
mov ecx, 0x10122384
lea eax, [esi + 1]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005f8a8
test dl, dl
je 0x1005f8a4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005f8a8
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005f888
xor eax, eax
jmp 0x1005f8ad
sbb eax, eax
or eax, 1
test eax, eax
je 0x1005f8bb
inc edi
add esi, 0x22
cmp edi, ebx
jl 0x1005f880
jmp 0x1005f8c3
movzx eax, byte [esi]
mov dword [0x10117d74], eax
movq xmm0, qword [0x10122384]
lea ecx, [ebp - 0x18]
mov ax, word [0x1012238c]
mov edx, 0xe
mov dword [ebp - 0x18], 0x3f30ec1
movq qword [ebp - 0x14], xmm0
mov word [ebp - 0xc], ax
call fcn.100603e0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101223d4], 1
mov dword [0x10122380], 3
call esi
mov dword [0x101223d0], eax
call esi
cmp byte [0x10117e8e], 1
mov ecx, 0x3e8
mov dword [0x101223cc], eax
mov eax, 0x7530
cmove eax, ecx
mov dword [0x101223c4], 0x7530
mov dword [0x101223c8], eax
mov eax, dword [0x10117d74]
cmp eax, 0xffffffff
je 0x1005f9ae
push eax
mov eax, 0x57d9a0
call eax
add esp, 4
mov esi, eax
mov eax, 0x402bc0
call eax
push esi
mov edx, 0x96a4c0
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x1005f9ae
mov edx, dword [0x8128ac8]
mov cx, word [esi + 0x82]
mov word [edx + 0xe], cx
mov edx, dword [0x8128ac8]
mov cl, byte [esi + 0x13]
mov byte [edx + 0xb], cl
mov ecx, dword [0x8128ac8]
mov al, byte [esi + 0x14]
mov byte [ecx + 0xc], al
lea ecx, [esi + 0x38]
mov edx, dword [0x8128ac8]
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x1005f9a0
mov eax, 0x631610
call eax
mov byte [0xe8cb4d], 0
mov dword [0xe609e8], 3
mov esi, dword [0x102db6c8]
mov eax, dword [esi]
cmp eax, esi
je 0x1005fa1c
mov byte [eax + 0x15], 0xff
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x1005f9fc
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x1005f9f8
cmp eax, dword [ecx + 8]
jne 0x1005f9f8
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x1005f9e8
mov eax, ecx
jmp 0x1005fa12
mov eax, ecx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x1005fa12
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x1005fa06
mov esi, dword [0x102db6c8]
cmp eax, esi
jne 0x1005f9d2
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x1005fa5a
nop word [eax + eax]
push dword [edi + 8]
mov ecx, 0x102db6c8
push 0x102db6c8
call fcn.1002a230
mov eax, edi
mov edi, dword [edi]
push 0x84
push eax
call fcn.10069eb3
add esp, 8
cmp byte [edi + 0xd], 0
je 0x1005fa30
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov edi, dword [0x102e4d44]
mov dword [0x102db6cc], 0
mov esi, dword [edi + 4]
cmp byte [esi + 0xd], 0
jne 0x1005faaa
nop dword [eax + eax]
push dword [esi + 8]
mov ecx, 0x102e4d44
push 0x102e4d44
call fcn.1002a230
mov eax, esi
mov esi, dword [esi]
push 0x84
push eax
call fcn.10069eb3
add esp, 8
cmp byte [esi + 0xd], 0
je 0x1005fa80
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
mov dword [edi + 4], edi
mov dword [edi], edi
mov dword [edi + 8], edi
push 0x83703d
mov dword [0x102e4d48], 0
mov dword [0x102e4be8], 0
call esi
lea eax, [ebp - 8]
mov byte [0x83703d], 0xc
push eax
push dword [ebp - 8]
push 1
push 0x83703d
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10069b8b
mov esp, ebp
pop ebp
ret