Function at 0x100782af
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 [0x36208e4]
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 0x10078407
cmp dword [0x103b7dac], 1
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x22b8
jne 0x1007834b
mov ecx, dword [esi + 0xfbafd0]
mov eax, dword [0x10112364]
sub ecx, eax
cmp ecx, dword [0x103b7db0]
jl 0x10078350
lea eax, [esi + 0xfbaf1a]
push eax
call sub.MSVCR100.dll_strlen
pop ecx
test eax, eax
je 0x1007833e
push 0
push 0
push ebx
push dword [0x103b64b8]
call edi
push 8
push 0x1009cd2c
call fcn.1003a31e
pop ecx
pop ecx
cmp byte [0x10342a8e], 1
jne 0x10078407
mov eax, dword [0x10112364]
cmp dword [0x103b903c], 1
jne 0x1007839c
sub eax, dword [esi + 0xfbafd0]
cmp eax, dword [0x103b9044]
jl 0x1007839c
add esi, 0xfbaf1a
push esi
call sub.MSVCR100.dll_strlen
pop ecx
test eax, eax
je 0x10078393
push 0
push 0
push ebx
push dword [0x103b64b8]
call edi
push 8
push 0x1009cd14
call fcn.1003a31e
pop ecx
pop ecx
cmp byte [0x10342a8e], 1
jne 0x10078407
cmp dword [0x103b9038], 1
jne 0x100783d6
mov eax, dword [0x103429ec]
cmp eax, dword [0x103b9040]
jl 0x100783d6
push 0
push 0
push ebx
push dword [0x103b64b8]
call edi
push 8
push 0x1009ccfc
call fcn.1003a31e
cmp byte [0x10342a8e], 1
pop ecx
pop ecx
jne 0x10078407
cmp dword [0x103b9050], 1
jne 0x10078407
mov eax, dword [0x103429e8]
cmp eax, dword [0x103b9054]
jl 0x10078407
push 0
push 0
push ebx
push dword [0x103b64b8]
call edi
push 8
push 0x1009cce4
call fcn.1003a31e
pop ecx
pop ecx
xor esi, esi
inc esi
cmp dword [0x103b1180], esi
jne 0x1007843a
cmp byte [0x10342a8e], 1
jne 0x1007843a
cmp dword [0x10342a50], 0
jne 0x1007843a
mov eax, dword [0x36208e4]
cmp dword [eax + 0x2634], 0
jne 0x1007843a
push 3
call fcn.1003b0d4
pop ecx
cmp dword [0x103b89b4], esi
je 0x10078451
cmp dword [0x103b89b8], esi
jne 0x10078573
xor esi, esi
inc esi
mov eax, dword [0x35f5df4]
and dword [ebp - 0xa0], 0
push 0x32
xor ebx, ebx
add eax, 0x53c
pop edx
mov ecx, dword [eax]
test ecx, ecx
je 0x10078484
mov ecx, dword [ecx + 0x54]
cmp ecx, 0x5e
jne 0x1007847d
mov dword [ebp - 0xa0], esi
jmp 0x10078484
cmp ecx, 0x60
jne 0x10078484
mov ebx, esi
add eax, 4
dec edx
jne 0x10078467
mov esi, dword [0x35f42ac]
xor edi, edi
call fcn.10005f4e
test eax, eax
je 0x10078573
add esi, 0x53c
mov eax, dword [esi]
test eax, eax
je 0x100784bf
add eax, 0x64
push eax
push 0x1009ccd8
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x100784d1
inc edi
add esi, 4
call fcn.10005f4e
cmp edi, eax
jb 0x100784a5
jmp 0x10078573
or esi, 0xffffffff
cmp dword [0x103b89b4], 1
jne 0x10078521
test ebx, ebx
jne 0x10078521
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.10045057
pop ecx
pop ecx
cmp dword [ebp - 0x14], esi
je 0x10078521
push dword [ebp - 0x14]
push edi
call fcn.1003b13d
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov dword [0x103d9f14], eax
cmp dword [0x103b89b8], 1
jne 0x10078573
cmp dword [ebp - 0xa0], 0
jne 0x10078573
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.10045057
pop ecx
pop ecx
cmp dword [ebp - 0x14], esi
je 0x10078573
push dword [ebp - 0x14]
push edi
call fcn.1003b13d
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov dword [0x103d9f10], eax
cmp dword [0x103b8858], 1
jne 0x100785ee
mov eax, dword [0x36208e4]
cmp dword [eax + 0x51fc], 0
jne 0x10078593
cmp dword [eax + 0x2a58], 6
je 0x100785a5
cmp dword [eax + 0x4800], 0
jne 0x100785ee
cmp dword [eax + 0x2a58], 4
jne 0x100785ee
xor ebx, ebx
mov esi, 0x103bb43c
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.1000601d
pop ecx
pop ecx
mov ecx, esi
xor edi, edi
call fcn.100011d9
test eax, eax
jle 0x100785e8
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 0x10078623
mov ecx, esi
inc edi
call fcn.100011d9
cmp edi, eax
jl 0x100785c5
inc ebx
cmp ebx, 0x14
jl 0x100785ac
cmp dword [0x35ed708], 0x9ca5
jne 0x10078637
xor eax, eax
cmp dword [0x33ccfd8], eax
jne 0x10078688
cmp dword [0x103b89cc], 1
jne 0x10078688
cmp dword [0x103b89c8], eax
jne 0x10078634
push 1
call fcn.1003b629
pop ecx
jmp 0x10078688
push 1
push dword [ebp - 0xc]
call fcn.100396f3
pop ecx
pop ecx
jmp 0x100789e5
push eax
jmp 0x1007861b
cmp dword [0x103b8844], 1
jne 0x10078688
cmp byte [0x10342a8e], 1
jne 0x10078688
cmp dword [0x33ccfd8], 0
jne 0x10078688
cmp byte [0x103d9ebd], 0
jne 0x10078688
mov eax, dword [0x103b8848]
imul eax, eax, 0x3e8
push 0x10077443
push eax
mov eax, dword [0x103be1bc]
add eax, 0x5a
push eax
push dword [0x100e04bc]
mov byte [0x103d9ebd], 1
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [0x103b884c], 1
jne 0x10078703
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x103d9f0c]
cmp eax, 0xbb8
jb 0x10078703
call esi
mov dword [0x103d9f0c], eax
call fcn.1003aec9
mov eax, dword [0x35f42a8]
push 0xf
lea esi, [eax + 0x53c]
pop edi
mov eax, dword [esi]
test eax, eax
je 0x100786fd
cmp dword [eax + 0xe00], 0x32
jne 0x100786fd
movzx ecx, word [eax + 0xf64]
cmp ecx, 0x50
jge 0x100786fd
push ecx
add eax, 0x64
push eax
lea eax, [ebp - 0x38]
push 0x1009ccbc
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x38]
push eax
push 3
call fcn.10039234
add esp, 0x18
add esi, 4
dec edi
jne 0x100786c0
mov edi, 0xfbaf1a
mov esi, 0x103d9ef4
cmp byte [edi - 2], 0
je 0x10078758
mov ecx, esi
xor ebx, ebx
call fcn.100011d9
test eax, eax
jle 0x10078740
mov eax, dword [0x103d9ef4]
push dword [eax + ebx*4]
push edi
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x10078758
mov ecx, esi
inc ebx
call fcn.100011d9
cmp ebx, eax
jl 0x10078720
push edi
mov ecx, esi
call fcn.1000110a
push dword [edi + 0xb6]
mov ecx, 0x103d9f00
call fcn.10001182
add edi, 0x1cc
lea eax, [edi - 2]
cmp eax, 0x110bdb8
jl 0x1007870d
mov eax, dword [0x36208e4]
xor ebx, ebx
inc ebx
xor edi, edi
mov dword [ebp - 0xa0], eax
cmp dword [0x103b8774], ebx
jne 0x1007890f
cmp dword [0x10342a50], edi
jne 0x100787fc
cmp dword [0x103a9b1c], ebx
jne 0x1007879f
push 0x1008d854
call fcn.10044c4e
pop ecx
cmp dword [0x103a9b20], ebx
jne 0x100787b2
push 0x1008d84c
call fcn.10044c4e
pop ecx
cmp dword [0x103a9b24], ebx
jne 0x100787c5
push 0x1008d844
call fcn.10044c4e
pop ecx
cmp dword [0x103a9cf8], ebx
jne 0x100787d8
push 0x100992a0
call fcn.10044c4e
pop ecx
cmp dword [0x103a9cf4], ebx
jne 0x100787eb
push 0x100992a8
call fcn.10044c4e
pop ecx
call fcn.1005d81f
cmp dword [0x103b8774], ebx
jne 0x1007890f
cmp byte [0x10342a74], 0
jne 0x1007890f
cmp dword [0x10342a50], edi
jne 0x1007890f
push edi
call fcn.10045df8
cmp dword [0x35ed708], 0x321
pop ecx
jne 0x1007883c
push dword [0x36208e4]
call fcn.1003a315
pop ecx
test al, al
je 0x1007890f
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 0x10078872
push ebx
call fcn.10045df8
push edi
mov dword [0x10342a00], esi
call fcn.10060655
jmp 0x1007862d
xor esi, esi
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.1000601d
lea eax, [ebp - 0x28]
push 0x100985b4
push eax
call sub.MSVCR100.dll_strcmp
add esp, 0x10
test eax, eax
je 0x100788f7
lea eax, [ebp - 0x28]
push 0x10098584
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x100788f7
lea eax, [ebp - 0x28]
push 0x10098578
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x100788f7
lea eax, [ebp - 0x28]
push 0x10098590
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x100788f7
lea eax, [ebp - 0x28]
push 0x1009859c
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x100788f7
lea eax, [ebp - 0x28]
push 0x1009856c
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x10078905
lea eax, [ebp - 0x28]
push eax
call fcn.10006122
pop ecx
test eax, eax
je 0x10078941
inc esi
cmp esi, 0x14
jl 0x10078874
cmp dword [0x103b8778], ebx
jne 0x10078987
mov eax, dword [0x36208e4]
cmp dword [eax + 0x2984], edi
jne 0x10078987
mov eax, dword [0x103b877c]
sub eax, edi
je 0x1007897a
dec eax
je 0x10078960
dec eax
je 0x10078958
dec eax
je 0x10078950
dec eax
jne 0x10078987
push edi
push 0xf468e
jmp 0x10078980
mov dword [0x10342a00], 0xffff8ad0
jmp 0x100789e5
push edi
push 0xf468d
jmp 0x10078980
push edi
push 0x92c0f
jmp 0x10078980
push edi
push 0x92c0e
call fcn.100396f3
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102e2854], eax
jmp 0x10078987
push edi
push 0x92c0d
call fcn.100396f3
pop ecx
pop ecx
cmp dword [0x103b8780], ebx
jne 0x100789d0
mov esi, dword [ebp - 0xa0]
add esi, 0x483c
push esi
call sub.MSVCR100.dll_strlen
pop ecx
test eax, eax
je 0x100789d0
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 0x100789d0
lea eax, [ebp - 0x38]
push eax
call fcn.1003959c
pop ecx
cmp dword [0x103b8784], ebx
jne 0x100789e5
cmp dword [0x33d4ad0], edi
jne 0x100789e5
call fcn.100398ad
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10083a34
leave
ret