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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
add ebx, 8
mov esi, dword [0x581dd8]
xor eax, eax
push ebp
push 0x543a42
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
cmp eax, dword [edx + 0x464]
jne 0x54374f
mov byte [0x5865fc], 1
jmp 0x543756
mov byte [0x5865fc], 2
mov byte [0x586570], 0
mov byte [0x586571], 0
mov byte [0x586572], 1
mov byte [ebp - 1], 1
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 1
jg 0x543a27
mov eax, dword [ebp + 8]
inc dword [eax - 0xc]
mov eax, dword [ebp + 8]
push eax
call fcn.00543290
pop ecx
cmp byte [0x5866dc], 1
je 0x54379e
cmp byte [0x5866dc], 7
jne 0x543806
cmp dword [0x58653c], 0
jne 0x5437b2
cmp dword [0x586538], 0
jbe 0x543806
jmp 0x5437b4
jle 0x543806
mov eax, dword [ebx]
mov dl, byte [eax + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov cl, 0xc
call fcn.0056b218
cmp al, 1
jne 0x543806
push dword [0x58653c]
push dword [0x586538]
lea eax, [ebp - 0xc]
call fcn.00408f54
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 0x543a5c
call fcn.00403ed4
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
xor ecx, ecx
call fcn.004aec04
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov byte [eax + 0x58656f], 0
mov eax, dword [ebx]
mov word [eax + 0x306], 0
mov eax, dword [ebx]
xor edx, edx
call fcn.004a7540
cmp byte [0x5866dc], 1
je 0x54382c
cmp byte [0x5866dc], 7
jne 0x543896
cmp dword [0x58653c], 0
jne 0x543840
cmp dword [0x586538], 0
jbe 0x543896
jmp 0x543842
jle 0x543896
mov eax, dword [ebx]
mov dl, byte [eax + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov cl, 0xc
call fcn.0056b218
cmp al, 1
je 0x543896
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
lea eax, [ebp - 8]
mov edx, 0x543a6c
call fcn.00403ed4
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
mov dl, 2
call fcn.004b2d4c
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
lea eax, [ebp - 8]
mov edx, 0x543a6c
call fcn.00403ed4
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.004a6304
jmp 0x5438d2
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
lea eax, [ebp - 8]
mov edx, 0x543a7c
call fcn.00403ed4
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
mov dl, 2
call fcn.004b2d4c
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
lea eax, [ebp - 8]
mov edx, 0x543a7c
call fcn.00403ed4
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.004a6304
call sub.kernel32.dll_GetTickCount
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
xor ecx, ecx
mov dl, 1
call fcn.004b24a4
mov eax, dword [ebp - 8]
mov edx, dword [esi]
call fcn.00403f98
jne 0x5438d9
mov eax, dword [ebx]
cmp word [eax + 0x306], 0x18f
jle 0x54390c
mov byte [ebp - 1], 0
jmp 0x543a27
mov eax, dword [ebx]
cmp word [eax + 0x306], 0
jg 0x54393e
mov eax, dword [ebx]
cmp byte [eax + 0x394], 0
je 0x54393e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov dl, 5
call fcn.00569d98
call sub.kernel32.dll_GetTickCount
sub eax, edi
cmp eax, 0x1388
jbe 0x5438d9
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
lea eax, [ebp - 8]
mov edx, 0x543a8c
call fcn.00403ed4
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
xor ecx, ecx
call fcn.004aec04
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x2d0]
call fcn.00403ca4
mov eax, dword [ebx]
call fcn.004a7590
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x394], 0
je 0x5439d2
mov eax, dword [ebx]
cmp byte [eax + 0x394], 0
je 0x5439d2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [esi]
call fcn.00403f98
je 0x5439d2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, 1
call fcn.004563e4
cmp eax, 5
je 0x5439d2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, 1
call fcn.004563e4
cmp eax, 4
jne 0x543a27
mov eax, dword [ebx]
mov ax, word [eax + 0x306]
cmp ax, 0xc8
jl 0x5439f0
cmp ax, 0x12b
jg 0x5439f0
test ax, ax
je 0x5439f0
xor eax, eax
jmp 0x5439f2
mov al, 1
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dx, word [eax + 0x306]
cmp dx, 0x12b
jg 0x543a13
mov eax, dword [ebp + 8]
test dx, dx
je 0x543a13
xor eax, eax
jmp 0x543a15
mov al, 1
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
pop ecx
call fcn.005708e0
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x543a49
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403c30
ret