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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x6efe8d], 0
jne 0x1006a903
cmp byte [edi + 0x6efe8e], 0
jne 0x1006a8f0
push dword [ebp + 0xc]
lea eax, [edi + 0x6efe6c]
push dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1006a8f0
cmp dword [edi + 0x6efe68], 2
jne 0x1006a8f0
lea ebx, [edi + 0x6efe7c]
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006a830
sub ecx, edx
cmp ecx, 3
jb 0x1006ac4f
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006a847
sub ecx, edx
push ecx
push ebx
call fcn.100535b0
test al, al
je 0x1006ac4f
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x6efea4], 0
mov byte [edi + 0x6efe8e], 1
call esi
mov dword [edi + 0x6efea0], eax
call esi
push 0x1f4
mov dword [edi + 0x6efe98], eax
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [edi + 0x6efe68], 1
mov dword [edi + 0x6efeb0], 0
call fcn.100b3430
add esp, 0xc
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x10]
push 2
push eax
call fcn.1004cef0
push 0
lea ecx, [ebp - 0x10]
call fcn.1004d090
push ebx
lea ecx, [ebp - 0x10]
call fcn.1004d110
lea ecx, [ebp - 0x10]
call fcn.1004d1e0
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.10052a50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [edi + 0x6efe68], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [edi + 0x6ef884]
call fcn.1005e120
test al, al
je 0x1006a926
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1005e320
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, edi
call fcn.1006a100
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test al, al
jne 0x1006ab52
mov eax, dword [edi + 0x6effb0]
cmp eax, 1
jne 0x1006aa31
mov eax, dword [edi + 0x6f0354]
cmp byte [eax + 4], 0
jne 0x1006a996
cmp byte [eax + 5], 0
jne 0x1006a996
push esi
push ebx
lea eax, [edi + 0x6efe04]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1006a996
cmp dword [edi + 0x6efe60], 2
jne 0x1006a996
lea ecx, [edi + 0x6ef884]
call fcn.1005e090
mov dword [edi + 0x6efe60], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push ebx
lea eax, [edi + 0x6efe14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1006ab52
cmp dword [edi + 0x6efe64], 2
jne 0x1006ab52
push 0x1f4
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100b3430
add esp, 0xc
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x10]
push 2
push eax
call fcn.1004cef0
push 3
lea ecx, [ebp - 0x10]
call fcn.1004d090
mov eax, dword [edi + 0x6f0354]
lea ecx, [ebp - 0x10]
cmp byte [eax + 4], 0
sete al
movzx eax, al
push eax
call fcn.1004cf70
lea ecx, [ebp - 0x10]
call fcn.1004d1e0
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.10052a50
mov byte [edi + 0x6efe92], 1
mov dword [edi + 0x6efe64], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 2
jne 0x1006ab52
mov eax, dword [edi + 0x6f0354]
cmp byte [eax + 5], 0
jne 0x1006aace
push esi
push ebx
lea eax, [edi + 0x6efe2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1006aace
cmp dword [edi + 0x6efe24], 2
jne 0x1006aace
push 0x1f4
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100b3430
add esp, 0xc
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x10]
push 2
push eax
call fcn.1004cef0
push 4
lea ecx, [ebp - 0x10]
call fcn.1004d090
push 1
lea ecx, [ebp - 0x10]
call fcn.1004cf70
lea ecx, [ebp - 0x10]
call fcn.1004d1e0
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.10052a50
mov byte [edi + 0x6efe93], 1
mov dword [edi + 0x6efe24], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push ebx
lea eax, [edi + 0x6efe3c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1006ab52
cmp dword [edi + 0x6efe28], 2
jne 0x1006ab52
push 0x1f4
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100b3430
add esp, 0xc
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x10]
push 2
push eax
call fcn.1004cef0
push 4
lea ecx, [ebp - 0x10]
call fcn.1004d090
push 0
lea ecx, [ebp - 0x10]
call fcn.1004cf70
lea ecx, [ebp - 0x10]
call fcn.1004d1e0
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.10052a50
mov byte [edi + 0x6efe93], 1
mov dword [edi + 0x6efe28], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push ebx
lea eax, [edi + 0x6efe50]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1006abd2
cmp dword [edi + 0x6efe4c], 2
jne 0x1006abd2
push str.Trade
push str.Leaving_trade_nPlease_wait_a_moment...
push ecx
mov ecx, dword [0x1014839c]
call fcn.10052de0
push 0x1f4
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100b3430
add esp, 0xc
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x10]
push 2
push eax
call fcn.1004cef0
push 5
lea ecx, [ebp - 0x10]
call fcn.1004d090
lea ecx, [ebp - 0x10]
call fcn.1004d1e0
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.10052a50
mov dword [edi + 0x6efe4c], 1
push esi
lea ecx, [edi + 0x6efde4]
push ebx
lea eax, [edi + 0x940]
mov dword [ebp - 0x14], ecx
push ecx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1006abfe
push esi
push ebx
lea ecx, [edi + 0x940]
call fcn.1005d060
push esi
lea ecx, [edi + 0x6efdf4]
lea eax, [edi + 0x3c4cc0]
mov dword [ebp - 0x1c], ecx
mov edi, dword [sym.imp.USER32.dll_PtInRect]
push ebx
push ecx
mov dword [ebp + 0xc], eax
call edi
test eax, eax
je 0x1006ac29
mov ecx, dword [ebp + 0xc]
push esi
push ebx
call fcn.1005a5b0
push esi
push ebx
push dword [ebp - 0x14]
call edi
test eax, eax
jne 0x1006ac3c
mov ecx, dword [ebp - 0x18]
call fcn.1005d700
push esi
push ebx
push dword [ebp - 0x1c]
call edi
test eax, eax
jne 0x1006ac4f
mov ecx, dword [ebp + 0xc]
call fcn.1005a8f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8