Function at 0x1005f510
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x10174a6e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x101c8fb4]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c8fb4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
xor ebx, ebx
push ebx
call fcn.1011524d
push eax
call fcn.10113d9f
push 0x3800
push ebx
push esi
call fcn.10112240
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edi, 1
push edi
push 0x102d1988
mov dword [esp + 0x1c], eax
call ebp
cmp eax, edi
jne 0x1005f5a8
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x14]
cmp eax, 0x3e8
ja 0x1005f5a8
push edi
push 0x102d1988
call ebp
cmp eax, edi
je 0x1005f584
add dword [0x102d198c], edi
push ebx
push 0x102d1988
call ebp
mov al, 0x6c
mov byte [esp + 0x20], al
mov byte [esp + 0x21], al
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x1c], 0x75
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], 0x65
mov byte [esp + 0x1f], 0x72
mov byte [esp + 0x20], 0x33
mov byte [esp + 0x21], 0x32
mov byte [esp + 0x22], 0x2e
mov byte [esp + 0x23], 0x64
mov byte [esp + 0x26], bl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, 5
mov dword [esi + 0x84], ecx
mov dword [esi + 0x3c8], ecx
mov ecx, 0x1e
mov dword [esi], eax
mov eax, 0xa
mov dword [esi + 0x2624], ecx
mov dword [esi + 0x2630], ecx
or ebp, 0xffffffff
lea ecx, [esi + 0x8c]
push 0x1c
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], eax
mov dword [esi + 0x3bc], edi
mov dword [esi + 0x3c0], edi
mov dword [esi + 0x3c4], eax
mov dword [esi + 0x2628], eax
mov dword [esi + 0x262c], 0x28
mov dword [esi + 0x2634], eax
mov dword [esi + 0x2638], 0x32
mov dword [esi + 0x40], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x44], ebp
mov dword [esi + 0x32e8], 0xbb8
mov dword [esi + 0x32ec], 0x190
mov dword [esi + 0x32f4], edi
mov dword [esi + 0x3260], edi
mov dword [esi + 0x3264], 4
mov dword [esi + 0x32fc], 0xff00ff
mov dword [esi + 0x220], ecx
call fcn.1010051d
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ebx
cmp eax, ebx
je 0x1005f6cf
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ebx
mov byte [eax + 4], bl
jmp 0x1005f6d1
xor eax, eax
mov dword [esp + 0x30], ebp
push 0x1c
mov dword [esi + 0x32d0], eax
call fcn.1010051d
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], edi
cmp eax, ebx
je 0x1005f700
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ebx
mov byte [eax + 4], bl
jmp 0x1005f702
xor eax, eax
mov dword [esp + 0x30], ebp
push 0x1c
mov dword [esi + 0x263c], eax
call fcn.1010051d
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 2
cmp eax, ebx
je 0x1005f735
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ebx
mov byte [eax + 4], bl
jmp 0x1005f737
xor eax, eax
mov dword [esp + 0x30], ebp
push 0x10
mov dword [esi + 0x2648], eax
call fcn.1010051d
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 3
cmp eax, ebx
je 0x1005f766
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x1005f768
xor eax, eax
mov dword [esp + 0x30], ebp
push 0x10
mov dword [esi + 0x261c], eax
call fcn.1010051d
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 4
cmp eax, ebx
je 0x1005f797
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x1005f799
xor eax, eax
mov dword [esp + 0x30], ebp
push 0x10
mov dword [esi + 0x2620], eax
call fcn.1010051d
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 5
cmp eax, ebx
je 0x1005f7c8
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x1005f7ca
xor eax, eax
mov dword [esp + 0x30], ebp
push 0x10
mov dword [esi + 0x3280], eax
call fcn.1010051d
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 6
cmp eax, ebx
je 0x1005f7f9
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x1005f7fb
xor eax, eax
mov dword [esp + 0x30], ebp
push 0x10
mov dword [esi + 0x3284], eax
call fcn.1010051d
add esp, 4
mov dword [esp + 0x14], eax
mov edi, 7
mov dword [esp + 0x30], edi
cmp eax, ebx
je 0x1005f82b
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x1005f82d
xor eax, eax
mov dword [esp + 0x30], ebp
push 0x1c
mov dword [esi + 0x3300], eax
call fcn.1010051d
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 8
cmp eax, ebx
je 0x1005f860
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ebx
mov byte [eax + 4], bl
jmp 0x1005f862
xor eax, eax
mov dword [esp + 0x30], ebp
push 0x1c
mov dword [esi + 0x37e8], eax
call fcn.1010051d
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 9
cmp eax, ebx
je 0x1005f892
mov dword [eax + 0x18], edi
mov dword [eax + 0x14], ebx
mov word [eax + 4], bx
jmp 0x1005f894
xor eax, eax
mov dword [esp + 0x30], ebp
mov dword [esi + 0x37ec], eax
mov dword [esi + 0x2640], 0x2710
mov dword [esi + 0x2644], 0x64
call fcn.10015d70
mov dword [esi + 0x3374], eax
call fcn.10015d70
mov dword [esi + 0x3370], eax
call fcn.1000d300
cdq
mov ecx, 0x64
idiv ecx
lea eax, [edx - 1]
cmp eax, 0x1c
ja 0x1005f8f3
push edx
push 0x102d1b24
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x1005f8f3
mov dword [esi + 0x3374], ebx
call fcn.1000d300
cdq
mov ecx, 0x64
idiv ecx
lea eax, [edx - 1]
cmp eax, 0x1c
ja 0x1005f91e
push edx
push 0x102d1b28
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x1005f91e
mov dword [esi + 0x3370], ebx
call fcn.10015d70
push 0x1017bbb8
mov dword [esi + 0x336c], eax
call fcn.10005380
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10111b17
add esp, 0x20
ret