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

Disassembly:
mov eax, 0x268edf0a
call fcn.268eb4dc
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
cmp dword [ebx], esi
push edi
je 0x2687b4d5
mov ecx, dword [0x2692af68]
cmp ecx, esi
je 0x2687b4d5
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax]
cmp eax, esi
jne 0x2687b4bb
xor eax, eax
jmp 0x2687b4ca
mov ecx, dword [eax]
push eax
call dword [ecx + 0x354]
mov ecx, dword [0x2692af68]
mov edx, dword [ecx]
push ebx
push 1
push eax
call dword [edx + 0xc]
jmp 0x2687b4d8
mov edi, dword [ebp + 8]
push 0x238
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x2687b4fa
push eax
call fcn.268d04dd
mov ebx, eax
mov dword [ebp - 0x18], ebx
jmp 0x2687b4ff
mov dword [ebp - 0x18], esi
mov ebx, esi
or dword [ebp - 4], 0xffffffff
cmp ebx, esi
jne 0x2687b51e
push 0x138a9
push edi
mov ebx, 0x268f3f58
call fcn.268c708f
pop ecx
pop ecx
jmp 0x2687b8ec
mov ecx, dword [ebp + 0x10]
test cl, 1
push 3
pop eax
mov dword [ebp - 0x10], 0x40000000
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], 0x10000000
je 0x2687b544
mov dword [ebp - 0x10], 0x80000000
mov dword [ebp - 0x30], ecx
and dword [ebp - 0x30], 2
je 0x2687b554
mov dword [ebp - 0x10], 0xc0000000
mov edx, ecx
and edx, eax
cmp dl, 3
jne 0x2687b564
mov dword [ebp - 0x10], 0xc0000000
cmp ecx, 0x2000
jne 0x2687b573
mov dword [ebp - 0x10], 0xc0000000
cmp ecx, 0x1000
jne 0x2687b582
mov dword [ebp - 0x10], 0xc0000000
mov dword [ebp - 0x34], ecx
and dword [ebp - 0x34], 0x200
je 0x2687b595
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x38], ecx
and dword [ebp - 0x38], 0x100
push 4
pop edx
je 0x2687b5a7
mov dword [ebp - 0x24], edx
mov eax, 0x4000000
test eax, ecx
je 0x2687b5b3
mov dword [ebp - 0x2c], eax
test dl, cl
je 0x2687b5be
mov dword [ebp - 0x20], 2
test cl, 8
je 0x2687b5ca
mov dword [ebp - 0x20], 1
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x2687b5d6
mov dword [ebp - 0x20], esi
cmp ecx, esi
jne 0x2687b5e1
mov dword [ebp - 0x10], 0xc0000000
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov dword [ebp - 0x28], esi
call fcn.26884adf
test eax, eax
je 0x2687b5fb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
cmp word [eax + 4], 0x10
mov dword [ebp - 0x3c], esi
jne 0x2687b612
call fcn.268e6198
mov dword [ebp - 0x14], eax
jmp 0x2687b650
call fcn.268e618c
push esi
push esi
push 0xffffffffffffffff
push eax
push esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
call esi
mov ebx, eax
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.268eb500
mov dword [ebp - 0x14], esp
push ebx
push dword [ebp - 0x14]
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push 0
push 0
call esi
mov ebx, dword [ebp - 0x18]
xor esi, esi
mov eax, dword [ebx]
lea ecx, [ebp - 0x3c]
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
call fcn.268e7365
cmp eax, 5
jne 0x2687b69a
mov eax, dword [ebp + 0xc]
call fcn.2687fd05
test eax, eax
jne 0x2687b69a
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
push 1
push eax
xor eax, eax
inc eax
call fcn.268e7b07
cmp dword [ebp - 0x1c], esi
jne 0x2687b777
mov eax, dword [edi + 4]
mov eax, dword [eax]
call fcn.26884adf
test eax, eax
je 0x2687b71f
mov esi, dword [ebp - 0x14]
call fcn.268d05c4
test eax, eax
je 0x2687b71d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, dword [edi + 4]
mov eax, dword [eax]
test eax, eax
je 0x2687b71d
call fcn.26884adf
test eax, eax
je 0x2687b71d
sub esi, dword [ebp - 0x28]
lea eax, [ebp - 0xc0]
push esi
push dword [ebp - 0x14]
push 0x13f25
push eax
call fcn.26884a91
add esp, 0x10
mov dword [ebp - 4], 1
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov ecx, dword [eax]
lea edx, [ebp - 0xc0]
push edx
push eax
call dword [ecx + 0x304]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.26878e29
xor esi, esi
cmp dword [ebp - 0x30], 2
jne 0x2687b742
mov eax, dword [ebx]
push esi
push dword [ebp - 0x2c]
mov ecx, ebx
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push 0x40000000
push dword [ebp - 0x14]
call dword [eax + 8]
test eax, eax
jne 0x2687b777
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x74]
mov esi, eax
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
mov ecx, eax
mov eax, esi
call fcn.268e782b
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
push 2
mov ecx, eax
pop eax
call fcn.268e6b73
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
jmp 0x2687b8ec
mov eax, dword [ebp + 0x10]
and eax, 0x800
mov dword [ebp - 0x1c], eax
je 0x2687b78f
mov eax, dword [ebx]
push 2
push esi
push esi
mov ecx, ebx
call dword [eax + 0x24]
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
cmp ecx, esi
je 0x2687b7a9
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, ecx
jmp 0x2687b7ab
xor edi, edi
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [edi], esi
mov dword [edi + 4], ebx
mov dword [edi + 8], esi
cmp word [ecx + 4], 0x10
mov ebx, edi
sete al
mov esi, 0x2692b478
mov dword [edi + 0xc], eax
call fcn.26873803
cmp eax, 0xffffffff
mov dword [ebp - 0x28], eax
jne 0x2687b7ed
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x13895
push dword [ebp + 8]
jmp 0x2687b50d
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [eax]
shr ebx, 0xc
and ebx, 1
push eax
mov dword [ebp + 0xc], ebx
call dword [ecx + 0x3b8]
cmp eax, 1
je 0x2687b82f
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3b8]
cmp eax, 2
je 0x2687b82f
test byte [ebp + 0x11], 0x20
jne 0x2687b82f
mov dword [ebp + 0xc], 1
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x2687b88a
cmp dword [ebp - 0x34], eax
mov dword [edi + 8], 1
jne 0x2687b8a4
cmp dword [ebp - 0x38], eax
je 0x2687b84c
cmp dword [ebp - 0x3c], eax
jne 0x2687b8a4
cmp dword [ebp - 0x1c], eax
jne 0x2687b88a
cmp ebx, eax
je 0x2687b88a
mov esi, dword [ebp - 0x18]
mov edx, dword [esi]
push eax
mov dword [ebp + 0xc], eax
push 2
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call dword [edx + 0x1c]
test eax, eax
je 0x2687b875
cmp word [ebp + 0xc], 0xfeff
je 0x2687b88a
mov eax, dword [esi]
xor ebx, ebx
push ebx
push ebx
push ebx
mov ecx, esi
call dword [eax + 0x24]
test byte [ebp + 0x11], 0x10
jne 0x2687b88a
mov dword [edi + 8], ebx
mov eax, dword [ebp - 0x28]
lea esp, [ebp - 0xcc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp ebx, eax
je 0x2687b88a
mov edi, dword [ebp - 0x18]
mov edx, dword [edi]
push eax
push 2
lea eax, [ebp + 0x10]
push eax
mov ecx, edi
mov dword [ebp + 0x10], 0xfeff
call dword [edx + 0x14]
test eax, eax
jne 0x2687b88a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x74]
mov edi, eax
mov eax, dword [esi]
push esi
call dword [eax + 0x3c]
mov ecx, eax
mov eax, edi
call fcn.268e782b
mov eax, dword [esi]
push esi
call dword [eax + 0x3c]
push 2
mov ecx, eax
pop eax
call fcn.268e6b73
or eax, 0xffffffff
jmp 0x2687b88d