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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1b
push 0
push 0
dec ecx
jne 0x545a74
push ecx
push ebx
mov dword [ebp - 4], eax
mov ebx, 0x5d8444
xor eax, eax
push ebp
push 0x546474
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4ac]
mov eax, dword [eax + 0x26c]
call fcn.00465510
mov eax, dword [ebp - 8]
mov edx, 0x546488
call fcn.00404820
jne 0x546441
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x79c]
cmp eax, 0x1f4
jb 0x546441
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x79c], eax
cmp byte [0x5d69ec], 0
je 0x545af4
mov eax, 0xe
jmp 0x545af9
mov eax, 0xa
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x524]
cmp eax, dword [edx + 0x288]
je 0x545b13
xchg edx, eax
mov ecx, dword [eax]
call dword [ecx + 0xf4]
push ebp
mov ecx, 0x546498
xor edx, edx
xor eax, eax
call fcn.005459d8
pop ecx
push ebp
mov ecx, 0x5464a8
xor edx, edx
mov eax, 1
call fcn.005459d8
pop ecx
push ebp
mov ecx, 0x5464b8
xor edx, edx
mov eax, 2
call fcn.005459d8
pop ecx
push ebp
mov ecx, 0x5464c8
mov edx, 1
xor eax, eax
call fcn.005459d8
pop ecx
push ebp
mov ecx, 0x5464d8
mov edx, 2
xor eax, eax
call fcn.005459d8
pop ecx
push ebp
mov ecx, 0x5464e8
mov edx, 3
xor eax, eax
call fcn.005459d8
pop ecx
push ebp
mov ecx, 0x5464f8
mov edx, 4
xor eax, eax
call fcn.005459d8
pop ecx
push ebp
mov ecx, 0x546508
mov edx, 5
xor eax, eax
call fcn.005459d8
pop ecx
push ebp
mov ecx, 0x546518
mov edx, 6
xor eax, eax
call fcn.005459d8
pop ecx
push ebp
mov ecx, 0x546528
mov edx, 7
xor eax, eax
call fcn.005459d8
pop ecx
push ebp
mov ecx, 0x546538
mov edx, 8
xor eax, eax
call fcn.005459d8
pop ecx
push ebp
mov ecx, 0x546548
mov edx, 9
xor eax, eax
call fcn.005459d8
pop ecx
cmp byte [0x5d69ec], 0
je 0x545c49
push ebp
mov ecx, 0x546558
mov edx, 0xa
xor eax, eax
call fcn.005459d8
pop ecx
push ebp
mov ecx, 0x546568
mov edx, 0xb
xor eax, eax
call fcn.005459d8
pop ecx
push ebp
mov ecx, 0x546578
mov edx, 0xc
xor eax, eax
call fcn.005459d8
pop ecx
push ebp
mov ecx, 0x546588
mov edx, 0xd
xor eax, eax
call fcn.005459d8
pop ecx
push ebp
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00404678
mov ecx, dword [ebp - 0xc]
mov edx, 1
mov eax, 1
call fcn.005459d8
pop ecx
push ebp
lea eax, [ebp - 0x10]
lea edx, [ebx + 0x35]
call fcn.00404678
mov ecx, dword [ebp - 0x10]
mov edx, 2
mov eax, 1
call fcn.005459d8
pop ecx
push ebp
lea eax, [ebp - 0x14]
lea edx, [ebx + 0x6a]
call fcn.00404678
mov ecx, dword [ebp - 0x14]
mov edx, 3
mov eax, 1
call fcn.005459d8
pop ecx
push ebp
lea eax, [ebp - 0x18]
lea edx, [ebx + 0x9f]
call fcn.00404678
mov ecx, dword [ebp - 0x18]
mov edx, 4
mov eax, 1
call fcn.005459d8
pop ecx
push ebp
lea eax, [ebp - 0x1c]
lea edx, [ebx + 0xd4]
call fcn.00404678
mov ecx, dword [ebp - 0x1c]
mov edx, 5
mov eax, 1
call fcn.005459d8
pop ecx
push ebp
lea eax, [ebp - 0x20]
lea edx, [ebx + 0x109]
call fcn.00404678
mov ecx, dword [ebp - 0x20]
mov edx, 6
mov eax, 1
call fcn.005459d8
pop ecx
push ebp
lea eax, [ebp - 0x24]
lea edx, [ebx + 0x13e]
call fcn.00404678
mov ecx, dword [ebp - 0x24]
mov edx, 7
mov eax, 1
call fcn.005459d8
pop ecx
push ebp
lea eax, [ebp - 0x28]
lea edx, [ebx + 0x173]
call fcn.00404678
mov ecx, dword [ebp - 0x28]
mov edx, 8
mov eax, 1
call fcn.005459d8
pop ecx
push ebp
lea eax, [ebp - 0x2c]
lea edx, [ebx + 0x1a8]
call fcn.00404678
mov ecx, dword [ebp - 0x2c]
mov edx, 9
mov eax, 1
call fcn.005459d8
pop ecx
cmp byte [0x5d69ec], 0
je 0x545e06
push ebp
lea eax, [ebp - 0x30]
lea edx, [ebx + 0x1dd]
call fcn.00404678
mov ecx, dword [ebp - 0x30]
mov edx, 0xa
mov eax, 1
call fcn.005459d8
pop ecx
push ebp
lea eax, [ebp - 0x34]
lea edx, [ebx + 0x212]
call fcn.00404678
mov ecx, dword [ebp - 0x34]
mov edx, 0xb
mov eax, 1
call fcn.005459d8
pop ecx
push ebp
lea eax, [ebp - 0x38]
lea edx, [ebx + 0x247]
call fcn.00404678
mov ecx, dword [ebp - 0x38]
mov edx, 0xc
mov eax, 1
call fcn.005459d8
pop ecx
push ebp
lea eax, [ebp - 0x3c]
lea edx, [ebx + 0x27c]
call fcn.00404678
mov ecx, dword [ebp - 0x3c]
mov edx, 0xd
mov eax, 1
call fcn.005459d8
pop ecx
push ebp
movzx eax, word [ebx + 0x30]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0x44]
call fcn.00408ddc
push dword [ebp - 0x44]
push 0x54659c
movzx eax, word [ebx + 0x32]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0x4c]
call fcn.00408ddc
push dword [ebp - 0x4c]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404794
mov ecx, dword [ebp - 0x40]
mov edx, 1
mov eax, 2
call fcn.005459d8
pop ecx
push ebp
movzx eax, word [ebx + 0x65]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0x54]
call fcn.00408ddc
push dword [ebp - 0x54]
push 0x54659c
movzx eax, word [ebx + 0x67]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0x58]
call fcn.00408ddc
push dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00404794
mov ecx, dword [ebp - 0x50]
mov edx, 2
mov eax, 2
call fcn.005459d8
pop ecx
push ebp
movzx eax, word [ebx + 0x9a]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0x60]
call fcn.00408ddc
push dword [ebp - 0x60]
push 0x54659c
movzx eax, word [ebx + 0x9c]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0x64]
call fcn.00408ddc
push dword [ebp - 0x64]
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.00404794
mov ecx, dword [ebp - 0x5c]
mov edx, 3
mov eax, 2
call fcn.005459d8
pop ecx
push ebp
movzx eax, word [ebx + 0xcf]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0x6c]
call fcn.00408ddc
push dword [ebp - 0x6c]
push 0x54659c
movzx eax, word [ebx + 0xd1]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0x70]
call fcn.00408ddc
push dword [ebp - 0x70]
lea eax, [ebp - 0x68]
mov edx, 3
call fcn.00404794
mov ecx, dword [ebp - 0x68]
mov edx, 4
mov eax, 2
call fcn.005459d8
pop ecx
push ebp
movzx eax, word [ebx + 0x104]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0x78]
call fcn.00408ddc
push dword [ebp - 0x78]
push 0x54659c
movzx eax, word [ebx + 0x106]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0x7c]
call fcn.00408ddc
push dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
mov edx, 3
call fcn.00404794
mov ecx, dword [ebp - 0x74]
mov edx, 5
mov eax, 2
call fcn.005459d8
pop ecx
push ebp
movzx eax, word [ebx + 0x139]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0x84]
call fcn.00408ddc
push dword [ebp - 0x84]
push 0x54659c
movzx eax, word [ebx + 0x13b]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0x88]
call fcn.00408ddc
push dword [ebp - 0x88]
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.00404794
mov ecx, dword [ebp - 0x80]
mov edx, 6
mov eax, 2
call fcn.005459d8
pop ecx
push ebp
movzx eax, word [ebx + 0x16e]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0x90]
call fcn.00408ddc
push dword [ebp - 0x90]
push 0x54659c
movzx eax, word [ebx + 0x170]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0x94]
call fcn.00408ddc
push dword [ebp - 0x94]
lea eax, [ebp - 0x8c]
mov edx, 3
call fcn.00404794
mov ecx, dword [ebp - 0x8c]
mov edx, 7
mov eax, 2
call fcn.005459d8
pop ecx
push ebp
movzx eax, word [ebx + 0x1a3]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0x9c]
call fcn.00408ddc
push dword [ebp - 0x9c]
push 0x54659c
movzx eax, word [ebx + 0x1a5]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0xa0]
call fcn.00408ddc
push dword [ebp - 0xa0]
lea eax, [ebp - 0x98]
mov edx, 3
call fcn.00404794
mov ecx, dword [ebp - 0x98]
mov edx, 8
mov eax, 2
call fcn.005459d8
pop ecx
push ebp
movzx eax, word [ebx + 0x1d8]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0xa8]
call fcn.00408ddc
push dword [ebp - 0xa8]
push 0x54659c
movzx eax, word [ebx + 0x1da]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0xac]
call fcn.00408ddc
push dword [ebp - 0xac]
lea eax, [ebp - 0xa4]
mov edx, 3
call fcn.00404794
mov ecx, dword [ebp - 0xa4]
mov edx, 9
mov eax, 2
call fcn.005459d8
pop ecx
cmp byte [0x5d69ec], 0
je 0x546441
push ebp
movzx eax, word [ebx + 0x20d]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0xb4]
call fcn.00408ddc
push dword [ebp - 0xb4]
push 0x54659c
movzx eax, word [ebx + 0x20f]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0xb8]
call fcn.00408ddc
push dword [ebp - 0xb8]
lea eax, [ebp - 0xb0]
mov edx, 3
call fcn.00404794
mov ecx, dword [ebp - 0xb0]
mov edx, 0xa
mov eax, 2
call fcn.005459d8
pop ecx
push ebp
movzx eax, word [ebx + 0x242]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0xc0]
call fcn.00408ddc
push dword [ebp - 0xc0]
push 0x54659c
movzx eax, word [ebx + 0x244]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0xc4]
call fcn.00408ddc
push dword [ebp - 0xc4]
lea eax, [ebp - 0xbc]
mov edx, 3
call fcn.00404794
mov ecx, dword [ebp - 0xbc]
mov edx, 0xb
mov eax, 2
call fcn.005459d8
pop ecx
push ebp
movzx eax, word [ebx + 0x277]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0xcc]
call fcn.00408ddc
push dword [ebp - 0xcc]
push 0x54659c
movzx eax, word [ebx + 0x279]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0xd0]
call fcn.00408ddc
push dword [ebp - 0xd0]
lea eax, [ebp - 0xc8]
mov edx, 3
call fcn.00404794
mov ecx, dword [ebp - 0xc8]
mov edx, 0xc
mov eax, 2
call fcn.005459d8
pop ecx
push ebp
movzx eax, word [ebx + 0x2ac]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0xd8]
call fcn.00408ddc
push dword [ebp - 0xd8]
push 0x54659c
movzx eax, word [ebx + 0x2ae]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdiv dword [0x546590]
call fcn.00402bcc
push edx
push eax
lea eax, [ebp - 0xdc]
call fcn.00408ddc
push dword [ebp - 0xdc]
lea eax, [ebp - 0xd4]
mov edx, 3
call fcn.00404794
mov ecx, dword [ebp - 0xd4]
mov edx, 0xd
mov eax, 2
call fcn.005459d8
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54647b
lea eax, [ebp - 0xdc]
mov edx, 0x25
call fcn.00404438
lea eax, [ebp - 0x44]
mov edx, 0xf
call fcn.00404438
lea eax, [ebp - 8]
call fcn.00404414
ret