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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
cmp dword [0x121bbbc], 0
jne 0x597096
jmp 0x5972e7
movzx eax, word [0x1210992]
or eax, 0x2000
mov word [0x1210992], ax
mov ecx, dword [0x121bbbc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc], edx
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x5970d5
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x10], edx
jmp 0x5970de
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], edx
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x20], 0
je 0x59710c
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x20]
push eax
call fcn.005cbb3c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x20], 0
mov edx, dword [0x121bbbc]
add edx, 0xc4
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [ebp - 0x19], dl
add dword [ebp - 0x14], 1
cmp byte [ebp - 0x19], 0
jne 0x597124
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, 2
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
cmp eax, 0x5b
jne 0x597182
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 1]
cmp edx, 0x47
jne 0x597182
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 2]
cmp ecx, 0x50
jne 0x597182
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 3]
cmp eax, 0x5d
jne 0x597182
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
jmp 0x5971a2
push 5
push str._MIC_
mov edx, dword [ebp + 0xc]
push edx
call fcn.005ce6de
add esp, 0xc
test eax, eax
jne 0x5971a2
mov eax, dword [ebp - 8]
add eax, 5
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x18]
sub ecx, dword [ebp - 8]
mov dword [ebp + 0x18], ecx
mov edx, dword [ebp + 0x18]
add edx, 3
push edx
call fcn.005ccae8
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x20], 0
je 0x5972e7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x18]
mov dword [edx + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x2c], edx
cmp dword [ebp + 0x18], 0x28
jle 0x5972a6
push 0x28
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
push eax
call fcn.00462940
add esp, 8
movsx ecx, al
cmp ecx, 2
jne 0x597257
mov esi, dword [ebp + 0xc]
add esi, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov edi, dword [edx + 0x20]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x20]
mov byte [ecx + 0x28], 0
mov edx, dword [ebp + 0x18]
sub edx, 0x28
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax + 0x28]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x20]
add ecx, 0x29
push ecx
call fcn.005cc190
add esp, 0xc
mov edx, dword [ebp + 0x18]
add edx, 1
mov dword [ebp + 0x18], edx
jmp 0x5972a4
mov esi, dword [ebp + 0xc]
add esi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 0x20]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x20]
mov byte [edx + 0x27], 0
mov eax, dword [ebp + 0x18]
sub eax, 0x27
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x27]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x20]
add edx, 0x29
push edx
call fcn.005cc190
add esp, 0xc
mov eax, dword [ebp + 0x18]
add eax, 2
mov dword [ebp + 0x18], eax
jmp 0x5972da
mov dword [ebp - 4], 0
jmp 0x5972b8
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0x18]
jge 0x5972da
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x20]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
mov al, byte [esi + eax]
mov byte [edx + ecx], al
jmp 0x5972af
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x20]
mov eax, dword [ebp + 0x18]
mov byte [edx + eax], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret