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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x100a69a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x2fb6ac4]
push ebx
push esi
movzx esi, word [eax + 0x14]
push edi
imul esi, esi, 0x1cc
mov al, al
mov cl, cl
mov dl, dl
mov al, al
cmp byte [0x10342a8e], 1
jne 0x10078768
cmp dword [0x103b7dac], 1
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x22b8
jne 0x100786ac
mov ecx, dword [esi + 0x333ab68]
mov eax, dword [0x10112364]
sub ecx, eax
cmp ecx, dword [0x103b7db0]
jl 0x100786b1
lea eax, [esi + 0x333aab2]
push eax
call sub.MSVCR100.dll_strlen
pop ecx
test eax, eax
je 0x1007869f
push 0
push 0
push ebx
push dword [0x103b64b8]
call edi
push 8
push 0x1009ce0c
call fcn.1003a41e
pop ecx
pop ecx
cmp byte [0x10342a8e], 1
jne 0x10078768
mov eax, dword [0x10112364]
cmp dword [0x103b903c], 1
jne 0x100786fd
sub eax, dword [esi + 0x333ab68]
cmp eax, dword [0x103b9044]
jl 0x100786fd
add esi, 0x333aab2
push esi
call sub.MSVCR100.dll_strlen
pop ecx
test eax, eax
je 0x100786f4
push 0
push 0
push ebx
push dword [0x103b64b8]
call edi
push 8
push 0x1009cdf4
call fcn.1003a41e
pop ecx
pop ecx
cmp byte [0x10342a8e], 1
jne 0x10078768
cmp dword [0x103b9038], 1
jne 0x10078737
mov eax, dword [0x103429ec]
cmp eax, dword [0x103b9040]
jl 0x10078737
push 0
push 0
push ebx
push dword [0x103b64b8]
call edi
push 8
push 0x1009cddc
call fcn.1003a41e
cmp byte [0x10342a8e], 1
pop ecx
pop ecx
jne 0x10078768
cmp dword [0x103b9050], 1
jne 0x10078768
mov eax, dword [0x103429e8]
cmp eax, dword [0x103b9054]
jl 0x10078768
push 0
push 0
push ebx
push dword [0x103b64b8]
call edi
push 8
push 0x1009cdc4
call fcn.1003a41e
pop ecx
pop ecx
xor esi, esi
inc esi
cmp dword [0x103b1180], esi
jne 0x1007879b
cmp byte [0x10342a8e], 1
jne 0x1007879b
cmp dword [0x10342a50], 0
jne 0x1007879b
mov eax, dword [0x2fb6ac4]
cmp dword [eax + 0x2630], 0
jne 0x1007879b
push 3
call fcn.1003b1d4
pop ecx
cmp dword [0x103b89b4], esi
je 0x100787b2
cmp dword [0x103b89b8], esi
jne 0x100788d4
xor esi, esi
inc esi
mov eax, dword [0x2f99f14]
and dword [ebp - 0xa0], 0
push 0x32
xor ebx, ebx
add eax, 0x53c
pop edx
mov ecx, dword [eax]
test ecx, ecx
je 0x100787e5
mov ecx, dword [ecx + 0x54]
cmp ecx, 0x5e
jne 0x100787de
mov dword [ebp - 0xa0], esi
jmp 0x100787e5
cmp ecx, 0x60
jne 0x100787e5
mov ebx, esi
add eax, 4
dec edx
jne 0x100787c8
mov esi, dword [0x2f98458]
xor edi, edi
call fcn.10005f8c
test eax, eax
je 0x100788d4
add esi, 0x53c
mov eax, dword [esi]
test eax, eax
je 0x10078820
add eax, 0x64
push eax
push 0x1009cdb8
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x10078832
inc edi
add esi, 4
call fcn.10005f8c
cmp edi, eax
jb 0x10078806
jmp 0x100788d4
or esi, 0xffffffff
cmp dword [0x103b89b4], 1
jne 0x10078882
test ebx, ebx
jne 0x10078882
push 0x64
lea eax, [ebp - 0x9c]
push eax
mov ecx, 0x103b885c
call sub.mfc100.dll_Ordinal_6969
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x14], esi
call fcn.100450fe
pop ecx
pop ecx
cmp dword [ebp - 0x14], esi
je 0x10078882
push dword [ebp - 0x14]
push edi
call fcn.1003b23d
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov dword [0x103d9f1c], eax
cmp dword [0x103b89b8], 1
jne 0x100788d4
cmp dword [ebp - 0xa0], 0
jne 0x100788d4
push 0x64
lea eax, [ebp - 0x9c]
push eax
mov ecx, 0x103b8908
call sub.mfc100.dll_Ordinal_6969
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x14], esi
call fcn.100450fe
pop ecx
pop ecx
cmp dword [ebp - 0x14], esi
je 0x100788d4
push dword [ebp - 0x14]
push edi
call fcn.1003b23d
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov dword [0x103d9f18], eax
xor ebx, ebx
cmp dword [0x103b8858], 1
jne 0x10078951
mov eax, dword [0x2fb6ac4]
cmp dword [eax + 0x51e4], ebx
jne 0x100788f5
cmp dword [eax + 0x2a50], 6
je 0x10078906
cmp dword [eax + 0x47f8], ebx
jne 0x10078951
cmp dword [eax + 0x2a50], 4
jne 0x10078951
xor ebx, ebx
mov esi, 0x103bb43c
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.100060a1
pop ecx
pop ecx
mov ecx, esi
xor edi, edi
call fcn.10001036
test eax, eax
jle 0x10078949
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x103bb43c]
push dword [eax + edi*4]
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x10078982
mov ecx, esi
inc edi
call fcn.10001036
cmp edi, eax
jl 0x10078926
inc ebx
cmp ebx, 0x14
jl 0x1007890d
xor ebx, ebx
cmp dword [0x2f91a04], 0x9ca5
jne 0x1007899c
cmp dword [0x34d1968], ebx
jne 0x10078a14
cmp dword [0x103b89cc], 1
jne 0x10078a14
cmp dword [0x103b89c8], ebx
jne 0x10078993
push 1
jmp 0x10078994
push 1
push dword [ebp - 0xc]
call fcn.100397f3
pop ecx
pop ecx
jmp 0x10078d71
push ebx
call fcn.1003b71b
pop ecx
jmp 0x10078a14
cmp dword [0x103b8844], 1
jne 0x10078a14
cmp byte [0x10342a8e], 1
jne 0x10078a14
push 0x1008c68c
call fcn.10006509
pop ecx
cmp eax, 1
jne 0x100789d6
cmp dword [0x34d1968], ebx
jle 0x100789dc
call fcn.10037deb
push 0x10094408
call fcn.1003892a
pop ecx
cmp dword [0x34d1968], ebx
jne 0x10078a14
cmp byte [0x103d9ec5], 0
jne 0x10078a14
mov eax, dword [0x103b8848]
imul eax, eax, 0x3e8
push 0x1007778b
push eax
mov eax, dword [0x103be1c0]
add eax, 0x5a
push eax
push dword [0x100e04bc]
mov byte [0x103d9ec5], 1
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [0x103b884c], 1
jne 0x10078a8f
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x103d9f14]
cmp eax, 0xbb8
jb 0x10078a8f
call esi
mov dword [0x103d9f14], eax
call fcn.1003afc9
mov eax, dword [0x2f9845c]
push 0xf
lea esi, [eax + 0x53c]
pop edi
mov eax, dword [esi]
cmp eax, ebx
je 0x10078a89
cmp dword [eax + 0xe00], 0x32
jne 0x10078a89
movzx ecx, word [eax + 0xf64]
cmp ecx, 0x50
jge 0x10078a89
push ecx
add eax, 0x64
push eax
lea eax, [ebp - 0x38]
push 0x1009cd9c
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x38]
push eax
push 3
call fcn.10039334
add esp, 0x18
add esi, 4
dec edi
jne 0x10078a4c
mov edi, 0x333aab2
mov esi, 0x103d9efc
cmp byte [edi - 2], 0
je 0x10078ae4
mov ecx, esi
xor ebx, ebx
call fcn.10001036
test eax, eax
jle 0x10078acc
mov eax, dword [0x103d9efc]
push dword [eax + ebx*4]
push edi
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x10078ae4
mov ecx, esi
inc ebx
call fcn.10001036
cmp ebx, eax
jl 0x10078aac
push edi
mov ecx, esi
call fcn.100010dc
push dword [edi + 0xb6]
mov ecx, 0x103d9f08
call fcn.10001186
add edi, 0x1cc
lea eax, [edi - 2]
cmp eax, 0x348b950
jl 0x10078a99
mov eax, dword [0x2fb6ac4]
xor ebx, ebx
inc ebx
xor edi, edi
mov dword [ebp - 0xa0], eax
cmp dword [0x103b8774], ebx
jne 0x10078c9b
cmp dword [0x10342a50], edi
jne 0x10078b88
cmp dword [0x103a9b1c], ebx
jne 0x10078b2b
push 0x1008d874
call fcn.10044cf5
pop ecx
cmp dword [0x103a9b20], ebx
jne 0x10078b3e
push 0x1008d86c
call fcn.10044cf5
pop ecx
cmp dword [0x103a9b24], ebx
jne 0x10078b51
push 0x1008d864
call fcn.10044cf5
pop ecx
cmp dword [0x103a9cf8], ebx
jne 0x10078b64
push 0x100992e0
call fcn.10044cf5
pop ecx
cmp dword [0x103a9cf4], ebx
jne 0x10078b77
push 0x100992e8
call fcn.10044cf5
pop ecx
call fcn.1005d88b
cmp dword [0x103b8774], ebx
jne 0x10078c9b
cmp byte [0x10342a74], 0
jne 0x10078c9b
cmp dword [0x10342a50], edi
jne 0x10078c9b
push edi
call fcn.10045e9f
cmp dword [0x2f91a04], 0x321
pop ecx
jne 0x10078bc8
push dword [0x2fb6ac4]
call fcn.1003a415
pop ecx
test al, al
je 0x10078c9b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov esi, eax
sub eax, dword [0x10342a00]
cmp eax, dword [0x103a99f0]
jb 0x10078bfe
push ebx
call fcn.10045e9f
push edi
mov dword [0x10342a00], esi
call fcn.100606ee
jmp 0x1007898c
xor esi, esi
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.100060a1
lea eax, [ebp - 0x28]
push 0x100985f4
push eax
call sub.MSVCR100.dll_strcmp
add esp, 0x10
test eax, eax
je 0x10078c83
lea eax, [ebp - 0x28]
push 0x100985c4
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x10078c83
lea eax, [ebp - 0x28]
push 0x100985b8
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x10078c83
lea eax, [ebp - 0x28]
push 0x100985d0
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x10078c83
lea eax, [ebp - 0x28]
push 0x100985dc
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x10078c83
lea eax, [ebp - 0x28]
push 0x100985ac
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x10078c91
lea eax, [ebp - 0x28]
push eax
call fcn.100061a6
pop ecx
test eax, eax
je 0x10078ccd
inc esi
cmp esi, 0x14
jl 0x10078c00
cmp dword [0x103b8778], ebx
jne 0x10078d13
mov eax, dword [0x2fb6ac4]
cmp dword [eax + 0x297c], edi
jne 0x10078d13
mov eax, dword [0x103b877c]
sub eax, edi
je 0x10078d06
dec eax
je 0x10078cec
dec eax
je 0x10078ce4
dec eax
je 0x10078cdc
dec eax
jne 0x10078d13
push edi
push 0xf468e
jmp 0x10078d0c
mov dword [0x10342a00], 0xffff8ad0
jmp 0x10078d71
push edi
push 0xf468d
jmp 0x10078d0c
push edi
push 0x92c0f
jmp 0x10078d0c
push edi
push 0x92c0e
call fcn.100397f3
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102e2854], eax
jmp 0x10078d13
push edi
push 0x92c0d
call fcn.100397f3
pop ecx
pop ecx
cmp dword [0x103b8780], ebx
jne 0x10078d5c
mov esi, dword [ebp - 0xa0]
add esi, 0x4834
push esi
call sub.MSVCR100.dll_strlen
pop ecx
test eax, eax
je 0x10078d5c
push 0x32
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x103ae12c
call sub.mfc100.dll_Ordinal_6969
lea eax, [ebp - 0x38]
push esi
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x10078d5c
lea eax, [ebp - 0x38]
push eax
call fcn.1003969c
pop ecx
cmp dword [0x103b8784], ebx
jne 0x10078d71
cmp dword [0x34d9460], edi
jne 0x10078d71
call fcn.100399ad
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10083e24
leave
ret