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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1012d412], 1
push ebx
push esi
push edi
mov esi, 1
jne 0x1007ba93
cmp dword [0x1019fdbc], esi
jne 0x1007ba93
mov eax, dword [0x361f6dc]
movzx ecx, word [eax + 0x14]
imul ecx, ecx, 0x1cc
mov edx, dword [ecx + 0xfb9f50]
sub edx, dword [0x1011cd1c]
cmp edx, dword [0x1019fdc0]
jl 0x1007ba93
mov eax, dword [0x1019e5c8]
push 0
push 0
push 0x22b8
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 8
push 0x100a1ef0
call fcn.1003a930
add esp, 8
cmp dword [0x101a00a4], esi
je 0x1007baa7
cmp dword [0x101a00a8], esi
jne 0x1007bc7a
mov eax, dword [0x35f4bec]
xor ebx, ebx
mov dword [ebp - 0xa0], 0
lea ecx, [eax + 0x540]
lea edx, [ebx + 0xa]
mov eax, dword [ecx - 4]
test eax, eax
jle 0x1007badf
mov eax, dword [eax + 0x54]
cmp eax, 0x5e
jne 0x1007bad8
mov dword [ebp - 0xa0], esi
jmp 0x1007badf
cmp eax, 0x60
jne 0x1007badf
mov ebx, esi
mov eax, dword [ecx]
test eax, eax
jle 0x1007bafc
mov eax, dword [eax + 0x54]
cmp eax, 0x5e
jne 0x1007baf5
mov dword [ebp - 0xa0], esi
jmp 0x1007bafc
cmp eax, 0x60
jne 0x1007bafc
mov ebx, esi
mov eax, dword [ecx + 4]
test eax, eax
jle 0x1007bb1a
mov eax, dword [eax + 0x54]
cmp eax, 0x5e
jne 0x1007bb13
mov dword [ebp - 0xa0], esi
jmp 0x1007bb1a
cmp eax, 0x60
jne 0x1007bb1a
mov ebx, esi
mov eax, dword [ecx + 8]
test eax, eax
jle 0x1007bb38
mov eax, dword [eax + 0x54]
cmp eax, 0x5e
jne 0x1007bb31
mov dword [ebp - 0xa0], esi
jmp 0x1007bb38
cmp eax, 0x60
jne 0x1007bb38
mov ebx, esi
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x1007bb56
mov eax, dword [eax + 0x54]
cmp eax, 0x5e
jne 0x1007bb4f
mov dword [ebp - 0xa0], esi
jmp 0x1007bb56
cmp eax, 0x60
jne 0x1007bb56
mov ebx, esi
add ecx, 0x14
sub edx, esi
jne 0x1007bac1
mov esi, dword [0x35f30a4]
xor edi, edi
call fcn.10006a90
test eax, eax
je 0x1007bc7a
add esi, 0x53c
lea esp, [esp]
mov eax, dword [esi]
test eax, eax
je 0x1007bbb9
lea ecx, [eax + 0x64]
mov eax, 0x100a1ee4
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1007bbb0
test dl, dl
je 0x1007bbac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1007bbb0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1007bb90
xor eax, eax
jmp 0x1007bbb5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1007bbcb
inc edi
add esi, 4
call fcn.10006a90
cmp edi, eax
jb 0x1007bb80
jmp 0x1007bc7a
cmp dword [0x101a00a4], 1
jne 0x1007bc20
test ebx, ebx
jne 0x1007bc20
push 0x64
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, 0x1019ff4c
call sub.mfc100.dll_Ordinal_6969
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x14], 0xffffffff
call fcn.10046300
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, 0xffffffff
je 0x1007bc20
push eax
push edi
call fcn.1003b560
mov ecx, dword [ebp - 0x14]
add esp, 8
mov dword [0x101c0474], ecx
cmp dword [0x101a00a8], 1
jne 0x1007bc7a
cmp dword [ebp - 0xa0], 0
jne 0x1007bc7a
push 0x64
lea edx, [ebp - 0x9c]
push edx
mov ecx, 0x1019fff8
call sub.mfc100.dll_Ordinal_6969
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x9c]
push ecx
mov dword [ebp - 0x14], 0xffffffff
call fcn.10046300
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, 0xffffffff
je 0x1007bc7a
push eax
push edi
call fcn.1003b560
mov edx, dword [ebp - 0x14]
add esp, 8
mov dword [0x101c0470], edx
mov ebx, 1
cmp dword [0x1019ff48], ebx
jne 0x1007bd20
mov eax, dword [0x361f6dc]
cmp dword [eax + 0x51fc], 0
jne 0x1007bca2
cmp dword [eax + 0x2a58], 6
je 0x1007bcb4
cmp dword [eax + 0x4800], 0
jne 0x1007bd20
cmp dword [eax + 0x2a58], 4
jne 0x1007bd20
xor edi, edi
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.10006ba0
add esp, 8
mov ecx, 0x1019ca14
xor esi, esi
call fcn.10001240
test eax, eax
jle 0x1007bd19
mov edx, dword [0x1019ca14]
mov eax, dword [edx + esi*4]
lea ecx, [ebp - 0x28]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1007bd00
test dl, dl
je 0x1007bcfc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1007bd00
add eax, 2
add ecx, 2
test dl, dl
jne 0x1007bce0
xor eax, eax
jmp 0x1007bd05
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1007bd59
mov ecx, 0x1019ca14
add esi, ebx
call fcn.10001240
cmp esi, eax
jl 0x1007bcd3
add edi, ebx
cmp edi, 0xa
jl 0x1007bcb6
cmp dword [0x35ec500], 0x9ca5
jne 0x1007bd83
cmp dword [0x33cbdd0], 0
jne 0x1007bdd3
cmp dword [0x101a00bc], ebx
jne 0x1007bdd3
cmp dword [0x101a00b8], 0
jne 0x1007bd77
push ebx
call fcn.1003b9d0
add esp, 4
jmp 0x1007bdd3
mov eax, dword [ebp - 0xc]
push ebx
push eax
call fcn.10039c90
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
push 0
call fcn.1003b9d0
add esp, 4
jmp 0x1007bdd3
cmp dword [0x1019ff34], ebx
jne 0x1007bdd3
cmp byte [0x1012d412], bl
jne 0x1007bdd3
cmp dword [0x33cbdd0], 0
jne 0x1007bdd3
cmp byte [0x101c041c], 0
jne 0x1007bdd3
mov ecx, dword [0x1019ff38]
mov edx, dword [0x101a46dc]
imul ecx, ecx, 0x3e8
mov eax, dword [0x100eaf2c]
push 0x1007aad0
push ecx
add edx, 0x5a
push edx
push eax
mov byte [0x101c041c], bl
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [0x1019ff3c], ebx
jne 0x1007be53
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101c046c]
cmp eax, 0xbb8
jb 0x1007be53
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101c046c], eax
call fcn.1003b2b0
mov eax, dword [0x35f30a0]
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
lea esi, [eax + 0x53c]
mov ebx, 0xf
mov eax, dword [esi]
test eax, eax
je 0x1007be4d
cmp dword [eax + 0xe00], 0x32
jne 0x1007be4d
movzx ecx, word [eax + 0xf64]
cmp ecx, 0x50
jge 0x1007be4d
push ecx
add eax, 0x64
push eax
lea ecx, [ebp - 0x38]
push 0x100a1ec8
push ecx
call edi
lea edx, [ebp - 0x38]
push edx
push 3
call fcn.100397c0
add esp, 0x18
add esi, 4
dec ebx
jne 0x1007be14
mov edi, 0xfb9e9a
cmp byte [edi - 2], 0
je 0x1007bed1
mov ecx, 0x101c0454
xor esi, esi
call fcn.10001240
test eax, eax
jle 0x1007beb8
mov edi, edi
mov eax, dword [0x101c0454]
mov ecx, dword [eax + esi*4]
mov eax, edi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1007bea0
test dl, dl
je 0x1007be9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1007bea0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1007be80
xor eax, eax
jmp 0x1007bea5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1007bed1
mov ecx, 0x101c0454
inc esi
call fcn.10001240
cmp esi, eax
jl 0x1007be70
push edi
mov ecx, 0x101c0454
call fcn.10001160
mov ecx, dword [edi + 0x1e]
push ecx
mov ecx, 0x101c0460
call fcn.100011e0
add edi, 0x1cc
lea edx, [edi - 2]
cmp edx, 0x110ad38
jl 0x1007be58
cmp byte [0x1012d3fa], 0
mov edi, dword [0x361f6dc]
jne 0x1007beff
push 0
call fcn.10046fa0
add esp, 4
cmp dword [0x1019fe64], 1
jne 0x1007c0da
cmp byte [0x1012d3fa], 0
jne 0x1007c0da
cmp dword [0x1012d3e4], 0
jne 0x1007c0da
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov esi, edx
shr esi, 6
mov edx, esi
sub edx, dword [0x1012d394]
cmp edx, dword [0x10192ea8]
jl 0x1007bf72
push 1
call fcn.10046fa0
push 0
mov dword [0x1012d394], esi
call fcn.10060310
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
xor esi, esi
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.10006ba0
add esp, 8
mov ecx, 0x1009e394
lea eax, [ebp - 0x28]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1007bfb0
test dl, dl
je 0x1007bfac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1007bfb0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1007bf90
xor eax, eax
jmp 0x1007bfb5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1007c0c0
mov ecx, 0x1009e364
lea eax, [ebp - 0x28]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1007bfe5
test dl, dl
je 0x1007bfe1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1007bfe5
add eax, 2
add ecx, 2
test dl, dl
jne 0x1007bfc5
xor eax, eax
jmp 0x1007bfea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1007c0c0
mov ecx, 0x1009e358
lea eax, [ebp - 0x28]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1007c020
test dl, dl
je 0x1007c01c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1007c020
add eax, 2
add ecx, 2
test dl, dl
jne 0x1007c000
xor eax, eax
jmp 0x1007c025
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1007c0c0
mov ecx, 0x1009e370
lea eax, [ebp - 0x28]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1007c055
test dl, dl
je 0x1007c051
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1007c055
add eax, 2
add ecx, 2
test dl, dl
jne 0x1007c035
xor eax, eax
jmp 0x1007c05a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1007c0c0
mov ecx, 0x1009e37c
lea eax, [ebp - 0x28]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1007c086
test dl, dl
je 0x1007c082
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1007c086
add eax, 2
add ecx, 2
test dl, dl
jne 0x1007c066
xor eax, eax
jmp 0x1007c08b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1007c0c0
mov ecx, 0x1009e34c
lea eax, [ebp - 0x28]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1007c0b7
test dl, dl
je 0x1007c0b3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1007c0b7
add eax, 2
add ecx, 2
test dl, dl
jne 0x1007c097
xor eax, eax
jmp 0x1007c0bc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1007c0d0
lea ecx, [ebp - 0x28]
push ecx
call fcn.10006cf0
add esp, 4
test eax, eax
je 0x1007c10e
inc esi
cmp esi, 0xa
jl 0x1007bf74
cmp dword [0x1019fe68], 1
jne case.default.0x1007c107
mov edx, dword [0x361f6dc]
cmp dword [edx + 0x2984], 0
jne case.default.0x1007c107
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1012d210], eax
mov eax, dword [0x1019fe6c]
cmp eax, 4
ja case.default.0x1007c107
jmp dword [eax*4 + 0x1007c1fc]
pop edi
pop esi
mov dword [0x1012d394], 0xffff8ad0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
push 0
push 0x92c0d
jmp 0x1007c154
push 0
push 0x92c0e
jmp 0x1007c154
push 0
push 0x92c0f
jmp 0x1007c154
push 0
push 0xf468d
jmp 0x1007c154
push 0
push 0xf468e
call fcn.10039c90
add esp, 8
mov esi, 1
cmp dword [0x1019fe70], esi
jne 0x1007c1d5
lea eax, [edi + 0x483c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1007c172
sub eax, edx
je 0x1007c1d5
cmp byte [edi + 0x489c], cl
jne 0x1007c1d5
push 0x32
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x10196a5c
call sub.mfc100.dll_Ordinal_6969
mov ecx, 0x1009b258
lea eax, [ebp - 0x38]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1007c1c0
test dl, dl
je 0x1007c1bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1007c1c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1007c1a0
xor eax, eax
jmp 0x1007c1c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1007c1d5
lea ecx, [ebp - 0x38]
push ecx
call fcn.10039b00
add esp, 4
cmp dword [0x1019fe74], esi
jne 0x1007c1eb
cmp dword [0x33d38c8], 0
jne 0x1007c1eb
call fcn.10039e80
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10085dc6
mov esp, ebp
pop ebp
ret