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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov ebx, eax
mov esi, 0x5d8440
mov edi, 0x5d6c34
xor eax, eax
push ebp
push 0x558195
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [esi], 0
je 0x55817a
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [0x5d6c30]
cmp eax, 0xa
jb 0x55817a
mov eax, dword [esi]
mov ax, word [eax + 0x98]
cmp ax, word [edi]
jne 0x557db9
mov eax, dword [esi]
mov ax, word [eax + 0x9a]
cmp ax, word [edi + 4]
jne 0x557db9
mov eax, dword [esi]
mov ax, word [eax + 0x9c]
cmp ax, word [edi + 2]
jne 0x557db9
mov eax, dword [esi]
mov ax, word [eax + 0x9e]
cmp ax, word [edi + 6]
je 0x55817a
mov eax, ebx
call fcn.0046be24
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x55817a
mov eax, dword [esi]
mov ax, word [eax + 0x98]
mov word [edi], ax
mov eax, dword [esi]
mov ax, word [eax + 0x9a]
mov word [edi + 4], ax
mov eax, dword [esi]
mov ax, word [eax + 0x9c]
mov word [edi + 2], ax
mov eax, dword [esi]
mov ax, word [eax + 0x9e]
mov word [edi + 6], ax
call sub.kernel32.dll_GetTickCount_1
mov dword [0x5d6c30], eax
mov eax, dword [ebx + 0x3f4]
mov edx, dword [eax + 0x48]
mov eax, dword [ebx + 0x96c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebx + 0x3f4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebx + 0x96c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx + 0x3f4]
mov eax, dword [eax + 0x168]
call fcn.0042909c
push eax
mov eax, dword [ebx + 0x96c]
call fcn.0042b6c0
xor ecx, ecx
xor edx, edx
call fcn.00426aec
mov eax, dword [esi]
cmp word [eax + 0x9c], 0
je 0x557f6d
push 1
mov eax, dword [ebx + 0x96c]
call fcn.0042b6c0
call fcn.00427194
push eax
call sub.gdi32.dll_SetBkMode
mov eax, dword [esi]
movzx eax, word [eax + 0x98]
imul eax, eax, 0x64
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
mov eax, dword [esi]
movzx eax, word [eax + 0x9c]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fdivp st(1)
call fcn.00402bcc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edi, 0x64
sub edi, eax
add edi, 0x1e
mov eax, dword [ebx + 0x3f8]
mov eax, dword [eax + 0x4c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x3f8]
mov ecx, dword [eax + 0x48]
mov edx, edi
xor eax, eax
call fcn.004184c0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x3f8]
mov eax, dword [eax + 0x4c]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x3f8]
mov ecx, dword [eax + 0x48]
mov edx, edi
xor eax, eax
call fcn.004184c0
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x3f8]
call fcn.004378c8
push eax
mov eax, dword [ebx + 0x96c]
call fcn.0042b6c0
pop ecx
pop edx
call fcn.00426a64
mov eax, dword [ebx + 0x96c]
call fcn.0042b6c0
mov eax, dword [eax + 0xc]
mov edx, 0xffff
call fcn.00425d48
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.00408cf0
lea eax, [ebp - 0x34]
mov edx, 0x5581ac
call fcn.004046dc
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x96c]
call fcn.0042b6c0
mov ecx, 0x50
mov edx, 0x36
call fcn.00426e60
mov eax, dword [esi]
mov di, word [eax + 0x9e]
test di, di
je 0x55805b
mov eax, dword [esi]
movzx eax, word [eax + 0x9a]
imul eax, eax, 0x64
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
movzx eax, di
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fdivp st(1)
call fcn.00402bcc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edi, 0x64
sub edi, eax
add edi, 0x1e
mov dword [ebp - 4], 0x5d
mov eax, dword [ebx + 0x3fc]
mov eax, dword [eax + 0x4c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x3fc]
mov ecx, dword [eax + 0x48]
mov edx, edi
xor eax, eax
call fcn.004184c0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x96c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x96c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004184c0
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x3fc]
call fcn.004378c8
push eax
mov eax, dword [ebx + 0x96c]
call fcn.0042b6c0
pop ecx
pop edx
call fcn.00426a64
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 8]
call fcn.00408cf0
lea eax, [ebp - 0x38]
mov edx, 0x5581ac
call fcn.004046dc
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebx + 0x96c]
call fcn.0042b6c0
mov ecx, 0x50
mov edx, 0x5f
call fcn.00426e60
lea edx, [ebp - 0x40]
mov eax, dword [esi]
movzx eax, word [eax + 0x98]
call fcn.00408cf0
push dword [ebp - 0x40]
push 0x5581b8
lea edx, [ebp - 0x44]
mov eax, dword [esi]
movzx eax, word [eax + 0x9c]
call fcn.00408cf0
push dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404794
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebx + 0x96c]
call fcn.0042b6c0
mov ecx, 0x7d
mov edx, 5
call fcn.00426e60
lea edx, [ebp - 0x4c]
mov eax, dword [esi]
movzx eax, word [eax + 0x9a]
call fcn.00408cf0
push dword [ebp - 0x4c]
push 0x5581b8
lea edx, [ebp - 0x50]
mov eax, dword [esi]
movzx eax, word [eax + 0x9e]
call fcn.00408cf0
push dword [ebp - 0x50]
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00404794
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebx + 0x96c]
call fcn.0042b6c0
mov ecx, 0x7d
mov edx, 0x69
call fcn.00426e60
mov eax, dword [ebx + 0x96c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x96c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.004184c0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x400]
call fcn.00464f58
push eax
lea eax, [ebp - 0x30]
push eax
mov esi, dword [ebx + 0x400]
mov eax, esi
call fcn.00464f14
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.004184c0
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x96c]
call fcn.0042b6c0
mov ecx, eax
mov eax, dword [esi + 0x160]
pop edx
call fcn.00426a64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55819c
lea eax, [ebp - 0x50]
mov edx, 8
call fcn.00404438
ret